I am trying to configure the sending of emails to register but they do not arrive. In the config.php file everything is configured correctly...
//Gmail settings
//$site_config["mail_type"] = "pear";
//$site_config["mail_smtp_host"] = "smtp.gmail.com"; // SMTP server hostname
//$site_config["mail_smtp_port"] = "465"; // SMTP server port
//$site_config["mail_smtp_ssl"] = true; // true to use SSL
//$site_config["mail_smtp_auth"] = true; // true to use auth for SMTP
//$site_config["mail_smtp_user"] = "myaccount@gmail.com"; // SMTP username/gmail address
//$site_config["mail_smtp_pass"] = "mypassword"; // SMTP password
I have also tried using another account of a paid mail server without success...
$site_config["mail_type"] = "pear";
$site_config["mail_smtp_host"] = "smtp.mydomain.com"; // SMTP server hostname
$site_config["mail_smtp_port"] = "587"; // SMTP server port
$site_config["mail_smtp_ssl"] = true; // true to use SSL
$site_config["mail_smtp_auth"] = true; // true to use auth for SMTP
$site_config["mail_smtp_user"] = "account@mydomain.com"; // SMTP username
$site_config["mail_smtp_pass"] = "mypassword"; // SMTP password
And also with different combinations of using pear, php, with and without ssl.
What am I doing wrong?