Sending mail in Visual Basic

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shashank

    Sending mail in Visual Basic

    Hello Readers! I am trying to send mail in VB using WinSock. I get the
    message "must issue STARTTLS command first" from pop.gmail.com. PLz
    tell me how to solve this problem, or any other known server that does
    not need the STARTTLs command for sending mails via it.

    Regards!
    (Shashank Araokar)

  • Kees Bakelaar

    #2
    Re: Sending mail in Visual Basic

    You can use SMTP ocx, connect it to any smtp server and you can send email
    very easy.


    Kees

    "Shashank" <shashank.araok ar@gmail.com> schreef in bericht
    news:1111727753 .360299.187200@ f14g2000cwb.goo glegroups.com.. .[color=blue]
    > Hello Readers! I am trying to send mail in VB using WinSock. I get the
    > message "must issue STARTTLS command first" from pop.gmail.com. PLz
    > tell me how to solve this problem, or any other known server that does
    > not need the STARTTLs command for sending mails via it.
    >
    > Regards!
    > (Shashank Araokar)
    >[/color]


    Comment

    • mayayana

      #3
      Re: Sending mail in Visual Basic

      I looked it up because I'd never heard of STARTTSL.
      Apparently you check for it in the response to EHLO.

      These two may help:



      /starttls.html+s mtp+%22starttls %22&hl=en

      This explains the server conversation you need to set up:



      I haven't found a clear explanation of what is
      actually required, though. Apparently you have
      to be prepared to execute the transaction with SSL.

      --
      _______________ ______________

      mayayXXana1a@mi ndYYspring.com
      For return email remove XX and YY.
      _______________ ______________
      Kees Bakelaar <kbakelaar@nima va.nl> wrote in message
      news:4243c028$1 @inaja.bit.nl.. .[color=blue]
      > You can use SMTP ocx, connect it to any smtp server and you can send[/color]
      email[color=blue]
      > very easy.
      > http://www.ostrosoft.com/products.asp
      >
      > Kees
      >
      > "Shashank" <shashank.araok ar@gmail.com> schreef in bericht
      > news:1111727753 .360299.187200@ f14g2000cwb.goo glegroups.com.. .[color=green]
      > > Hello Readers! I am trying to send mail in VB using WinSock. I get the
      > > message "must issue STARTTLS command first" from pop.gmail.com. PLz
      > > tell me how to solve this problem, or any other known server that does
      > > not need the STARTTLs command for sending mails via it.
      > >
      > > Regards!
      > > (Shashank Araokar)
      > >[/color]
      >
      >[/color]


      Comment

      Working...