OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Problem sending e-mails

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
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

Problem sending e-mails

Postby leandroluso » Sat Sep 19, 2009 8:07 am

Hi guys,

I've been installing OJS in a Godaddy account and, as some others i've read about, i've been getting some problems with the funcions of the system which require the sending of emails.
When I first installed OJS, without making any changes on mail settings on config.inc.php, I noticed the site would send e-mails when I used the funcionality of like sending an e-mail to one registered member... it would take a while (like 15-30 minutes), but the e-mail eventually would come through. However, whenever I needed the system to send an automatic e-mail (i.e., when I tried to sign up a new user and ask the system to automatically send them the password and username), the message would never arrive - although the system would prompt no error message, even with PHP error warning turned on.
I then tried to change the e-mail settings to allow for SMTP, I asked Godaddy what server i should use, since I saw a lot of people had had problems with it before. Godaddy instructed me to use relay-hosting.secureserver.net, but again, the site would send no e-mails - this time, not even when i tried to send emails to registered members.

Can anyone help me with this? I've been cracking my head over this for the past weeks, and I really don't know what else to do. Although I've done a little bit of PHP programming in the past, I really don't feel comfortable to change codes within OJS pages and mess it up.

Thanks everybody,

Leandro
leandroluso
 
Posts: 1
Joined: Sat Sep 19, 2009 7:51 am

Re: Problem sending e-mails

Postby himanshu18in » Mon Sep 21, 2009 12:57 am

I am also having same problems, but I even dont knowhow to configure email settings in OJS. I use yahoo webhosting. Its worst. please advice. I am from India.
How I configure email setting, so that OJS can send emails.?
himanshu18in
 
Posts: 63
Joined: Sat Sep 19, 2009 2:01 am

Re: Problem sending e-mails

Postby jmacgreg » Mon Sep 21, 2009 9:32 am

Hi all,

Email configuration can be set in config.inc.php -- himanshu18in, there's a massive amount of email configuration information on forums, available from a quick search. I'd also recommend checking the FAQ entry.

leandroluso, you might want to try another SMTP client. A good thread on setting up SMTP to use Gmail can be found here.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: Problem sending e-mails

Postby himanshu18in » Mon Sep 21, 2009 5:58 pm

dear sir,
I configured config.php... but still unable to send email. the system shows error "There was an error sending this email. Please check your mail log (/var/log/maillog)."

I use yahoo webhosting. I have configured smtp on yahoo email
------------------------------------------------------------------------------------------------------------------------------------
Use SMTP for sending mail instead of mail()
; smtp = On

; SMTP server settings
; smtp_server = smtp.bizmail.yahoo.com
; smtp_port = 465

; Enable SMTP authentication
; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
; smtp_auth = LOGIN
; smtp_username = himanshu@researchtimes.net
; smtp_password = XXXXXXX

; Allow envelope sender to be specified
; (may not be possible with some server configurations)
; allow_envelope_sender = Off

; Default envelope sender to use if none is specified elsewhere
; default_envelope_sender = info@reserchtimes.net

; Enable attachments in the various "Send Email" pages.
; (Disabling here will not disable attachments on features that
; require them, e.g. attachment-based reviews)
enable_attachments = On

; Amount of time required between attempts to send non-editorial emails
; in seconds. This can be used to help prevent email relaying via OJS.
time_between_emails = 3600

; Maximum number of recipients that can be included in a single email
; (either as To:, Cc:, or Bcc: addresses) for a non-priveleged user
max_recipients = 10

; If enabled, email addresses must be validated before login is possible.
require_validation = Off

; Maximum number of days before an unvalidated account expires and is deleted
validation_timeout = 14

; Display an error message when an email is not successfully sent
display_errors = On
-----------------------------------------------------------------------------------------------------------------------------------------


Yahoo also give php/perl email, but not able to cofigure it in OJS. Even with yahoo I am facing many other problems. The basic one is it do not support unzip facility on the server. so I am unable to unzip complete OJS on server. I use ftp to upload unzipped OJS but here also, som cache files starting with %% etc were not copied, as yahoo do not support such files name.

Now please tell me, what I do. OJS system is really good. I want to use it. but how? I want to use it on yahoo.please help.

Also tell me, which webhosting is best for OJS. (preferably Indian or which take money in Indian currency).

Regards
Himanshu
himanshu18in
 
Posts: 63
Joined: Sat Sep 19, 2009 2:01 am

Re: Problem sending e-mails

Postby jmacgreg » Wed Sep 23, 2009 11:15 am

