PHP FORM without senders email address

Reply

Join Date: Nov 2008
Posts: 42
Reputation: squarkman is an unknown quantity at this point 
Solved Threads: 0
squarkman squarkman is offline Offline
Light Poster

PHP FORM without senders email address

 
0
  #1
Dec 22nd, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 141
Reputation: robothy is an unknown quantity at this point 
Solved Threads: 19
robothy robothy is offline Offline
Junior Poster

Re: PHP FORM without senders email address

 
0
  #2
Dec 22nd, 2008
In the email headers, you'd have:

  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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 42
Reputation: squarkman is an unknown quantity at this point 
Solved Threads: 0
squarkman squarkman is offline Offline
Light Poster

Re: PHP FORM without senders email address

 
0
  #3
Dec 22nd, 2008
Hi,
I'm not sure I understand. Would this be in the form script? Are you referring to changing something in the form?
Thanks
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 141
Reputation: robothy is an unknown quantity at this point 
Solved Threads: 19
robothy robothy is offline Offline
Junior Poster

Re: PHP FORM without senders email address

 
0
  #4
Dec 22nd, 2008
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:
  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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC