Forums / Install & configuration / MailSettings not found

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

eZ debug

Timing: Jan 18 2025 11:31:16
Script start
Timing: Jan 18 2025 11:31:16
Module start 'content'
Timing: Jan 18 2025 11:31:18
Module end 'content'
Timing: Jan 18 2025 11:31:18
Script end

Main resources:

Total runtime1.7102 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.8594180.8359
Module start 'content' 0.00691.5179 769.6953590.6953
Module end 'content' 1.52480.1853 1,360.3906337.4063
Script end 1.7101  1,697.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.2513210.0002
Check MTime0.00150.0892210.0001
Mysql Total
Database connection0.00050.026510.0005
Mysqli_queries1.628995.24271990.0082
Looping result0.00250.14631970.0000
Template Total1.676998.120.8384
Template load0.00230.134520.0011
Template processing1.674697.915820.8373
Template load and register function0.00020.010810.0002
states
state_id_array0.00140.080410.0014
state_identifier_array0.00140.079120.0007
Override
Cache load0.00200.1178530.0000
Sytem overhead
Fetch class attribute can translate value0.00220.126740.0005
Fetch class attribute name0.00120.070950.0002
XML
Image XML parsing0.00110.066540.0003
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00240.1411280.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs