Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Another way to send mails?

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1252 Views
  • nomen
    Avatar
    Community Member
    52 Posts

    Another way to send mails? Link to this post

    Hi all:

       I _config.php y configure the mail in this way:
       
       ini_set("SMTP", "smtp.example.com");
       Email::setAdminEmail('gastondoa@example.com');
       

       Now i can send mails.
       But it doesn´t send mails correctly because the mail goes to the spam folder in destination.
       If I understand correctly SS uses the PHP mail function to send mails. And this function uses sendmail application.
       The problem is that sendmail sends the mail directly to destination and not through the mail server. As a result, the destination mail server treats it as suspicious.
       Do I forgot something in the setup?
       If this is the only way to send mails, i would like to know how easy should be to substitute the standard mail function with PHP Mailer .
       I think this is very easy to use and good product.
       
       Thanks in advance and excuse me for my poor english

    1252 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.