phpList.org

Define SMTP Test username and password

Tags: #<Tag:0x00007f56993b1c98>

Hey guys,

Is there a way to use different SMTP usernames for the test smtp server?

For eg my setup:

define('PHPMAILERHOST', 'smtp.sendgrid.net');
$phpmailer_smtpuser = 'apikey';
$phpmailer_smtppassword = 'xxxxxx';

define('PHPMAILERTESTHOST','mail.testhost.com');
$phpmailer_smtpuser = 'email@testhost.com';
$phpmailer_smtppassword = 'test password';

Is there a way i can set different SMTP Creds for the test host?
Thanks :slight_smile: