Page 1 of 1

Emails are not sent

PostPosted: 04 Dec 2013, 11:07
by Xpycm
a.To fix an error, we need to see the full text of the error. So you should paste the following code:
Code: Select all
$mailer->SMTPDebug true;
$mailer->Send();
echo 
$mailer->ErrorInfo;
exit;  

after $mailer->IsHTML(false);
in the /protected/modules/notifier/components/Notifier.php file.

b.If you get the error 503, saying that the message is not sent, follow the instruction below:
The possible causes of your problem and their solutions:

1) the emails are not sent because of incorrect smtp settings in the admin area of your site if you use smtp for sending emails. So, please, correct the settings:
Settings - > section Email - > edit the lines correctly;

2) the emails are not sent because one or more actions are disabled in the admin area of your site;
Settings - > section Notifier - > activate the necessary lines:
a) Should the system send a letter to the user after he/she has filled the registration form?
b) Should the system send a letter to the administrator when new user has been registered?

3) the emails are not sent if your hosting provider has some unusual settings for sending emails. And so please contact your hosting provider.

c.And you can also set the sending of emails here:

Open protected\modules\notifier\components\Notifier.php file
And add the smtp settings which you have got from your hosting provider into the code itself (so the CMS will use the smtp settings from the code, not from the dashboard)

For example:
Code: Select all
$mailer->Host 'Address of SMTP server';
$mailer->Port 'Port of SMTP server';
$mailer->Username 'SMTP user login';
$mailer->Password 'SMTP user password';   


If the data which you have got from your hosting provider do not work again, you can use the smtp data of Microsoft.which always work.
So you should paste the following code:
Code: Select all
$mailer->SMTPSecure 'tls';
$mailer->Host "smtp.live.com";
$mailer->Port 587;
$mailer->Username "outlook.com login";
$mailer->Password "outlook.com password";  


instead of the existing lines.:
Code: Select all
$mailer->Host param('mailSMTPHost''localhost');
$mailer->Port param('mailSMTPPort'25);

$mailer->Username param('mailSMTPLogin');  // SMTP login
$mailer->Password param('mailSMTPPass'); // SMTP password 

Re: Emails are not sent

PostPosted: 02 May 2014, 03:49
by danny
) the emails are not sent because of incorrect smtp settings in the admin area of your site if you use smtp for sending emails. So, please, correct the settings:

question: Your setting below imply on My domain control panel or OPE setting if OPE where is the setting section?
Settings - > section Email - > edit the lines correctly;

2) the emails are not sent because one or more actions are disabled in the admin area of your site;
Settings - > section Notifier - > activate the necessary lines:
a) Should the system send a letter to the user after he/she has filled the registration form?
b) Should the system send a letter to the administrator when new user has been registered?

3) the emails are not sent if your hosting provider has some unusual settings for sending emails. And so please contact your hosting provider.

c.And you can also set the sending of emails here: DONE

Open protected\modules\notifier\components\Notifier.php file
And add the smtp settings which you have got from your hosting provider into the code itself (so the CMS will use the smtp settings from the code, not from the dashboard)
I HAVE DONE THIS PART - STILL RECEIVE ERROR 503 WHEN LISTING

Re: Emails are not sent

PostPosted: 02 May 2014, 08:43
by andipas
ERROR 503 - This bug is related to the settings on your server.

Re: Emails are not sent

PostPosted: 10 May 2014, 07:20
by danny
Hello,
I manage to receive the listing Property email as admin but not the user , which mean the user didn't receive the notification, Could it be the setting on my user SMTP user login, and the user password?
There is the error quote after submission the listing form:
You must provide at least one recipient email address
And with message:
you are successfully registered. To activate your account, please click the link in the activation email which has been sent sent to .....@...com
.
The user didn't not receive any activation email..

I have created a user login (user@mydomain.com) and password (udud3... )in the email setting is this the culprit?.

Re: Emails are not sent

PostPosted: 12 May 2014, 09:35
by fisher
It can be fixed in admin panel

Re: Emails are not sent

PostPosted: 22 May 2014, 03:27
by superness
how can you fix this in the admin panel?

I am also receiving the error message:

Error 503
The message is not sent ErrorInfo: You must provide at least one recipient email address.

I already made the correct smtp set up in the email. but i am still receiving the error. I also tried changing the codes in the notifier but still has the error.

can someone please help me to solve this issue?

this error message is being received when a new user clicked the list your property and she is not a registered user yet.

but if a new user clicks the register button first, the user and admin receives a notification email. so i know that the smtp details i entered are correct.

thanks.

Re: Emails are not sent

PostPosted: 26 May 2014, 07:38
by Koduc
superness wrote:Error 503
The message is not sent ErrorInfo: You must provide at least one recipient email address.

Provide me with FTP access to your site (you can send it via private messages here). I will try to find and fix this issue.