OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki


Troubles with sending e-mails 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, michael, jheckman, barbarah, btbell, bdgregg, 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.

Troubles with sending e-mails OJS

Postby rodrigogsilvestre » Fri Aug 07, 2009 11:36 am

First of all, sorry my english, I'm a brazilian guy trying to write in English, all right? :D


Hi, I have problems with my OJS version 2.2.2, the application is not sending e-mails for the users.

The software is installed at a Debian OS, and it's configured to send e-mail by PHP function in the config.inc.php :

; Use SMTP for sending mail instead of mail()
;smtp = On

I have already installed SendMail in my server. I have to configure something?


Thanks!
Rodrigo Silvestre
rodrigogsilvestre
 
Posts: 3
Joined: Fri Aug 07, 2009 11:20 am

Re: Troubles with sending e-mails OJS

Postby netfunda » Sat Aug 08, 2009 10:43 pm

Dear Rodrigo Silvestre,

The easiest and the fastest way to send emails is to use SMTP with service providers like gmail.com, yahoo.com etc. Please note the following:

Code: Select all
; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server = ssl://smtp.gmail.com
smtp_port = 465

; Enable SMTP authentication
smtp_auth = PLAIN
smtp_username = myemail@gmail.com
smtp_password = my_gmail_password


Thanks,
Rahman
netfunda
 
Posts: 14
Joined: Tue Jul 28, 2009 8:42 am

Re: Troubles with sending e-mails OJS

Postby rodrigogsilvestre » Tue Aug 11, 2009 6:01 am

Thanks,

I'll try.
rodrigogsilvestre
 
Posts: 3
Joined: Fri Aug 07, 2009 11:20 am

Re: Troubles with sending e-mails OJS

Postby rodrigogsilvestre » Wed Aug 19, 2009 6:32 am

Thanks!
It's works for me! :D
rodrigogsilvestre
 
Posts: 3
Joined: Fri Aug 07, 2009 11:20 am

Re: Troubles with sending e-mails OJS

Postby himanshu18in » Mon Sep 21, 2009 6:06 pm

it do not work for me? what i do?
himanshu18in
 
Posts: 63
Joined: Sat Sep 19, 2009 2:01 am

Re: Troubles with sending e-mails OJS

Postby NaeemMajeed » Tue Jan 19, 2010 9:23 am

Hi,

I tried the above mentioned settings for my google account (using the google applications mail service). The email won't go and I keep on getting the same error:

Warning: mail() [function.mail]: SMTP server response: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server. in E:\inetpub\vhosts\sajms.org\httpdocs\classes\core\String.inc.php on line 188
There was an error sending this email. Please check your mail log (/var/log/maillog).
OJS: There was an error sending this email. Please check your mail log (/var/log/maillog).



Please suggest some solution.
NaeemMajeed
 
Posts: 2
Joined: Tue Jan 19, 2010 9:20 am

Re: Troubles with sending e-mails OJS

Postby NaeemMajeed » Tue Jan 19, 2010 9:55 am

And now I am getting this error instead of the above, after checking everything once again:



Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in E:\inetpub\vhosts\sajms.org\httpdocs\classes\mail\SMTPMailer.inc.php on line 165
There was an error sending this email. Please check your PHP error log for more information.
OJS: There was an error sending this email. Please check your PHP error log for more information.
NaeemMajeed
 
Posts: 2
Joined: Tue Jan 19, 2010 9:20 am

Re: Troubles with sending e-mails OJS

Postby jmacgreg » Sun Jan 24, 2010 5:39 pm

Hi NaeemMajeed,

It looks to me like your version of PHP does not have SSL support included. You can check to see whether your PHP supports SSL by checking the Extended PHP Info link, available from Site Administration -> System Information (the link is at the very bottom of the page). You can find a lot of information about enabling this on the web.

Cheers,
James
James MacGregor
PKP Support Team
--
Questions? Before posting, please try:
Advanced Forums Search
OJS and OCS Documentation
Video Tutorials

Visit #PKP on IRC!
jmacgreg
 
Posts: 4152
Joined: Tue Feb 14, 2006 10:50 am

Re: Troubles with sending e-mails OJS

Postby mendesrocha » Tue Sep 21, 2010 12:04 pm

netfunda wrote:The easiest and the fastest way to send emails is to use SMTP with service providers like gmail.com, yahoo.com etc.


The mail delevery of my OJS/SEER was not great. Some messages were not been delivered. Then, I decided to active SMTP Settings and we used our hosting service SMTP. Once we still had problems with mail delivering I changed the e-mail settings to Gmail SMTP.

Gmail SMTP delivery service is OK. But, an Editor related me the following problem:

From now on, all messages sent from OJS have the gmail address as the Header "From". So, when a user answer a message sent by OJS, it is anymore directed to the Editor personal address, but to the gmail address. Hence, the "Editor" has to open the gmail webpage to check for responses.

An alternative should be to filter these response in Gmail and redirect it to "Editors" personal address.

Best wishes,
Renato Mendes Rocha
Technical support to OJS/SEER
_____________________________
http://renato.inquietude.org
mendesrocha
 
Posts: 153
Joined: Mon Nov 05, 2007 11:10 am
Location: Brazil

Re: Troubles with sending e-mails OJS

Postby mcrider » Thu Sep 23, 2010 6:25 pm

Hi mendesrocha,

FYI, This is discussed over at http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=6282.

Cheers,
Matt
Matthew Crider
Public Knowledge Project Team
mcrider
 
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests