Results 1 to 3 of 3

Thread: Sending mail using smtp

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Posts
    12

    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

  2. #2
    Hyperactive Member temp_12000's Avatar
    Join Date
    Jan 2004
    Location
    LA, USA
    Posts
    411

    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)



  3. #3
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    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
  •  



Click Here to Expand Forum to Full Width