All outgoing email via SendGrid question
I've implemented SendGrid for Exim using this doc:
Exim 4 configuration for SendGrid - SendGrid Documentation | SendGrid
The issue is that mail that I send from OutLook is routed through SendGrid but any mail send from website forms from sites on the server are not routing through SendGrid. The emails from the website forms are still being sent, but from the server and not SendGrid.
I need all outgoing mail going through SendGrid.
-
When you send email via website form I guess you are using phpmail function from the server to send email, this something you will have to make changes in website form setting. 0 -
Hello, You may find the following third-party URL helpful: Configrue Exim Sendmail for relay Information on making advanced Exim changes is available at: Exim Configuration Manager - Documentation - cPanel Documentation Thank you. 0 -
Can I just tell php to use exim for sending mail? 0 -
When you send email via website form I guess you are using phpmail function from the server to send email, this something you will have to make changes in website form setting.
Looking for a server wide setting.0 -
Can I just tell php to use exim for sending mail?
You could modify your PHP scripts to use SMTP authentication for sending emails instead of using the PHP mail function. This would require you to make changes to each PHP script. Otherwise, you'd have to try the changes referenced in the URL from my previous response. Thank you.0 -
Right this will need coding changes in your form. 0 -
Is PHPMailer something that may help in this situation? Can PHPMailer be setup on cPanel so ALL outgoing mail has to go through the SMTP settings setup in PHPMailer? 0 -
Is PHPMailer something that may help in this situation? Can PHPMailer be setup on cPanel so ALL outgoing mail has to go through the SMTP settings setup in PHPMailer?
Hello, I don't believe this would address the issue you are facing. It seems like you are looking to a solution to replace the default behavior of the PHP mail function, similar to what's asked on the following third-party URL: Rackspace Community One alternative to consider is to disable the PHP mail function completely, and require your users to update their scripts to use SMTP authentication. Thank you.0 -
I have a question as we are looking to implant sendgrid as an outgoing server setting. Do you need to whitelist every domain you setup in Cpanel on your sendgrid account? Is it also possible to add an spf record to the Cpanel accounts to verify sending? 0 -
Hello, SendGrid would likely be able to better answer your question about how to configure their service for use with cPanel. They do offer a cPanel section under their integration guide at: Exim 4 configuration for SendGrid - SendGrid Documentation | SendGrid Thank you. 0
Please sign in to leave a comment.
Comments
10 comments