Forums / Setup & design / User conformation e-mail help desparately needed
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 ForbesStoneFly 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
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.
CheersBruce
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
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
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0002 secs