How do I set up my email?Posted 07/03/22 by Dan Vis
Basically, to send email from your website, you need to have access to an email account with smtp service. Then just program your mail server information into your site, so it knows where to direct mail it wants to send out.
Here's the steps I recommend taking to get this all working:
Get Your Mail AccountGo to Directnic.com and click that tab that says Products, and then select DirectNic Email. Scroll, down and select the $10/year plan and proceed to payment.
Once that is done, you'll need to create your site email address.
1) Login if you are not, and go to the Dashboard
2) Look for the small box that says email plans and click "Manage".
3) Then click the Add Email button.
4) Enter an email and password (type 2x) then set the quota to 1000 MB. (IE, 1 Gig).
Once you save that information you'll have your account. It takes a second to setup. Then, when it is ready, click the link that says "Setup Mail Client". Here's where you find the information you need to program into your site.
Take a notepad and jot down the following:
1) email address.
2) the password you entered.
3) the incoming server.
4) the POP3 port (don't worry about the IMAP server).
5) the outgoing server
6) the SMTP port
Incoming MailNow before going to your site, let's talk about incoming mail--such as when someone responds to an email you send out. How are you going to get that.
You have a couple options. One is to log in to directnec to check your mail. (Notice the access webmail link on this page). But that's not very convenient.
Another option is to setup a forwarder. That's very easy--just click the forward link (same page) and enter your personal email. All incoming mail will start forwarding immediately.
But my preference is to go into gmail and have it pull my mail in automatically. To do this you have to get into the innards of Gmail. Basically, go to gmail and click the gear icon toward the top right of the page, and then click "see all settings" and then "Accounts and Import". There you'll see a section to check mail from other account and a link to add a new account. Just follow the instructions using the information you jotted down above. If you use something other than gmail, your steps should be similar.
Once you have everything entered, try sending an email from your personal account to your new account to make sure it is working. If you get your email, you are good to go!
When you set up your account at mailerlite, you are going to want to make sure you use the same account email. Which means you'll need to be able to confirm the address.
Outgoing MailNow, as for enabling email on your site, you just need to add the following fields into your site config page from the information you collected:
sitemailname: Your Name
sitemailport: SMTP port
(Note: if your user name is not your email address you can also set sitemailaccount).
You also need to enable the mailer module. To do that, add this line down at the bottom of the site.config page
If you wish, you can also limit this module to certain pages, by altering it to look something like this:
It is more secure (in terms of preventing unauthorized email from being sent out) but you also have to remember to enable it on each new page you want to send messages from.
TestingOnce that is done, it's time to test your outgoing mail. Try going to site.email in your site and use the test feature to send yourself a message. If it comes through, you are good to go here as well.
Actually, I haven't yet uploaded the site.email page--will do that shortly. So if you don't see it, check back in an hour! :)
Join UsTo read more posts, or to leave a comment, join our FREE community...