TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sathyanarayanan damodarasamy
NA
14
0
how do solve this error for sending mail in vb.net?
Jun 22 2007 9:00 AM
i am using vb.net 2003.i am doing my project in vb.net windows application.the following code is for sending mail. Dim mymailmessage As New MailMessage Try Dim bSuccess As Boolean = True mymailmessage.From = FromTextBox.Text mymailmessage.To = "
[email protected]
" mymailmessage.Bcc = sb.ToString mymailmessage.Subject = SubjectTextBox.Text mymailmessage.Body = MessageTextBox.Text mymailmessage.BodyFormat = MailFormat.Text mymailmessage.Priority = MailPriority.Normal SmtpMail.SmtpServer = "127.0.0.1" SmtpMail.Send(mymailmessage) DisplayLabel.Text = "Your Mail was Successfully Sent" Catch ex As Exception MessageBox.Show(ex.Message) End Try the above code,i written in vb.net windows application. i run the project,then i click send button means,the following error is display. "Could not access 'CDO.Message' object" how to solve this?plz help.
Reply
Answers (
1
)
Modal dialog does not appear in the TaskManger
How to display a control inside an existing control ?