[SOLVED] mail function() question
Moderator: General Moderators
- mudkicker
- Forum Contributor
- Posts: 479
- Joined: Wed Jul 09, 2003 6:11 pm
- Location: Istanbul, TR
- Contact:
[SOLVED] mail function() question
when we use mail question and send email to an address in email we see the to bar has some another email that we dont use. why is this so and how can we solve this?
- kendall
- Forum Regular
- Posts: 852
- Joined: Tue Jul 30, 2002 10:21 am
- Location: Trinidad, West Indies
- Contact:
mud,
Well mud from what someone told me you can put anything in the 'To' bar ah mean to say it is just a String Name and doesnt represent the acutally email or place its coming from...you actually use what ever SMTP server that the mail() php script is residing at.
There are headers that you can you to 'disguise' your 'To' to may be represent an email address for reply to circumstances but that is just aliasing.
what im trying to say is just cause you see kendall@maymail.com in the 'To' doesnt mean it came from that email address or even maymail.com server imagine if you got a 'To' heading saying 'Your Mudda'...scary huh?
to solve it you need to use headers i think i posted a question once in which i quote my mail() script using it...try looking thorugh my postings for mail() and see what you come up with
Kendall
Well mud from what someone told me you can put anything in the 'To' bar ah mean to say it is just a String Name and doesnt represent the acutally email or place its coming from...you actually use what ever SMTP server that the mail() php script is residing at.
There are headers that you can you to 'disguise' your 'To' to may be represent an email address for reply to circumstances but that is just aliasing.
what im trying to say is just cause you see kendall@maymail.com in the 'To' doesnt mean it came from that email address or even maymail.com server imagine if you got a 'To' heading saying 'Your Mudda'...scary huh?
to solve it you need to use headers i think i posted a question once in which i quote my mail() script using it...try looking thorugh my postings for mail() and see what you come up with
Kendall