Xtreme .Net Talk
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Registered members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Xtreme .Net Talk
.NET
Network
"Could not access 'CDO.Message' object."?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="angusl" data-source="post: 366305" data-attributes="member: 24183"><p>Hi,</p><p> I have recently reinstalled a new notebook with Windows 2003 Server RTM.</p><p></p><p> I have had ASP.NET (vb.net) code running on Windows 2000 and XP successfully.</p><p></p><p> The code I have used is:</p><p>Dim objMail As New System.Web.Mail.MailMessage()</p><p>objMail.Subject = "SMS Threshold Alert"</p><p>objMail.To = Me.ThresholdEmailAddress</p><p>objMail.Bcc = "info@f5.com.au"</p><p>objMail.From = ConfigurationSettings.AppSettings.Get("EMAIL_SENDER")</p><p>objMail.BodyFormat = Mail.MailFormat.Html</p><p>objMail.Body = "Hi " & Me.Name</p><p>Mail.SmtpMail.Send(objMail)</p><p></p><p> I have tried all sorts of permissions on the c:\inetpub\mailroot\* directories.</p><p> </p><p> I have put the CDO dlls into Component Services and the CDO.Mesage object spins up (ie. starts spinning) but I still get the exception raised...</p><p></p><p> Any Ideas?</p><p></p><p>Thanks in Advance,</p><p>Angus Logan</p><p>email / msg: <a href="mailto:angus.logan@f5.com.au">angus.logan@f5.com.au</a></p></blockquote><p></p>
[QUOTE="angusl, post: 366305, member: 24183"] Hi, I have recently reinstalled a new notebook with Windows 2003 Server RTM. I have had ASP.NET (vb.net) code running on Windows 2000 and XP successfully. The code I have used is: Dim objMail As New System.Web.Mail.MailMessage() objMail.Subject = "SMS Threshold Alert" objMail.To = Me.ThresholdEmailAddress objMail.Bcc = "info@f5.com.au" objMail.From = ConfigurationSettings.AppSettings.Get("EMAIL_SENDER") objMail.BodyFormat = Mail.MailFormat.Html objMail.Body = "Hi " & Me.Name Mail.SmtpMail.Send(objMail) I have tried all sorts of permissions on the c:\inetpub\mailroot\* directories. I have put the CDO dlls into Component Services and the CDO.Mesage object spins up (ie. starts spinning) but I still get the exception raised... Any Ideas? Thanks in Advance, Angus Logan email / msg: [email]angus.logan@f5.com.au[/email] [/QUOTE]
Insert quotes…
Verification
Post reply
.NET
Network
"Could not access 'CDO.Message' object."?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom