Hi,
I am sending a email using SMTP but trying to work out how to add a reply-to (or make it show it sent from someone else)
Currently it's sending fine by using:
However, it shows my@email.com as the email address it was sent from. (of cause this is not my real email, using the above values as examples while posting it on the forum)
I was hoping it would send the email as myname<test@email.com>
I am using Gmail as the email server.
I am guessing the from email can't be changed when using the Gmail server, and it needs to be sent from the same email address the user signed into the gmail server with?
Is there a way in adding a reply-to email address so if the user clicks reply it will send it to a different email than what it was sent from ?
I am sending a email using SMTP but trying to work out how to add a reply-to (or make it show it sent from someone else)
Currently it's sending fine by using:
B4X:
SMTP.Initialize(smtpServer, smtpPort, "my@email.com", "xxxxxx", "smtp")
SMTP.UseSSL = True
SMTP.Sender = "myname<test@email.com>"
SMTP.To.Add("sendto@email.com")
However, it shows my@email.com as the email address it was sent from. (of cause this is not my real email, using the above values as examples while posting it on the forum)
I was hoping it would send the email as myname<test@email.com>
I am using Gmail as the email server.
I am guessing the from email can't be changed when using the Gmail server, and it needs to be sent from the same email address the user signed into the gmail server with?
Is there a way in adding a reply-to email address so if the user clicks reply it will send it to a different email than what it was sent from ?