Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SMTP authentication?

Go to End

5 Posts   2209 Views


Community Member, 130 Posts

22 September 2010 at 4:35am

ss 2.4.0

I've been looking through the forums for any information on setting up SMTP authentication for shared hosting environments. Other than a few posts that talk about hacking the core, I'm coming up empty on this.

Is there a way to set SMTP authentication without resorting to core hacks? i.e., _config.php

On that note...if there isn't, may I suggest that as a future feature?



Community Member, 130 Posts

23 September 2010 at 5:41am

Edited: 23/09/2010 5:53am

sorry to bump my own post...

SS: 2.4.0
Userforms: 0.3.0

If anyone can help I'd greatly appreciate it. Mail is being delivered to the servers default junk mailbox instead of the recipient email address specified in the userforms page. Presumably because the host requires SMTP authentication

from localhost.localdomain []

  ----- The following addresses had permanent fatal errors -----
   (reason: 553 sorry, your mail was administratively denied. (#5.7.1))

Am I correct that SS just uses the PHP mail() function to send mail? That still uses the sendmail function though, right?

Also want to point out that this doesn't work in 2.4+.

EDIT: Emails sent to outside (not local) addresses work fine.Not sure about this whole post now. Grrr...



Community Member, 81 Posts

23 September 2010 at 6:44pm

Edited: 23/09/2010 6:44pm


there is a module... but haven't tried it yet.


Community Member, 130 Posts

24 September 2010 at 7:56am

I will test and report back. Thanks!



Community Member, 70 Posts

1 June 2011 at 4:22pm

Just to confirm that the module works with 2.4.5 for sending email via SMTP (using a Google apps gmail)