Sendgrid for transactional emails only
Hello.
I read a tutorial on this forum about setting up Sendgrid as a smarthost in Exim so that all outgoing mail would be delivered via Sendgrid.
But as I understand, this will make *all* mail go through Sendgrid. I'd like to use Sendgrid only for transactional mails sent by PHP (Wordpress) websites. Is that possible?
I know I can use an SMTP plugin on Wordpress and then set up my Sendgrid account there, but I'm looking to avoid that if possible as this would make my life easier when setting up new websites, and also would be one less thing for me to worry about.
-
You can set an smtp server for php mail function in the ini however it does not support authentication so I don't know of a way to do that with sendgrid specifically. 0 -
That tutorial would indeed set all mail to be routed through sendgrid, I don't know of a way to do what you're requesting but you might find more information by checking with sendgrid here: SendGrid Documentation 0 -
Yeah, I already read some docs over at Sendgrid, they provide a very detailed explanation on how to set up EXIM but as I stated this would make *all* mail go through Sendgrid. I would like to send *only* mail originating from PHP scripts. I'll investigate GOT's suggestion of changing PHP.INI. 0
Please sign in to leave a comment.
Comments
3 comments