Email sending method

Hi,

Can you please let me know that which method is responsible to send the mail to the subscriber lists.

Thanks in advance.
Tristup

You define it. Either it defaults to phpmail or you can set your own SMTP settings, from your own email, in the lists/config/config.php file (you may need to transfer the following from config-extended.php to your config.php file.

# To use a SMTP server please give your server hostname here, leave it blank to use the standard
# PHP mail() command.
define("PHPMAILERHOST",'');

# in the above you can specify multiple SMTP servers like this:
# 'server1:port1;server2:port2;server3:port3' eg
#define('PHPMAILERHOST','smtp1.mydomain.com:25;smtp2.mydomain.com:2500;smtp3.phplist.com:5123');

# if you want to use smtp authentication when sending the email uncomment the following
# two lines and set the username and password to be the correct ones
#$phpmailer_smtpuser = 'smtpuser';
#$phpmailer_smtppassword = 'smtppassword';

## you can set this to send out via a different SMTP port
# define('PHPMAILERPORT',25);

Check the manual, there are several chapters on sending :slight_smile:

www.phpList.org/manual