The message is not sent (email registration)

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

The message is not sent (email registration)

Postby leksiss » 06 Nov 2012, 14:09

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!
leksiss
Stranger
 
Posts: 1
Joined: 06 Nov 2012, 13:08
Reputation point: 0

Re: The message is not sent (email registration)

Postby Koduc » 07 Nov 2012, 10:55

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.
-- Меньше знаешь - крепче спишь --
User avatar
Koduc
Team lead
Team lead
 
Posts: 64
Joined: 28 Dec 2011, 09:11
Reputation point: 0

Re: The message is not sent (email registration)

Postby Drubilar » 17 Dec 2012, 03:59

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
Attachments
Captura de pantalla 2012-12-16 a la(s) 21.52.14.png
Captura de pantalla 2012-12-16 a la(s) 21.52.14.png (31.81 KiB) Viewed 23785 times
Drubilar
Stranger
 
Posts: 8
Joined: 05 Dec 2012, 12:09
Reputation point: 0

Re: The message is not sent (email registration)

Postby Foton » 18 Dec 2012, 09:33

If you use google mail smtp server, you should enter gmail login and password
Foton
Web Developer
Web Developer
 
Posts: 117
Joined: 26 Jan 2012, 14:58
Reputation point: 1

Re: The message is not sent (email registration)

Postby Drubilar » 18 Dec 2012, 14:20

I use google app, use mx records .. however, I try a gmail personal account, and the error continued.
thank
Drubilar
Stranger
 
Posts: 8
Joined: 05 Dec 2012, 12:09
Reputation point: 0

Re: The message is not sent (email registration)

Postby Xpycm » 18 Dec 2012, 17:13

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
Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
Web Developer
Web Developer
 
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2

Re: The message is not sent (email registration)

Postby Drubilar » 18 Dec 2012, 18:47

This is the error that gives me
Attachments
Captura de pantalla 2012-12-18 a la(s) 12.36.30.png
Captura de pantalla 2012-12-18 a la(s) 12.36.30.png (13.62 KiB) Viewed 23772 times
Drubilar
Stranger
 
Posts: 8
Joined: 05 Dec 2012, 12:09
Reputation point: 0

Re: The message is not sent (email registration)

Postby Xpycm » 18 Dec 2012, 20:01

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)
Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
Web Developer
Web Developer
 
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2

Re: The message is not sent (email registration)

Postby Drubilar » 18 Dec 2012, 21:37

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.
Drubilar
Stranger
 
Posts: 8
Joined: 05 Dec 2012, 12:09
Reputation point: 0

Re: The message is not sent (email registration)

Postby Xpycm » 19 Dec 2012, 09:34

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
Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
Web Developer
Web Developer
 
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2

Next

Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 13 guests

cron