How to configure multiple smtp users in config file?

Advanced Questions & Problems

How to configure multiple smtp users in config file?

Postby raher333 » 2:40pm, Thu 04 Dec, 2014

Hi

I have multiple email accounts on my WHM VPS server and I want to use them for sending emails using phpList. I already installed phpList on server and its working fine with single smtp_user.

So basically what I want is to setup 3 or 4 smtp_users to send emails (campaign).
For eg. like follows

$phpmailer_smtphost = 'mail.domain.com';

$phpmailer_smtpuser_1 = 'email1@domain.com';
$phpmailer_smtppassword_1 = 'email1pwd';
$phpmailer_smtpuser_2 = 'email2@domain.com';
$phpmailer_smtppassword_2 = 'email2pwd';
$phpmailer_smtpuser_3 = 'email3@domain.com';
$phpmailer_smtppassword_3 = 'email3pwd';

So when I will send a campaign of lets say 2k emails, can i able to send them using above configured emails.
Also can it be set like first 200 emails will sent from smtp_user1, next 200 from smtp_user2 .... and so on, it will repeat again smtp_user1 after using smtp_user3.

Can anyone please help me, I had tried changing config settings, but not getting any solution to get this work!

Thanks
raher333
phpList newbie
 
Posts: 1
Joined: 2:02pm, Thu 04 Dec, 2014

Return to Advanced Questions & Problems

Who is online

Users browsing this forum: No registered users and 3 guests

cron