Page 1 of 2

The message is not sent (email registration)

PostPosted: 06 Nov 2012, 14:09
by leksiss
Hello to the whole team of MonoRay!

I really like your Cms, wanted to try it out but I get an error, when trying to register. (I already installed it on my server)

I suppose I should make some changes in the email configuration. could you tell what I can do?

Thank you very much in advance!

Re: The message is not sent (email registration)

PostPosted: 07 Nov 2012, 10:55
by Koduc
What type of error is displayed on the screen while signing up? Yes, an error usually occurs when it is impossible to send an e-mail. An e-mail address for sending is set up in the section 'Configuration' in the control panel.
There you should specify the e-mail address which is set on your server, or a third party email address (but in such a case you should specify the server address, activate authentication and specify data for authorization). If you will not be able to solve the problem - send us the access to your ftp and to the control panel (via contact form or a personal message) — and we will correct the issue.

Re: The message is not sent (email registration)

PostPosted: 17 Dec 2012, 03:59
by Drubilar
Dear, I have the same problem;

"Error

The message is not sent"

, here I leave the screenshots of my settings.
your computer has access to my ftp if you can help me. Thank!

site: http://www.vinapropiedades.cl
regards

Re: The message is not sent (email registration)

PostPosted: 18 Dec 2012, 09:33
by Foton
If you use google mail smtp server, you should enter gmail login and password

Re: The message is not sent (email registration)

PostPosted: 18 Dec 2012, 14:20
by Drubilar
I use google app, use mx records .. however, I try a gmail personal account, and the error continued.
thank

Re: The message is not sent (email registration)

PostPosted: 18 Dec 2012, 17:13
by Xpycm
Try this:
Open the /protected/modules/notifier/components/Notifier.php file
In the bottom of the file, before the line:
Code: Select all
if (!$mailer->Send()){ 

add:
Code: Select all
$mailer->SMTPDebug = true;
$mailer->Send();
echo $mailer->ErrorInfo;
exit;
 


- you will see a detailed error when sending message.

...
If no error :-) return changes in the file back.
And before:
Code: Select all
$mailer->Host = param('mailSMTPHost', 'localhost'); 

you should add:
Code: Select all
$mailer->SMTPAuth = true; 

and try send message again

Re: The message is not sent (email registration)

PostPosted: 18 Dec 2012, 18:47
by Drubilar
This is the error that gives me

Re: The message is not sent (email registration)

PostPosted: 18 Dec 2012, 20:01
by Xpycm
We use PHPMailer 5.2.1 in our product Open Real Estate (protected/extensions/mailer)

Try this solutions:

1) http://stackoverflow.com/questions/8106 ... -phpmailer
2) http://stackoverflow.com/questions/3618 ... -phpmailer
3) http://www.websource99.com/2011/10/09/h ... tp-server/

But instead variable $mail use $mailer ($mail = new PHPMailer() in article vs $mailer = new EMailer() in /protected/modules/notifier/components/Notifier.php file)

Re: The message is not sent (email registration)

PostPosted: 18 Dec 2012, 21:37
by Drubilar
Disable the option "Use SMTP server to send mail" from setting and add additional line "$ mailer-> smtpauth = true;" in Notifier.php , however the verification email is not being sent to the destination.

Re: The message is not sent (email registration)

PostPosted: 19 Dec 2012, 09:34
by Xpycm
I have connected to your site via FTP.

Generally, it is the human factor that caused the issue.

In the control panel of admin the option "Should the system send a letter to the user after he/she has filled the registration form" was disabled - https://www.dropbox.com/s/rj30z3xx4h655 ... 093238.png (value is set to "0")
So messages were not sent. It is logical, is not it?

After I have enabled this option, messages are successfully sent - https://www.dropbox.com/s/q8ojzv8epkogg ... 093713.png