• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Amazon SES With Xenforo

TheBigK

Well-known member
#1
Yesterday, I stumbled upon Amazon SES which now has SMTP gateway. I'm planning to use it with Xenforo to handle all the emails; so that the delivery is always right. I, however have basic questions -
  • To the best of my knowledge, I only need to enter the SMTP settings provided by Amazon in 'Email Options' in XF ACP. Is that enough?
  • Can I use it to send notifications or monthly newsletter to all the members who have opted to receive emails from administrator? Would that be spamming? We've over 90k members who've opted to receive emails from admins; but my estimate is that 10-20k of them aren't active. We didn't have 'email' verification enabled in our earlier days.
Thank you for your time in advance :)
 

Jake Bunce

XenForo moderator
Staff member
#2
To the best of my knowledge, I only need to enter the SMTP settings provided by Amazon in 'Email Options' in XF ACP. Is that enough?
Yep. That's it.

Can I use it to send notifications or monthly newsletter to all the members who have opted to receive emails from administrator? Would that be spamming? We've over 90k members who've opted to receive emails from admins; but my estimate is that 10-20k of them aren't active. We didn't have 'email' verification enabled in our earlier days.
Yes. The mass mailer goes through the SMTP server:

Admin CP -> Users -> Email Users

It's spam only if your users think it's unsolicited.
 

TheBigK

Well-known member
#3
It's spam only if your users think it's unsolicited.
Hi Jake;
Thank you for your quick response. My concern is, XenForo will try to send all the mail at once (in my case, with select newsgroups the number is 50k) and not sure whether it's *right* to send that volume in one go. What do you think? I read Amazon SES documentation but couldn't find a mention of how many emails I can send.

How does XF handle the bulk mail send? Especially when I'm using external mail server?
 

Jake Bunce

XenForo moderator
Staff member
#4
XenForo doesn't do any queuing. It sends all of the emails at once. You need to check with your mail server to ensure you don't exceed their sending limits.
 

TheBigK

Well-known member
#7
Possible Bug!

I switched to SMTP in email options and entered the SMTP details provided by Amazon. I've double checked username/password & server settings and everything is right. After switching to SMTP; if I start a conversation; the conversation does not get stored (the loader keeps on rotating). Server error log shows -

Code:
Zend_Mail_Protocol_Exception: Could not read from email-smtp.us-east-1.amazonaws.com - library/Zend/Mail/Protocol/Abstract.php:385
Can someone check? Is it just a simple time-out?
 

Jake Bunce

XenForo moderator
Staff member
#8
The SMTP connection is failing. Conversations can send out email notifications which is why the submission is lagging on that error.

You need to confirm the SMTP info. That's all.
 

TheBigK

Well-known member
#9
The SMTP connection is failing. Conversations can send out email notifications which is why the submission is lagging on that error.

You need to confirm the SMTP info. That's all.
SMTP settings are perfect. Amazon provides all the settings for SMTP that I can directly enter into the XF email options. I've triple checked; but doesn't seem to work. Am I missing something obvious?
 

Jake Bunce

XenForo moderator
Staff member
#10
Does Amazon SES allow a direct SMTP connection? A Google search leads me to believe that it does not. I see people using special gateways to enable SMTP through regular email clients:

 

Andy.N

Well-known member
#13
It's pretty cheap to me. I have been eyeing it to replace the Google App email that we use for notification.
I have timeout/fail connection from Google mail server and a 500 email/day limit so I hope Amazon SES works better.

For newsletter, I use Mailchimp service.
 

TheBigK

Well-known member
#14
It's pretty cheap to me. I have been eyeing it to replace the Google App email that we use for notification.
I have timeout/fail connection from Google mail server and a 500 email/day limit so I hope Amazon SES works better.

For newsletter, I use Mailchimp service.
But now you can use Amazon! Mailchimp is expensive!
 

Andy.N

Well-known member
#19
They'll provide you with the SMTP settings. Just enter them in your XF SMTP settings in Admin CP. Works fine.
I did exactly that.
Select SSL, port 465, the mail server, download STMP username (a bunch of random letters) and password (a bunch of random letters).

I got a lot of XF errors on the XF ACP server logs that state "Authentication credentials invalid" and "Authentication required".

Do you know what's up? I requested production and got it. I verified sender, sent test email out fine.
 

TheBigK

Well-known member
#20
I did exactly that.
Select SSL, port 465, the mail server, download STMP username (a bunch of random letters) and password (a bunch of random letters).

I got a lot of XF errors on the XF ACP server logs that state "Authentication credentials invalid" and "Authentication required".

Do you know what's up? I requested production and got it. I verified sender, sent test email out fine.
Not sure. The settings worked for me fine. Are you using the username & password provided by the system?