MailSettings not found

Author Message

Vicente Olivan

Friday 11 April 2003 12:38:23 pm

Hello, I have proven diverse configurations of [MailSettings] in site.ini file, and I cannot send emails As it would be the correct configuration? Thanks

Jan Borsodi

Tuesday 15 April 2003 4:28:24 am

What operating system are you using on the server and what kind of mail settings are trying to use (sendmail,smtp)?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Vicente Olivan

Tuesday 15 April 2003 7:23:39 am

The used system where eZ is executed is network hat 7.1

Adjustments proven with smtp:

[MailSettings]
# The type of transport for emails, can be either sendmail or SMTP
# Window users should probably use SMTP
MailTransport=smtp
# Configuration for SMTP
TransportServer=192.168.1.55 (IP mailserver smtp)
TransportPort=25
TransportUser=user_name
TransportPassword=
AdminEmail=user@domain.com
EmailSender=user@domain.com

Adjustments proven with sendmail in the same machine of eZ Publish:

[MailSettings]
# The type of transport for emails, can be either sendmail or SMTP
# Window users should probably use SMTP
MailTransport=sendmail
# Configuration for SMTP
TransportServer=
TransportPort=25
TransportUser=user_name
TransportPassword=
AdminEmail=user@domain.com
EmailSender=user@domain.com

Adjustments proven with sendmail installed in another machine in local network:

[MailSettings]
# The type of transport for emails, can be either sendmail or SMTP
# Window users should probably use SMTP
MailTransport=sendmail
# Configuration for SMTP
TransportServer=192.168.1.60 (IP sendmail machine in localnetwork)
TransportPort=25
TransportUser=user_name
TransportPassword=
AdminEmail=user@domain.com
EmailSender=user@domain.com

No of the configurations has worked :-(

Thanks for the interest and the answer :-)

Ole Morten Halvorsen

Tuesday 15 April 2003 8:04:09 am

Check your mail log when your are trying to send mail (normally /var/log/maillog) to see if your mail actually get sent or if it is rejected somehow.

In eZ publish 3.0 the email sender is set to your web server user (eg apache@localhost), and some mail servers reject mails from a non existing mail account (which apache@localhost is).

In svn, when using sendmail to send mail, the email sender is correctly set to whatever EmailSender in site.ini is.

If you the ability to change php.ini, you can set the email sender there:
sendmail_path = /usr/sbin/sendmail -t -i -f valid@email.user

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.