Error sending e-mail

studyhood
Posts: 11
Joined: 2013-12-06 14:43

Error sending e-mail

Post by studyhood » 2013-12-13 15:59

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

studyhood
Posts: 11
Joined: 2013-12-06 14:43

Re: Error sending e-mail

Post by studyhood » 2013-12-13 17:02

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.

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Error sending e-mail

Post by Fred » 2013-12-13 22:03

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.

studyhood
Posts: 11
Joined: 2013-12-06 14:43

Re: Error sending e-mail

Post by studyhood » 2013-12-13 22:37

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";

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Error sending e-mail

Post by Fred » 2013-12-13 23:30

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

studyhood
Posts: 11
Joined: 2013-12-06 14:43

Re: Error sending e-mail

Post by studyhood » 2013-12-13 23:57

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?

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Error sending e-mail

Post by Fred » 2013-12-14 02:11

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?

studyhood
Posts: 11
Joined: 2013-12-06 14:43

Re: Error sending e-mail

Post by studyhood » 2013-12-14 14:02

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

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Error sending e-mail

Post by Fred » 2013-12-14 14:20

Good job, glad you got it sorted.

I am going to edit your post and remove the config details, just for safety.

Post Reply