No "reply to address" in user information email

Author Message

James Packham

Wednesday 04 February 2004 5:20:06 am

Hi a little while back I made a post on disabling the user informaiton email that's generated during the user registration process:

http://www.ez.no/community/forum/general/disabling_user_information_email_during_registration

It turns out that this isn't exactly a small undertaking, so I'll try and ask a slightly different question:

How do I specify the return/sender email address for this email? When I register a user one of the emails appears to come from webmaster@mysite.com (which is good), but the user info email doesn't have a sender address. My ISPs mail server automatically fills in the field with mailer-daemon@myisp.com (which is bad!).

I was wondering how I set this, as none of the options with the word email in the ini files (I did "cat *.ini | grep -i email" of all these files to find all occurances) seems to sort it out!

Thanks!

~James~

Marco Zinn

Tuesday 10 February 2004 9:30:47 am

I think, all eMail-sending is done in lib/ezmail.php .
There, ez probably calls the PHP "mail" function to send the mail (when you are using "sendmail"... I don't know about SMTP, but this should be in the same file).
I'm sure, that you can specify a sender there. But i'm NOT sure, if your ISP will allow you to change the "from" or "reply to" Mail-Adress (Spam, EMail-Spoofing...)

Marco
http://www.hyperroad-design.com

James Packham

Thursday 12 February 2004 2:07:33 am

Well it isn't providing one and I just want to use one of my own domains, so I can probably get away with it :)

Thanks!

~James~

James Packham

Thursday 12 February 2004 2:43:44 am

Actually after a bit of further invesitgation I found out what the problem was:

U use Postfix, so I'd specified my tansport agent as smtp which is why I'm getting the problem.

If I specify it as Sendmail and change

sendmail_path = /usr/sbin/sendmail -t -i

to

sendmail_path = /usr/sbin/sendmail.postfix -t -i

it magically starts working!

Hooray!

~James~

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 31 2025 05:27:59
Script start
Timing: Jan 31 2025 05:27:59
Module start 'layout'
Timing: Jan 31 2025 05:27:59
Module start 'content'
Timing: Jan 31 2025 05:27:59
Module end 'content'
Timing: Jan 31 2025 05:27:59
Script end

Main resources:

Total runtime0.0212 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.2578151.2266
Module start 'layout' 0.00690.0036 739.484436.6797
Module start 'content' 0.01050.0083 776.164194.1563
Module end 'content' 0.01880.0023 870.320333.9922
Script end 0.0211  904.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003416.2284140.0002
Check MTime0.00146.4643140.0001
Mysql Total
Database connection0.00083.911510.0008
Mysqli_queries0.003315.607730.0011
Looping result0.00000.170110.0000
Template Total0.00157.010.0015
Template load0.00125.721910.0012
Template processing0.00031.232510.0003
Override
Cache load0.00083.566810.0008
General
dbfile0.002813.437980.0004
String conversion0.00000.121740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs