Forum Moderators: coopster & phranque

Message Too Old, No Replies

what header should i send to build webmailer?

         

Xuefer

5:36 pm on Mar 15, 2003 (gmt 0)

10+ Year Member



i'm writing webpage that allow my registered users to send email other registered users
i want the mail send as if it was send from the user his/her own email
is it possible?
seems that some mail server do strict check to mail headers

so does anyone know the best way to do what i wanna.

jatar_k

5:41 pm on Mar 15, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I know in php you can add the From: and Reply-To: header params, would that be enough?

Xuefer

2:30 am on Mar 16, 2003 (gmt 0)

10+ Year Member



maybe only who experience can answer this thread.
it true i "may" send "From:" and "Reply-To:" header
but i said, "some mail server do strict check to mail headers"

i've ever tried "From: user-123@mydomain.com" and let "Reply-To: userA@a.com"

however, still some damn server reject it

so, i want to know if somebody do the same work as me, and how do u manage it.

hakre

8:54 am on Mar 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi Xuefer

set the Return-Path header to the users email and if the recievers mailbox produces an error (full, no valid user etc.) the user will get the answer, not the site admin / mail script admin.

nosanity

8:55 am on Mar 17, 2003 (gmt 0)

10+ Year Member



Xuefer,

I have experienced the problem you are talking about, and my messages stoped bouncing when I added the Return-Path header. This might fix your problem. I cannot think of any other header that you could add with the e-mail address in it.

noSanity

Xuefer

9:07 am on Mar 17, 2003 (gmt 0)

10+ Year Member



thank nosanity & hakre & jatar_k

i've tried Return-Path recently. but not sure about the effect

my example was "from userA@a.com to userB@b.com"
but how if i change it into "from userA1@a.com to userA2@a.com"?
in other word, it's the same email provider

seems all u said is the only way, nothing more i can do about it.

Allen

10:34 am on Mar 17, 2003 (gmt 0)

10+ Year Member



Isn't there a flag you can use in sendmail to force a different from address?

Allen

Xuefer

10:49 am on Mar 17, 2003 (gmt 0)

10+ Year Member



what i meant "from" is "send for"
not the mail header "From: ..." :P