smtp error from functions.inc.php

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

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.
james@ecogeek.org
Posts: 1
Joined: Wed Apr 28, 2004 3:10 pm
Contact:

smtp error from functions.inc.php

Postby james@ecogeek.org » Wed Apr 28, 2004 3:16 pm

Before I start into the code I thought I'd better check to see if anyone has seen this before. It comes from revieweredit.php - it's not fatal and it does add the reviewer when I go back to look.

Thanks,

James

Warning: mail(): SMTP server response: 501 <James Geek <james@ecogeek.org>>: "@" or "." expected after "James" in c:\program files\apache group\apache\htdocs\ojs\include\functions.inc.php on line 344

kevin
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm
Contact:

Postby kevin » Wed Apr 28, 2004 4:35 pm

This is apparently a bug (or feature?) in PHP on Windows operating systems.

The only workaround I can suggest is to find all instances of the mail() function in the code and change them so that the recipient's name is not included.

E.g.

Code: Select all

mail("$row[chFirstName] $row[chSurname] <$row[chEmail]>", ...)


becomes

Code: Select all

mail($row[chEmail], ...)


Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest