A user have to register to the site using Her existing email address as a user name so I need to send an email to the user's email address once her registration to my site is successful can anyone provide me with a code ASAP please
Traicey
10
Posting Whiz in Training
Recommended Answers
Jump to PostHi
Try this code
Try '(1) Create the MailMessage instance Dim mm As New MailMessage(FromEmailAddress, ToEmailAddress) '(2) Assign the MailMessage's properties mm.Subject = "Test Email... " mm.Body = "This is a test message..." mm.IsBodyHtml = False '(3) Create the SmtpClient object Dim smtp As New SmtpClient …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.