You are viewing the PKP Support Forum | PKP Home Wiki

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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\string.inc.php
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 509 times
Posts: 31
Joined: Tue Dec 18, 2012 2:55 am

Re: Failed to connect mailserver Error

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

Hi Rajiv,

See e.g. http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=1444.

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

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.


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

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests