FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » My contact form is not emailed to me
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: My contact form is not emailed to me [message #173652 is a reply to message #173650] Sat, 23 April 2011 08:32 Go to previous messageGo to previous message
P E Schoen is currently offline  P E Schoen
Messages: 86
Registered: January 2011
Karma:
Member
I just tried a couple of things with my notification script, with
interesting results. First, I changed the "From" header to "Event Processor
used by $Sender", where $sender was guest(at)example(dot)com, and the email I
received showed in the "From" field:

Event Processor used by guest(at)example(dot)com

Then I tried using just "Event Processor" as the "From" header, and I used
for the Subject line: "Form Data from {$in['Full_Name]} ({$in['Email'])}",
and the email I received showed in the "From" field:

paul_@_peschoen.com (underscores added)

Finally I used $in['Email'] for "From", and the email I received showed in
the "From" field:

guest(at)example(dot)com

Apparently the mailer checks for a somewhat valid email address and uses a
default if it rejects it.

Paul
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: doctype not found?
Next Topic: Re: Weird stuff
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 01:34:07 GMT 2024

Total time taken to generate the page: 0.04461 seconds