OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



error email sending in ojs 2.3.7

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.

error email sending in ojs 2.3.7

Postby danshi » Sun May 06, 2012 9:24 pm

hello
i install ojs 2.3.7 in my windows xp and fully configure it correctly same as
instruction, finally after subscription a user in the ojs, the ojs don't send
email to the user entered mail and apache logs this part of log :
please guide me it's so important for me.thank you.

"[error] [client 127.0.0.1] ojs2 has produced an error\n Message: WARNING:
fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to
connect to mail.yahoo.com:25 (A socket operation was attempted to an
unreachable network.\r\n)\n In file:
C:\\wamp\\www\\ojs\\lib\\pkp\\classes\\mail\\SMTPMailer.inc.php\n At line:
166\n Stacktrace: \n File: (unknown) line (unknown)\n Function:
PKPApplication->errorHandler(2, "fsockopen() [&lt;a
href='function.fsockopen'&gt;function.fsockopen&lt;/a&gt;]: unable to connect
to mail.yahoo.com:25 (A socket operation was attempted to an unreachable
network.\r\n)",
"C:\\wamp\\www\\ojs\\lib\\pkp\\classes\\mail\\SMTPMailer.inc.php", 166,
Array(2))\n File:
C:\\wamp\\www\\ojs\\lib\\pkp\\classes\\mail\\SMTPMailer.inc.php line 166\n
Function: fsockopen("mail.yahoo.com", 25, 0, "", 30)\n File:
C:\\wamp\\www\\ojs\\lib\\pkp\\classes\\mail\\SMTPMailer.inc.php line 67\n
Function: SMTPMailer->connect()\n File: C:\\wamp\\www\\ojs"
danshi
 
Posts: 2
Joined: Sun May 06, 2012 9:12 pm

Re: error email sending in ojs 2.3.7

Postby JasonNugent » Mon May 07, 2012 5:51 am

Hi danshi,

It sounds like you're using the wrong value for the smtp_server setting in your config.inc.php file. Most ISPs provide their own mail servers for you to use, and you normally can't connect to other mail servers directly. You need to talk to your Internet Service Provider and ask them to tell you what to use for an outbound SMTP server and use that instead.

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 877
Joined: Tue Jan 10, 2006 6:20 am

Re: error email sending in ojs 2.3.7

Postby danshi » Wed May 09, 2012 12:01 pm

thank you so much
danshi
 
Posts: 2
Joined: Sun May 06, 2012 9:12 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 6 guests

cron