Ver Mensaje Individual
  #5 (permalink)  
Antiguo 09/08/2004, 11:43
roberthm_21
 
Fecha de Ingreso: marzo-2004
Ubicación: Trujillo
Mensajes: 44
Antigüedad: 20 años, 2 meses
Puntos: 0
Hola, intentè con este codigo y me sale que fue enviado, pero no llega al buzon de correo. No se talvez me falta agregar algo o realizar alguna configuracion.

Imports System.Web.Mail
Private Sub Button1_Click( .....)
Dim objEmail As New MailMessage()
objEmail.To = "[email protected]"
objEmail.From = "[email protected]"
objEmail.Subject = "Saludos"
objEmail.Body = "Como estas"
Try
SmtpMail.Send(objEmail)
MsgBox("el mensaje fue enviado")
Catch exc As Exception
MsgBox("error")
End Try
End Sub