954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PHP FORM without senders email address

Happy Holidays!
Is it possible for a PHP FORM to send data from say...
[email]dog@senddata.com[/email] (form user)
to
[email]cat@getdata.com[/email] (data recipient)

BUT...

when [email]cat@getdata.com[/email] gets the email with the data in it, if cat decides to REPLY, [email]dog@senddata.com[/email] 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

squarkman
Light Poster
42 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

In the email headers, you'd have:

From: dog@getdata.com
Reply-to: members@getdata.com

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

Best,

R.

blocblue
Posting Pro in Training
475 posts since Jan 2008
Reputation Points: 142
Solved Threads: 79
 

Hi,
I'm not sure I understand. Would this be in the form script? Are you referring to changing something in the form?
Thanks

squarkman
Light Poster
42 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

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:

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

blocblue
Posting Pro in Training
475 posts since Jan 2008
Reputation Points: 142
Solved Threads: 79
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You