Hi Himanshu,

Have you checked your mail log for errors? I'm not sure if Yahoo provides mail log functionality, but they should. Let us know if you see anything there.

I'm not particularly familiar with many hosting providers, but my guess is that there are plenty out there that are as inexpensive as Yahoo, and more robust. I test OJS on the cheapest Dreamhost hosting plan (about $10/month), and it works fine.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: Problem sending e-mails

Postby himanshu18in » Wed Sep 23, 2009 6:19 pm

Dear sir,
I searched for the mail logs but didnt find the var/ directory. Please tell me in which directory I can see the mail log. Yahoo dont provide unzip facility on server and due to this some files were also missed during ftp upload.

The things are not going good...if there is any council in which I can complaint about yahoo hosting then please tell me, so that other person will not be cheated.

I will check some other host.
himanshu18in
 
Posts: 63
Joined: Sat Sep 19, 2009 2:01 am

Re: Problem sending e-mails

Postby chethan » Mon Oct 26, 2009 11:57 pm

Hi,
Your email settings looks fine.
Just change smtp_port = 25
If you make the above changes..then the mails will work.
It works for me...hope it will also work for you.

I am able to send mails from OJS Interface but the notification mails are not going.
I am having problems mainly when user tries to recover the lost password (forgot password) and when new user register for the journal.
I am using yahoo server (settings mentioned in above thread)....Please suggest me the solution.
chethan
 
Posts: 1
Joined: Mon Oct 26, 2009 11:42 pm

Re: Problem sending e-mails

Postby himanshu18in » Tue Oct 27, 2009 12:10 am

You are also using yahoo webhosting. Are you able to load OJS 2.2.3 fully. especially cache files.

How much you are paying yahoo and how you upload the OJS to yahoo?
himanshu18in
 
Posts: 63
Joined: Sat Sep 19, 2009 2:01 am

Re: Problem sending e-mails

Postby iedge » Sun Feb 14, 2010 11:00 pm

Did anyone get a solution to leandroluso problem.

I have same ussies

GoDaddy
Shared Hosting
Linux
SMTP on


My settings are:

email
smtp On
smtp_server relay-hosting.secureserver.net
smtp_port 25
allow_envelope_sender On
default_envelope_sender editor@ijict.org
enable_attachments On
time_between_emails 3600
max_recipients 10
require_validation Off
validation_timeout 14
display_errors On


But I am unable to send automatic emails upon login to users. Though accounts are created.......
iedge
 
Posts: 14
Joined: Sun Feb 14, 2010 10:46 pm

Re: Problem sending e-mails

Postby focka » Mon Jul 19, 2010 10:02 am

im in he same trouble too, this is my conf,
Code: Select all

[email]

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

; SMTP server settings
 smtp_server = yoda.iff.edu.br
 smtp_port = 25

; Enable SMTP authentication
; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
 smtp_auth = PLAIN


; Allow envelope sender to be specified
; (may not be possible with some server configurations)
 allow_envelope_sender = On

; Default envelope sender to use if none is specified elsewhere
 default_envelope_sender = essentia@iff.edu.br

; Enable attachments in the various "Send Email" pages.
; (Disabling here will not disable attachments on features that
; require them, e.g. attachment-based reviews)
 enable_attachments = On

; Amount of time required between attempts to send non-editorial emails
; in seconds. This can be used to help prevent email relaying via OJS.
time_between_emails = 3600

; Maximum number of recipients that can be included in a single email
; (either as To:, Cc:, or Bcc: addresses) for a non-priveleged user
max_recipients = 10

; If enabled, email addresses must be validated before login is possible.
require_validation = Off

; Maximum number of days before an unvalidated account expires and is deleted
validation_timeout = 14

; Display an error message when an email is not successfully sent
display_errors = On


and idk the next step, i ve already change the smtp files , removing the '@'s unneeded, but the error's still the same:

"There was an error sending this email. Please check your PHP error log for more information."

in the mail logs, there're just logs from connection and disconnection, so the system is acessing the mail server, but not sending the mail, then if any1 can help me, i'd be very happy, and with a job ;D \o otherwise fu... but
serious ... hope help is coming

thank you all


PLZ ,
focka
 
Posts: 2
Joined: Mon Jul 19, 2010 7:52 am

Re: Problem sending e-mails

Postby jmacgreg » Wed Jul 21, 2010 9:44 am

Hi focka,

Did you check your PHP error log as the message suggested?

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot] and 4 guests