Failed to connect mailserver Error

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 31
Joined: Tue Dec 18, 2012 2:55 am

Failed to connect mailserver Error

Postby rajiv » Thu Jan 24, 2013 5:36 am

hi friends,
while doing user registeration, or artilce submission, request article review and so on & after sending mail i getting following error;

ojs2 has produced an error
Message: WARNING:mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at &:localhost&quot; port 25, verify your &quot;SMTP&quot; setting in php.ini or use ini_set()
In file: C:\inetpub\wwwroot\\ojs\lib\pkp\classes\core\
At line: 290
Server info:
PHP Version: 5.2.17
Apache Version: N/A
DB Driver: mysql
DB server version: 5.0.27-community-nt

please help me.............
mail problem.png
Failed to connect mailserver error image file
mail problem.png (80.78 KiB) Viewed 550 times

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Failed to connect mailserver Error

Postby asmecher » Thu Jan 24, 2013 9:39 am

Hi Rajiv,

See e.g.

Alec Smecher
Public Knowledge Project Team

Posts: 31
Joined: Tue Dec 18, 2012 2:55 am

Re: Failed to connect mailserver Error

Postby rajiv » Sun Jan 27, 2013 11:21 pm

hi Alec ,

Thank you very much for gave valuable solution to me. now mailing working fine.



Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest