943,776 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1051
  • PHP RSS
Dec 22nd, 2008
0

PHP FORM without senders email address

Expand Post »
Happy Holidays!
Is it possible for a PHP FORM to send data from say...
dog@senddata.com (form user)
to
cat@getdata.com (data recipient)

BUT...

when cat@getdata.com gets the email with the data in it, if cat decides to REPLY, dog@senddata.com WILL NOT be in the TO list at all.

This needs to be done so that the org members can discuss the applicant's qualifications without fear of accidentally replying to the applicant unless they specifically type in the email address.

Thanks!
Squark
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
squarkman is offline Offline
42 posts
since Nov 2008
Dec 22nd, 2008
0

Re: PHP FORM without senders email address

In the email headers, you'd have:

PHP Syntax (Toggle Plain Text)
  1. From: dog@getdata.com
  2. Reply-to: members@getdata.com


The reply to address is then automatically used then replying to an email.

Best,

R.
Reputation Points: 101
Solved Threads: 74
Posting Pro in Training
blocblue is offline Offline
427 posts
since Jan 2008
Dec 22nd, 2008
0

Re: PHP FORM without senders email address

Hi,
I'm not sure I understand. Would this be in the form script? Are you referring to changing something in the form?
Thanks
Reputation Points: 10
Solved Threads: 0
Light Poster
squarkman is offline Offline
42 posts
since Nov 2008
Dec 22nd, 2008
0

Re: PHP FORM without senders email address

In your original post, you said you had a web form, which when submitted would be emailed to the members of an organisation for their consideration or whatever.

To send an email you need to specify:
  • The Recipient
  • The Sender
  • The Subject
  • The Message Body

You also have the option to specify headers. In the headers, add:
PHP Syntax (Toggle Plain Text)
  1. Reply-to: something@getdata.com

With the address being perhaps a mailing list address for the organisation members, but not the original sender.

Googling PHP email headers, and reply-to fields should give you more information also.

Essentially, a reply to address is a default address for replying to which can be different to a from address.

R
Reputation Points: 101
Solved Threads: 74
Posting Pro in Training
blocblue is offline Offline
427 posts
since Jan 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Help Protecting User Uploads
Next Thread in PHP Forum Timeline: UniqueID.html





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC