0
I’m doing a routine and I’m not succeeding I’m having this mistake and on the web.config I left so
<system.net >
<mailSettings>
<smtp from="[email protected]">
<network host="smtp.gmail.com" password="******" port="587" userName="testesolers" enableSsl="true"/>
</smtp>
</mailSettings>
And in the App the call was made this way:
Dim client = New SmtpClient()
Return client.SendMailAsync("Mensagem Automática", message.Destination.ToString(), message.Subject.ToString(), message.Body.ToString())
Where am I going wrong ?
What email destination are you using? It may be the problem.
– Ricardo
What is the content of
message.Destination
?– Jéf Bueno
I’m using my own gmail as destiny
– Fabio Mosk Fabinho