|
-
Jul 28th, 2004, 09:10 PM
#1
Thread Starter
New Member
Sending mail using smtp
Ok im making a vb.net program that will let me write some notes in a textbox and when i press a button, it will send the notes that i have entered in the textbox and send it to a mail account with the notes in the body of the email. I programmed it in and when I try to send the information it tells me that the email i am using requires pop authintication. Here is what I have.
Module Send
Sub Main()
'Change each of the parameters to your specific values
SMTP.QuickSend("smtp.hotpop.com", "(my email)", _
"(my email)", "ConquerOnline", "Body Text", _
BodyPartFormat.Plain)
End Sub
End Module
and i am using the http://www.quiksoft.com/freesmtp/ component. If anyone could help that would be great. Thanks
-
Jul 29th, 2004, 12:30 AM
#2
Hyperactive Member
Re: Sending mail using smtp
Originally posted by doomsday123
Module Send
Sub Main()
'Change each of the parameters to your specific values
SMTP.QuickSend("smtp.hotpop.com", "(my email)", _
"(my email)", "ConquerOnline", "Body Text", _
BodyPartFormat.Plain)
End Sub
End Module
and i am using the http://www.quiksoft.com/freesmtp/ component. If anyone could help that would be great. Thanks
if u use VB .net, u can try
Dim M As New System.Web.mail.MailMessage
M.From = From
M.To = [To]
M.Subject = Subject
M.Body = Body
M.Cc = Cc
M.Bcc = Cc
M.BodyFormat = System.Web.Mail.MailFormat.Html
M.Priority = System.Web.Mail.MailPriority.Normal
System.Web.Mail.SmtpMail.SmtpServer = SMTP '"smtp.adnc.com"
System.Web.Mail.SmtpMail.Send(M)
-
Aug 26th, 2004, 09:30 AM
#3
Addicted Member
What Do you Import?
Dim M As New System.Web.mail.MailMessage
M.From = From IS THIS A TEXTBOX?
M.To = [To] IS THIS A TEXTBOX?
M.Subject = Subject IS THIS A TEXTBOX?
M.Body = Body IS THIS A TEXTBOX?
M.Cc = Cc IS THIS A TEXTBOX?
M.Bcc = Cc IS THIS A TEXTBOX?
M.BodyFormat = System.Web.Mail.MailFormat.Html
M.Priority = System.Web.Mail.MailPriority.Normal
System.Web.Mail.SmtpMail.SmtpServer = SMTP '"smtp.adnc.com"
System.Web.Mail.SmtpMail.Send(M)
Curiosity SKILLED the cat
Google Talk from your Mobile phone
Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2
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
|