PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Mail sending using smtp go to spam folder pls help
Mail sending using smtp go to spam folder pls help
Débuté par vicheka, 28 avr. 2009 12:45 - 1 réponse
Posté le 28 avril 2009 - 12:45
Dear everyone,

IF OnTestMode() THEN
gpc_cte_Usermail is string ="abc@abc.com"
sGpc_cte_passwordmail is string ="abc"
gpc_cte_compteSMTP is string="stmp.abc.com"
END
IF EmailStartSMTPSession(gpc_cte_Usermail, gpc_cte_compteSMTP) = False THEN
Info("fail connect 2 smtp")
ELSE
Email.Recipient = "vvicheka@yahoo.com"
Email.Sender = "vvicheka@yahoo.com"

Email.Subject ="test subject"
Email.NbRecipient = 1
EmailImportHTML("Hello ", "")
////Envoie le Mail
IF EmailSendMessage(gpc_cte_Usermail) = False THEN
Info("Mail send fail")
END

FIN

After I test it, I log in to the recipent account but then I did not see my message in inbox but instead it in spam so what can we do to send mail to inbox in order to avoid go to spam....

Please help...
Posté le 30 avril 2009 - 11:13
hoi,
try this

on the server
goto run program > nslookup

enter
set vc
set q=mx
vcbt.be (site name)

server : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (copy this)

-----------------------------------------------------
goto IIS > SMTP properties > Delivery > Advanced

enter this information in Fully-qualified domaine name
enter your site name in Masquerade domain www.vcbt.be