Réponse acceptée !
Bonjour,
Pour le framework 1.1, j'utilise la méthode suivante pour envoyer un message :
Dim Msg As New System.Web.Mail.MailMessage
Msg.To = "toto@toto.fr"
Msg.From = "mommail@chezmoi.fr"
Msg.Subject = "objet"
Msg.Body = "Coucou"
Msg.BodyFormat = Web.Mail.MailFormat.Html
System.Web.Mail.SmtpMail.SmtpServer = "smtp.wanadoo.fr"
System.Web.Mail.SmtpMail.Send(Msg)
Cela necessite d'avoir un serveur smtp sur lequel on n'a pas besoin de s'authentifier.
Si tu as besoin de t'authentifier, va voir cette source : http://www.vbfrance.com/code.aspx?ID=28622
TiK - MCSD.NET
[ Lien ]