|
-
Jul 13th, 2008, 03:41 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] email
hi, i have this code, but i would like to sign in to send the mail, how can i do that?
Code:
Dim message As New MailMessage("sender@address", "from@address", "Subject", "Message Text")
Dim emailClient As New SmtpClient("Email Server Name")
emailClient.Send(message)
thx
-
Jul 13th, 2008, 04:05 PM
#2
Frenzied Member
Re: email
emailClient.Credentials = New Net.NetworkCredential("username", "password")
-
Jul 13th, 2008, 04:07 PM
#3
Thread Starter
Frenzied Member
Re: email
ok, thanks, i found the code too, i've posted it in the codebank.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|