473,387 Members | 1,757 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,387 software developers and data experts.

cdo.message object

Hi,

I am using the following syntax:
Dim objMM1 As New System.Web.Mail.MailMessage
objMM1.To = ("someone")
objMM1.From = textbox1.Text + " @ " + textbox3.text
objMM1.BodyFormat = Mail.MailFormat.Text
objMM1.Priority = mail.MailPriority.Normal
objMM1.Subject = "Support"
objMM1.Body = " `text goes here' "
dim ok as boolean =true
Try
mail.SmtpMail.SmtpServer = " `mail.server.name' "
mail.SmtpMail.Send(objMM1)
Catch ehttp As System.Web.HttpException
panel1.visible=true
label3.text="Mail Error"
label1.text=(ehttp.Message)
ok=false
End Try

I recieve the following error message:
Could not access 'CDO.Message' object.

does any one know what I am doing wrong here? This was all working fine
until the hosting company did maintenance on there server and now I am
receiving this error.

TIA
Ken
Nov 19 '05 #1
3 1238
Hi Ken,

You may have checked them but there are a bunch of suggestions here for that
error:

http://www.systemwebmail.com/faq/4.2.3.aspx#4.2.3

Ken
Microsoft MVP [ASP.NET]
"Kenneth Windish" <ke************@netzero.net> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Hi,

I am using the following syntax:
Dim objMM1 As New System.Web.Mail.MailMessage
objMM1.To = ("someone")
objMM1.From = textbox1.Text + " @ " + textbox3.text
objMM1.BodyFormat = Mail.MailFormat.Text
objMM1.Priority = mail.MailPriority.Normal
objMM1.Subject = "Support"
objMM1.Body = " `text goes here' "
dim ok as boolean =true
Try
mail.SmtpMail.SmtpServer = " `mail.server.name' "
mail.SmtpMail.Send(objMM1)
Catch ehttp As System.Web.HttpException
panel1.visible=true
label3.text="Mail Error"
label1.text=(ehttp.Message)
ok=false
End Try

I recieve the following error message:
Could not access 'CDO.Message' object.

does any one know what I am doing wrong here? This was all working fine
until the hosting company did maintenance on there server and now I am
receiving this error.

TIA
Ken

Nov 19 '05 #2
Thanks for the info.

Ken

"Ken Cox [Microsoft MVP]" <BA**********@hotmail.com> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Hi Ken,

You may have checked them but there are a bunch of suggestions here for
that error:

http://www.systemwebmail.com/faq/4.2.3.aspx#4.2.3

Ken
Microsoft MVP [ASP.NET]
"Kenneth Windish" <ke************@netzero.net> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Hi,

I am using the following syntax:
Dim objMM1 As New System.Web.Mail.MailMessage
objMM1.To = ("someone")
objMM1.From = textbox1.Text + " @ " + textbox3.text
objMM1.BodyFormat = Mail.MailFormat.Text
objMM1.Priority = mail.MailPriority.Normal
objMM1.Subject = "Support"
objMM1.Body = " `text goes here' "
dim ok as boolean =true
Try
mail.SmtpMail.SmtpServer = " `mail.server.name' "
mail.SmtpMail.Send(objMM1)
Catch ehttp As System.Web.HttpException
panel1.visible=true
label3.text="Mail Error"
label1.text=(ehttp.Message)
ok=false
End Try

I recieve the following error message:
Could not access 'CDO.Message' object.

does any one know what I am doing wrong here? This was all working fine
until the hosting company did maintenance on there server and now I am
receiving this error.

TIA
Ken


Nov 19 '05 #3
That site has very good info regarding System.Mail

"Kenneth Windish" <ke************@netzero.net> wrote in message
news:uX**************@TK2MSFTNGP10.phx.gbl...
Thanks for the info.

Ken

"Ken Cox [Microsoft MVP]" <BA**********@hotmail.com> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Hi Ken,

You may have checked them but there are a bunch of suggestions here for
that error:

http://www.systemwebmail.com/faq/4.2.3.aspx#4.2.3

Ken
Microsoft MVP [ASP.NET]
"Kenneth Windish" <ke************@netzero.net> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Hi,

I am using the following syntax:
Dim objMM1 As New System.Web.Mail.MailMessage
objMM1.To = ("someone")
objMM1.From = textbox1.Text + " @ " + textbox3.text
objMM1.BodyFormat = Mail.MailFormat.Text
objMM1.Priority = mail.MailPriority.Normal
objMM1.Subject = "Support"
objMM1.Body = " `text goes here' "
dim ok as boolean =true
Try
mail.SmtpMail.SmtpServer = " `mail.server.name' "
mail.SmtpMail.Send(objMM1)
Catch ehttp As System.Web.HttpException
panel1.visible=true
label3.text="Mail Error"
label1.text=(ehttp.Message)
ok=false
End Try

I recieve the following error message:
Could not access 'CDO.Message' object.

does any one know what I am doing wrong here? This was all working fine until the hosting company did maintenance on there server and now I am
receiving this error.

TIA
Ken



Nov 19 '05 #4

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

Similar topics

2
by: Janna Deegan | last post by:
Hello all, First off, if there is a better place to post for an answer to this question, please feel free to point me there. I have some very strange behavior happening with my System.web.mail...
1
by: Jens Øster | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
3
by: Jens | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
1
by: Michael | last post by:
Hello, I've read a lot of threads on this subject, but they typically go back to a problem with the smtp server configuration. In my case, everything works great until I uncomment the one line...
4
by: Liz Patton | last post by:
Here's the exception: System.Exception: Unable to send mail: Could not access 'CDO.Message' object. ---> System.Web.HttpException: Could not access 'CDO.Message' object. --->...
3
by: pmud | last post by:
Hi, I have ab ASP.Net Application in which I need to send e-mail on button click. Even though my C# code for that is correct.I am getting the following error:: I think the following error can be...
1
by: SMG | last post by:
Hi All, My Send mail system was working very fine, today suddenly it started giving me following error. Can any one suggest why this is happening so. I am using system.Web.Mail "The requested...
5
by: lds | last post by:
I am getting the following error: The "SendUsing" configuration value is invalid. Description: An unhandled exception occurred during the execution of the current web request. Please review the...
7
by: teddarr | last post by:
I have an assignment I've been working on for a few days now. I need some help with the last detail. The program is supposed to create 5 objects with varying floating-point parameter lists. The...
2
by: =?Utf-8?B?TmF0aGFuIFdpZWdtYW4=?= | last post by:
Hi, I am wondering why the .NET Framework is quite different from Win32 API when it comes to displaying system modal message boxes. Consider the four following types of system modal message...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.