By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,238 Members | 1,485 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,238 IT Pros & Developers. It's quick & easy.

Email sending and through SMTP server

P: n/a
Hi

i want the source code to send Emails through SMTP server
in VB and received using IMAP in VB please help me
mamatha
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Mamatha,

Here some code wiadomosc is Polish for a message.

I hope this helps?

Cor

Set a refererence to system.web
\\
Dim wiadomosc As Web.Mail.MailMessage = New Web.Mail.MailMessage
Dim config As MailAttachment = New
MailAttachment("c:\test1\test.txt")
wiadomosc.Attachments.Add(config)
wiadomosc.From = xxx@xxx
wiadomosc.To = xxx@xxx
wiadomosc.Subject = "..."
wiadomosc.Body = "..."
wiadomosc.BodyFormat = Web.Mail.MailFormat.Text
System.Web.Mail.SmtpMail.SmtpServer = "xxxx.xxxx.xx"
System.Web.Mail.SmtpMail.Send(wiadomosc)
///
Nov 20 '05 #2

P: n/a
www.vbip.com

mamatha wrote:
Hi

i want the source code to send Emails through SMTP server
in VB and received using IMAP in VB please help me
mamatha


Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.