I am *trying* to integrate SendGrid into an existing system to take over the bulk-delivery of newsletter emails. We have our own SMTP server, but I'm switching to SendGrid (just for bulk emails) to enhance deliverability. We use PHPList on the front end to run the email campaigns and intend tto use SendGrid API to connect it as the SMTP server.
Following the instructions on my account Developer dashboard I took the following;
SMTP server: smtp.sendgrid.net
Username: MyUsername on SendGrid
Password: MyPassword on SendGrid
I've seen conflicting instructions (on the SendGrid blog) advising that the username should be something along the lines 'firstname.lastname@example.org' which I presume correlates the email address used in my Account Settings and where 'yourdomain' is the domain where the SMTP relay is applied.
None of these work. PHPList shows the following error message, 'The following From address failed: email@example.com'
Within config.php file (of PHPList) I have the following settings;
$phpmailer_smtpuser = 'firstname.lastname@example.org';
$phpmailer_smtppassword = 'MyPassword on SendGrid';
Can someone please resolve the conflicting advice about what to use for $phpmailer_smtpuser? And are there any troubleshooting guides that I can use to resolve this and get SendGrid working with PHPList.
Note: If I run PHPList through my own mail server then the test emails are delivered fine.