Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.
<% Dim objMM As New System.Net.Mail.MailMessage() Dim msg as String = "OK" try ' configure your mail appearance objMM.To.Add("firstname.lastname@example.org") objMM.From = New System.Net.Mail.MailAddress("email@example.com") objMM.IsBodyHtml = False objMM.Subject = "asp.net 2.0 test mail" objMM.Body = "asp.net 2.0 test mail body" ' define smtp and authentication credential Dim smtp As New System.Net.Mail.SmtpClient() smtp.Host = "mail.sender.com" smtp.Credentials = New System.Net.NetworkCredential("firstname.lastname@example.org","password") ' send the mail now smtp.Send(objMM) catch e as exception msg = e.message end try 'Response.Write "Message sent to " & strTo & "!" Response.Write "Your message has been sent. Thank You!" End If ' End page logic %>
|Amend script to comb for folders with access for Everyone||3||41|
|how to change the file name||8||39|
|reading text file and converting it to csv||8||58|
|Google (Get Users Email)||2||30|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
16 Experts available now in Live!