Page 1 of 1
Error sending e-mail
Posted: 2013-12-13 15:59
by studyhood
When I try to register as a new user or ask for a forgotten password at
http://www.studyhood.com/english/register.php, I receive the message "Error sending e-mail".
Everything was working perfectly until yesterday, and I am wondering if Yahoo changed its e-mail server settings; if this is the case, and it is related to this problem, how can I make the changes manually in the mx code?
It is urgent to solve this issue, so I hope I will have a response soon.
Thank you,
Marinos
Re: Error sending e-mail
Posted: 2013-12-13 17:02
by studyhood
I don't know if this issue is related to my web site host settings. My business e-mail is with Yahoo! but my web site is hosted at another company.
Re: Error sending e-mail
Posted: 2013-12-13 22:03
by Fred
Hi Marinos,
Information is a bit scares so it is difficult to say what needs to be fixed.
The email settings is in the tNG_config.inc.php file.
You will have to look and see if there are any logs on the server that can give you more details.
Also the Sb might have created an error log in the folder from where the script is running.
Re: Error sending e-mail
Posted: 2013-12-13 22:37
by studyhood
Dear Fred,
thank you for your reply, and I very much appreciate your help.
Here are my yahoo e-mail SMTP settings (I think SSL is obligatory to be used now):
Use SSL, port: 465, use authentication
And here is the code in the tNG_config.inc.php.
email_port = "25";
Re: Error sending e-mail
Posted: 2013-12-13 23:30
by Fred
I am sorry I have no idea why it stopped working.
Can't say if your settings are correct or not as I do not use yahoo services.
What info is in the error log files?
Try a different email server and see if you get the same results
Re: Error sending e-mail
Posted: 2013-12-13 23:57
by studyhood
Where is the log file please?
Yahoo mail settings require SSL. How can I use SSL in the existing code?
And which other e-mail server do you suggest for me to use? Gmail for example?
Re: Error sending e-mail
Posted: 2013-12-14 02:11
by Fred
Look in your cpanel log files if you can find anything.
Ask your ISP to look on the server log files.
The send mail server behaviour might have created a log file in the folder where the script was executed from.
Look at your port settings
At the top of your post you posted
Use SSL, port: 465, use authentication
But in your code you use a different port
port = "25";
Why not try the SMTP server on your host?
Re: Error sending e-mail
Posted: 2013-12-14 14:02
by studyhood
Hi Fred,
I finally managed to make it work.
I used studyhood.com as the host and I left username and password blank (when I had them filled, it didn't work) and it worked!
When I tried to use smtp, it didn't work.
Thank you,
Marinos
Re: Error sending e-mail
Posted: 2013-12-14 14:20
by Fred
Good job, glad you got it sorted.
I am going to edit your post and remove the config details, just for safety.