Emailing from within OJS

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: 3
Joined: Thu Nov 15, 2012 6:05 pm

Emailing from within OJS

Postby electricman » Thu Nov 15, 2012 7:17 pm

Sorry if this has been discussed before, but I can't find anything that specifically addresses it...

When sending emails from within our journal system, if the user sending the email is registered with an institutional email address, the email is sent without a problem; if the user is registered with a Gmail, Hotmail, etc. type of account, the email is not being sent / not being received. I'm guessing this could be a server issue, but not sure, and I'm pretty clueless on this kind of stuff at the moment!

Site Admin
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: Emailing from within OJS

Postby JasonNugent » Fri Nov 16, 2012 5:23 am

Hi electricman,

No problem, this is a good question. It's come up before. It has to do with the fact that many domains like GMail or Hotmail have what are called "SPF" records in their DNS. This is to prevent email spoofing and many spam filters check to see if the incoming message is being delivered from a server that falls in the range specified in the SPF record. The problem with OJS is that you (and others) are obviously not on the GMail network, and when you send email which uses a return email address from someone on a or address, the spam filters on the recipient end will obviously pick up on this.

We're looking at ways to deal with this. For people who control their own domains, the solution is to include the IP address of the OJS sender in their SPF record. For folks with Gmail accounts, OJS needs to do something different. This will probably mean a tweak of the way mail headers are written in upcoming versions (perhaps a 'on behalf of' or setting a reply-to header instead). We're thinking about it.

In the meantime, have a look at docs/FAQ (the file bundled with OJS) and the allow_envelope_sender setting, which may help. Its the first question in the Advanced OJS Configuration part of the document.


Posts: 3
Joined: Thu Nov 15, 2012 6:05 pm

Re: Emailing from within OJS

Postby electricman » Fri Nov 16, 2012 5:57 pm

Thanks Jason!

Return to “OJS Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 3 guests