OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



I can not send mails from a Smtp Server

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.

I can not send mails from a Smtp Server

Postby sciruela » Fri Jan 04, 2008 1:17 pm

Hi, I would like to use the University Smtp Server (Postfix) to send my e-Mails from OJS. I have installed OJS perfectly but I can not run send mail options. My configuration is below:

;;;;;;;;;;;;;;;;;;
; Email Settings ;
;;;;;;;;;;;;;;;;;;

[email]

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

; SMTP server settings
smtp_server = "smtp.mydomain.com"
smtp_port = 25

; Enable SMTP authentication
; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
smtp_auth = LOGIN
smtp_username = user
smtp_password = "password"

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

; 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

Is the config.inc.php file correct?
How I can resolve this problem?
Thanks for all.
sciruela
 
Posts: 3
Joined: Fri Jan 04, 2008 1:06 pm

Re: I can not send mails from a Smtp Server

Postby sciruela » Fri Jan 04, 2008 3:57 pm

Hi, I have commented smtp_auth variable and Now OJS can send mails but I have a question, Why can OJS send mails now?

Thanks for all
sciruela
 
Posts: 3
Joined: Fri Jan 04, 2008 1:06 pm

Re: I can not send mails from a Smtp Server

Postby smiri » Mon Jan 07, 2008 10:58 am

Hi There,

This is happening probably because your SMTP server does not require authentication. Usually only POP server (to receive emails) requires authentication and SMTP (to send emails) doesn't.

Regards,
smiri
 
Posts: 183
Joined: Thu Sep 06, 2007 7:01 pm


Return to OJS Technical Support

Who is online

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

cron