OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Problem with allow_envelope_sender

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.

Problem with allow_envelope_sender

Postby CarlosLlongo » Fri Sep 14, 2012 12:00 pm

Hi!

I have been asked to enable this option, so I modified the config file to enable allow_envelope_sender and default_envelope_sender. The problem is that from that moment OJS stops sending any emails.

I tried to create a new user, and no mails where send. Also, sending a mail directly from the mail templates page did nothing. Once I reverted the changes in the config file, all went back to normal.

I have read the Advanced OJS Configuration and it says to change de mail server configuration, but my OJS is located in a hosting server, so I can't do any of those changes.

Any solution?

Cheers!
CarlosLlongo
 
Posts: 10
Joined: Mon Jun 25, 2012 8:55 am

Re: Problem with allow_envelope_sender

Postby asmecher » Fri Sep 14, 2012 12:12 pm

Hi Carlos,

If you're not using SMTP to deliver mail, the allow_envelope_sender option causes OJS to start specifying the "-f" option to the mail transfer agent on your server. If your server doesn't allow that, it'll likely throw the emails away. It sounds like that's what's happening.

One alternative would be to try using SMTP to send (see the config.inc.php options for SMTP); this method uses the "FROM" command to tell the server who the message is coming from. But even in this case, if the mail server won't accept what OJS is telling it, then you won't be able to send messages this way.

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


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest