473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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)

Jul 17 '05 #1
2 13225
You can use SMTP ocx, connect it to any smtp server and you can send email
very easy.
http://www.ostrosoft.com/products.asp

Kees

"Shashank" <sh**************@gmail.com> schreef in bericht
news:11**********************@f14g2000cwb.googlegr oups.com...
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)

Jul 17 '05 #2
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:

http://www.gordano.com/kb.htm?q=1450
http://64.233.161.104/search?q=cache....org/~ca/email
/starttls.html+smtp+%22starttls%22&hl=en

This explains the server conversation you need to set up:

http://www.networksorcery.com/enp/rfc/rfc3207.txt

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.

--
_____________________________

ma**********@mindYYspring.com
For return email remove XX and YY.
_____________________________
Kees Bakelaar <kb*******@nimava.nl> wrote in message
news:42********@inaja.bit.nl...
You can use SMTP ocx, connect it to any smtp server and you can send email very easy.
http://www.ostrosoft.com/products.asp

Kees

"Shashank" <sh**************@gmail.com> schreef in bericht
news:11**********************@f14g2000cwb.googlegr oups.com...
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)


Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using...
6
by: Anuradha | last post by:
Dear All How can i send mails using vb.net Thanx all
1
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
6
by: rekaeps | last post by:
We are developing an ASP.NET 2.0 (C#) application, and I'm having troubles sending e-mail from the server when accessing the web site from a separate client computer. Also, in the same scenario,...
3
by: dnuos | last post by:
We are developing an ASP.NET 2.0 (C#) application, and I'm having troubles sending e-mail from the server when accessing the web site from a separate client computer. Here's some details: ...
3
by: mfleet1973 | last post by:
Hello Again. I have a program that sends e-mails as follows: Try Dim mail As New MailMessage mail.To = "me@comp.com" mail.From = "me@comp.com mail.Subject = "Test" mail.Body = "Testing123"
6
by: Rushwire | last post by:
Does anybody know how to send a meeting request using an ics/vcs (VCalendar) attachment from an asp.net page. I don't want my users to have to double click on the attachment but rather that it is...
5
by: =?Utf-8?B?VG9ueSBXaXNzbGVy?= | last post by:
Hello everyone- I am hoping a couple of you will have some ideas on this one... I have a webform created in visual basic 2005. Basically, the webform gather answers to the questions asked on...
1
by: sasnien | last post by:
Hello All, I have an Access '97 application that I currently have mail enabled and sending properly. However, I want to add functionality to effectively create a 30 day tickler, that would walk...
9
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.