English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hello All
I want to develop a program using VB2005 by which I can send an email to other peoples.

How can I do that please suggest me.

thanks in advance

2006-12-06 22:18:16 · 3 answers · asked by Jack J 1 in Computers & Internet Programming & Design

3 answers

If you have worked with VB2005 before then it's not a big deal. You can find a lot off free example coding around. What I can help you with right away is tell you what you are looking for.

You'll need SMTP , i suppose it's already available as a library in VB.
If you are planning to use a mailing list and use Outlook, then you can include the relevant component of Outlook into your VB solution.
The simplest way to go about this is:
1. Make a "form" to retrieve your address book from your Mail Client, i.e. manually synchronise in your VB p[rogram.
2. 2nd form to compose your message and a simple Simple "Send" button to send to all email-id's in the list which is stored separately (as Excel, Access or Text file). For this part you need to have some SMTP related coding.

Let me know if this isn't what you were looking for , I may be able to give you some sample code.

2006-12-06 22:29:19 · answer #1 · answered by vangel_sg 2 · 0 0

You can check the following link for information on using the different classes to send mail messages. To send emails you will need SMTP mail server installed on your machine, you should be aware of this!!!

http://msdn2.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx

2006-12-07 08:44:39 · answer #2 · answered by Truth Seeker 2 · 0 0

its made really simple in it, u just have to import system.mail

then set the "from" and "to" address, if multiple separate "to" by ",".
set the right credentials (user name, password) for the authenticated "from" user. and thats done.

2006-12-07 06:28:54 · answer #3 · answered by Jwalant 2 · 0 0

fedest.com, questions and answers