User conformation e-mail help desparately needed

Author Message

StoneFly Techonology

Tuesday 31 August 2004 1:28:22 pm

I am using Apache, PHP, and MysSQL on Redhat linux and I cannot, for the life of me, figure out how to change the "From" in the e-mail that is sent to a user after he or she has just registered. Right now the e-mails say they are from "Apache" and I'd like it to say something different like "Webmaster", specifically, like webmaster@mysite, com.instead of apache@muysite.com.
Please help!

Kimball Forbes
StoneFly Technology

Ole Morten Halvorsen

Tuesday 31 August 2004 2:03:07 pm

Hi,

In your site.ini.append file set the EmailSender under [MailSettings]

Example:

[MailSettings]
EmailSender=webmaster@mysite.com

Ole M.

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

StoneFly Techonology

Tuesday 31 August 2004 2:52:15 pm

Ole,

Thanks for your quick reply. I've tried doing what you wrote, but it has not worked. I even tried restarting apache, and sendmail multiple times in conjunction with the ini settings. Can you offer any further help? perhaps the header from an e-mail with the wrong "From"?

Thank you for all your help,
Kimball

Bruce Morrison

Tuesday 31 August 2004 4:38:44 pm

I haven't looked at the code but I suspect that this is an issue with the way the ezmail system intergrates with the local mail configuration (via the mail function I suspect).

I suspect you are using sendmail for delivery and not SMTP. I _think_ this would be an issue of the Envelope address Vs the Header address. Have you tried switching to using SMTP?

See http://www-uxsup.csx.cam.ac.uk/~jw35/docs/php-mail.html for an explainatiopn of 'Envelope' vs 'Header' address.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

StoneFly Techonology

Thursday 02 September 2004 11:54:52 am

Bruce,

Thank you for your help, you have set me in the right direction. Thank you for taking the time to help me.

Sincerely,
Kimball

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

eZ debug

Timing: Jan 18 2025 16:23:38
Script start
Timing: Jan 18 2025 16:23:38
Module start 'layout'
Timing: Jan 18 2025 16:23:38
Module start 'content'
Timing: Jan 18 2025 16:23:39
Module end 'content'
Timing: Jan 18 2025 16:23:39
Script end

Main resources:

Total runtime1.0837 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 588.0703152.6406
Module start 'layout' 0.00730.0037 740.710939.4766
Module start 'content' 0.01111.0711 780.1875593.3594
Module end 'content' 1.08210.0015 1,373.546912.1250
Script end 1.0837  1,385.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3014160.0002
Check MTime0.00120.1153160.0001
Mysql Total
Database connection0.00160.147610.0016
Mysqli_queries1.027294.7847650.0158
Looping result0.00060.0537630.0000
Template Total1.051297.020.5256
Template load0.00270.244720.0013
Template processing1.048596.749220.5242
Template load and register function0.00020.022610.0002
states
state_id_array0.00140.128410.0014
state_identifier_array0.00110.099820.0005
Override
Cache load0.00210.1954300.0001
Sytem overhead
Fetch class attribute can translate value0.00070.060930.0002
Fetch class attribute name0.00090.082160.0001
XML
Image XML parsing0.00080.070030.0003
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00070.0618160.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs