0
I have a shipping code for e-mail, I picked up the sender via request form. and put into a variable like this:
Dim nome, emailremetente
nome = trim(request.form("name"))
emailremetente = trim(request.form("email"))
And on this line I insert the variables:
'NOME E E-MAIL DO REMETENTE
objCDOSYSMail.From = nome & "<" & emailremetente & ">"
So far so good, however if in the form I insert my e-mail particular ([email protected]) it does not send, but if I insert mymail@mydomain_do-site-which is sent to.comen it sends.
That is, if the e-mail of the sender is from the same domain that is sending, it sends, but if it is from another domain it does not send, why and how to resolve this?
Make sure your SMTP server is set to Relay for different domains
– Artur Trapp
A simple test is to connect to the account that is sending the email, through the browser or email manager, and try to send to this email...
– Aline