Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generic Simple E-Mail 2

Status
Not open for further replies.

leaf

Programmer
Mar 9, 2000
32
US
To Anyone,<br>
<br>
I need to send e-mail messages from my application, my knowledge of sending email is limited. But I was wondering who knows the simplest way to send e-mails from VB6.<br>
<br>
I've looked at the sample project in VB, but it is more than what I want to do. <br>
<br>
I just need to basically broadcast an email message to predefined addresses with ~50 Characters inside the body of the e-mail.<br>
<br>
I have to send the messages by e-mail. I am already using the winsock control to send messages across the network.<br>
<br>
thanks in advance,<br>
<br>

 
What kind of email do you want to send? MAPI? SMTP?<br>
<br>
Mike <p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Mike,<br>
<br>
I really do not know, I would like to be able to meet the majority of e-mail users. I am thinking SMTP as primary and MAPI as secondary. <br>
<br>
thanks for your response,<br>

 
NickBulka<br><br>Thanks for the link! I downloaded the VB code and figured out the &quot;handshaking&quot; for SMTP. I was able to write my own VB code to send out e-mails.<br><br>Thanks again,<br><br>Leaf,
 
Court,<br><br>No, when you send e-mail through SMTP you use the &quot;Winsock&quot; control in VB. This method allows you to communicate directly to a SMTP Mail server. Your VB application sends the e-mail.<br><br>Go to the link that NickBulka posted and download the sample software. You can &quot;F9&quot; (Set Break Points)through some of the code to understand how the SMTP server responds. <br><br>rgds,<br><br>Leaf
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top