Page 1 of 1

[SOLVED] mail function() question

Posted: Thu Nov 06, 2003 2:19 am
by mudkicker
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?

Posted: Thu Nov 06, 2003 8:31 am
by kendall
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

Posted: Fri Nov 07, 2003 9:11 pm
by mudkicker
thanks mate it helped me too much!