You are viewing the PKP Support Forum | PKP Home Wiki

Can't send out emails

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 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.

Can't send out emails

Postby ItsDan » Tue Feb 26, 2008 11:15 am

I can go to prepared emails and send from that section, although the in-message codes aren't interpreted, but I assume it's because of the screen I'm sending it from. The problem is that if I go to enrolled users, select some, hit Send Email, and send a message, no one receives anything. Obviously its capable of sending mail or I would receive nothing from the other screen. I'm fairly PHP knowledgable, how can I go about diagnosing this?

I do get prepared emails at times such as signups as well. Just not when I manually try to send one.
Posts: 54
Joined: Wed Jun 13, 2007 8:55 am

Re: Can't send out emails

Postby ItsDan » Tue Feb 26, 2008 12:01 pm

So I opened up the Mail.inc.php file and added a test email, it appears if I remove $headers then it goes through. It also goes through if I replace headers with a "From: ouremail@ourdomain.com\n" header. These are the headers it attempts to send:

Content-Type: text/plain; charset="utf-8"
X-Mailer: Open Journal Systems v2
Date: Tue, 26 Feb 2008 12:58:10 -0600
From: "our name" <ourname@ourdomain.com>
Bcc: something@domain.com
Posts: 54
Joined: Wed Jun 13, 2007 8:55 am

Re: Can't send out emails

Postby asmecher » Wed Feb 27, 2008 4:27 pm

Hi ItsDan,

Sounds to me like your mail server is rejecting the messages -- can you check your mail server logs to see if there is anything there to explain why? If you don't have access to the logs, you may have to narrow down the headers one at a time until you identify the header that's causing the message to be rejected. I'd suggest double-checking the mail configuration in your config.inc.php file to make sure that it's appropriate for your network.

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

Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest