- Code: Select all
# To use a SMTP please give your server hostname here, leave it blank to use the standard
# PHP mail() command.
define("PHPMAILERHOST",server');
# 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 = 'name@domain.com';
$phpmailer_smtppassword = 'password';
i also change the port to 587 in lists/admin/phpmailer/class.smtp.php and lists/admin/phpmailer/class.phpmailer.php.
- Code: Select all
class SMTP
{
/**
* SMTP server port
* @var int
*/
var $SMTP_PORT = 587;
- Code: Select all
/**
* Sets the default SMTP server port.
* @var int
*/
var $Port = 587;
and i still get the error. I really appreciate if anyone can help me. Thank you