'contstruct the message to be sent to the customer Dim MailServer As String = "Server" Dim ToEmail As String = _newPass.Text Dim ToName As String = first + " " + last Dim FromEmail As String = "[email protected]" Dim FromName As String = "Customer Support" Dim Subject As String = "Do Not Reply: Your Forgotten Password" Dim Body As String = "Message Body" Dim o_Client As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient(MailServer) Dim o_FromAddress As System.Net.Mail.MailAddress = New System.Net.Mail.MailAddress(FromEmail, FromName) Dim o_ToAddress As System.Net.Mail.MailAddress = New System.Net.Mail.MailAddress(ToEmail, ToName) Dim o_Message As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage(o_FromAddress, o_ToAddress) o_Message.Subject = Subject o_Message.Body = Body Try o_Client.Send(o_Message) Catch exc As Exception End Try
Variabler Empfänger Im Kontaktformular
#16
geschrieben 31. August 2008 - 20:41
Hm .. leg mal ne neue Datei an und versuch mal das hier
Pc is my life, amd my world, intel my enemy and Linux my Hell
Anzeige
- ← Typo3 - Ve_guestbook - Keine Gästebuch-anzeige
- Skript/Web-Programmierung
- [gelöst] Dateigröße Per Batch Auslesen →

Hilfe
Neues Thema
Antworten

Nach oben

