Sponsored by
www.aspnetemail.com
|
 |
Discuss This FAQ Item
Got a question? Another Suggestion? Want to post your solution? Discuss it below.
-
Could not access 'CDO.Message' Object - Part 7
[ Reply ]
So what is the app to add to the exclusion list of the McAfee 8 port blocking filter?
Erick [ erick ( at ) ericklarson dot NET ],
2004-11-17 18:45:03
#
-
RE: Could not access 'CDO.Message' Object - Part 7
[ Reply ]
Due to past issues with McAfee disrupting our custom apps, we always point the finger there first. Here's what we have run into with various versions of McAfee antivirust: 1: Caused OLE automation to fail between vb6 app and MS office products. 2: Message boxes without text in vb.net app (buffer overflow protection) 3: Blocks system.web.mail use (mass mailing worm restriction as David pointed out) 4: Interfered with RightFax services
SgtD [ david dot corbett ( at ) unifiedllc dot com ],
2004-11-22 15:03:40
#
-
RE: Could not access 'CDO.Message' Object - Part 7
[ Reply ]
I had McAfee Antivirus on my server with On-Access Scan enabled. This was preventing the virtual mail server to read/write mail in the outbound, after i disable the On-Access Scan...i was able to send emails...no more CDO.Message error.
Neil Nelson [ neil_nelson ( at ) hotmail dot com ],
2005-02-10 13:00:13
#
-
RE: Could not access 'CDO.Message' Object - Part 7
[ Reply ]
You can add ASPNET_WP.EXE to the list of processes mentioned above. Funny they didn't mention it in the article!
Wish I had seen this post HOURS ago. A thousand thanks to the brilliant people hosting this information. If only Microsoft would have a clue, maybe they would post this kind of stuff.
John [ jrichview ( at ) hotmail dot com ],
2005-02-16 13:09:21
#
-
RE RE: Could not access 'CDO.Message' Object - Part 7
[ Reply ]
Oh...guess I should mention that ASPNET_WP.EXE is only useful for web applications. For Windows apps you would probably have to use your process's name, or you could just disable on-access scan as the other guy did.
I have found that McAfee really slows down compiles on Visual C++ 6.0, in case you're using that, you probably need to disable on-access scan anyway.
John [ jrichview ( at ) hotmail dot com ],
2005-02-16 13:11:50
#
-
RE: RE RE: Could not access 'CDO.Message' Object - Part 7
[ Reply ]
I basically tried about everything on this LONG list. I finally compared the DLL's on my Windows 2000 server with the two PC's that were running the application flawlessly. The Server had a newer version of the cdosys.dll. I replaced it with an older version and registered it and VOILA. It worked. 4 hours of trying fix after fix gets pretty frustrating when replacing a newer DLL with an older DLL fixes the problem. Whatever happened to backward compatible?
SmoothDog [ waded ( at ) slfc dot com ],
2005-05-12 15:06:55
#
-
RE: RE RE: Could not access 'CDO.Message' Object - Part 7
[ Reply ]
Yes Disabling the On Access Scan worked beautifully, i am using Biztalk to send out emails and this happened to me.
Raj [ raj ( at ) hotmail dot com ],
2006-07-11 01:22:05
#
-
RE RE: Could not access 'CDO.Message' Object - Part 7
[ Reply ]
And its aspnet_wp.exe if its Win2k. For Windows 2003 its w3wp.exe.
Joe Rattz [ joe ( at ) rattz dot com ],
2005-09-16 11:40:27
#
-
RE: Could not access 'CDO.Message' Object - Part 7
[ Reply ]
Just to add to the discussion: I had the same problem. I was able to get the process to work by blocking Inbound traffic on the SQL server and leaving the Exchange Server's MacAfee settings the same (blocking Outbound). I did not have to totally disable the "Prevent mass mailing worms from sending mail" function.
Ross [ rculver ( at ) alliant-solutions dot com ],
2005-07-14 09:10:31
#
-
Support Urgent
[ Reply ]
Hi i was trying to send an email from my aspnet application. i got too much irritated that it was giving me errors for one week. i read these articles and i have made some changes in my smtp settings asd in my code.Now it is not giving an error but it is keeping as idle after some seconds with no responds.iam working in a domain but trying to send mail from localhost. my code is as following. Can you help me please.
Dim msg As New MailMessage msg.From = "nishat@tam2004.com" msg.To = "pvaskar1@rediffmail.com" msg.Subject = "My Job" msg.BodyFormat = MailFormat.Text msg.Body = "hai hello. Over" SmtpMail.SmtpServer = "" SmtpMail.Send(msg) Response.Write("Sent The Message")
Askar [ pvaskar1 ( at ) rediffmail dot com ],
2005-01-11 01:55:46
#
-
Thank you, thank you, thank you!
[ Reply ]
I've been pulling out what little hair i have left this morning trying to track this down.
Goddam crappy AV software! These things should come with a health warning.
Ade [ not ( at ) hotmail dot com ],
2005-01-11 03:29:43
#
-
problem while sending throu Lotus Notes
[ Reply ]
Hi, I have written a piece of code to send mail throu Asp.net. Mail sends when the smtp server is an Exchange server. But it says "Unable to connect to server" when the smtp server is Lotus Notes. Pls explain me the steps to do to connect with Lotus Notes.
Vivek
vivek [ vivek ( at ) mailinator dot com ],
2005-01-25 03:46:04
#
-
Dreaded CDO.Message fix
[ Reply ]
This will set the mailobj to just put the message in the pickup folder - great for development when you don't want to use the darn SMTP server.
mailObj.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing",1);
Anonymous [ mranonymous ( at ) yahoo dot com ],
2005-03-29 11:40:37
#
-
RE: Dreaded CDO.Message fix
[ Reply ]
If I then get: (InnerException) "Error message was The Pickup directory path is required and was not specified"
What do I need to do then
RFS [ rune ( at ) vrk dot dk ],
2005-06-07 04:09:26
#
-
Sending email by using asp.net
[ Reply ]
I want to send email by using asp.net. But it give error.
The transport failed to connect to the server.
This is my sample code:
Dim msg As New MailMessage msg.From = "pandiyan.dharumanaiker@cognizant.com" msg.To = "pandiyan.dharumanaiker@cognizant.com" msg.Subject = "My Job" 'msg.BodyFormat = mailformat.Text msg.BodyFormat = Text msg.Body = "hai hello. Over" SmtpMail.SmtpServer = "ctsintcosxuc.cts.com" SmtpMail.Send(msg) Response.Write("sent the message")
I need very urgently. Plz tell me how to send email.
Prasanna S [ prasanna dot sukumar ( at ) cognizant dot com ],
2005-04-26 23:34:02
#
-
RE: Sending email by using asp.net
[ Reply ]
hi I have to used Win XP or technology is Microsoft .NET 2003......... but I want using sending with attachment thougth email by using asp.net..... So I don't whatever problem created in that........ or SMTP server doen't response...... So..... Please tell me......... What i can do..... give me good solution about that
Saurabh [ saurabh_bhabhor ( at ) yahooo dot co dot in ],
2007-11-28 01:34:08
#
BIG thanks! :)
[ Reply ]
I've spent 3 hours trying to fault find this - trying countless fixes then came across yours...
...and now my code works perfectly fine :)
Don't you just love those one's where you think - why didn't I think of that before? :p
Great website btw, very helpful.
Mat Brunt [ matbrunt ( at ) gmail dot com ],
2005-05-06 07:10:11
#
SWEET - GOOD TIP
[ Reply ]
Spent a huge amount of time on this very issue, looked at my firewall, looked at the settings in the smtp server settings, looked at just about every property page in iis - nothing worked. Turned off the freaking worm protection on port 25 - bamm! Freaking amazing - btw, do not just turn this off, you should add your app as an exception item, this would be the dll in the bin directory of your asp.net app that actually sends the mail.
Aaron [ aramirez ( at ) focusdx dot com ],
2005-06-02 10:14:04
#
SMTPMail.SMTPServer.Insert is WRONG
[ Reply ]
SMTPMail.SMTPServer.Insert does not update SMTPMail.SMTPServer -it does NOTHING. Check it out in the debugger. This is the same as NOT setting the SMTP server to use - in which case it will work in default mode... that is it will send mail t to the pickup directory of the locally installed SMTP server. When in doubt, check the online docs or MSDN.
Use: SMTPMail.SMTPServer = "myserver".
Note: Sending email to the pickup directory of a locally installed SMTP server is a better way to go since it unties your code's thread from being tied-up with talking to a remote server. Your code will run faster and be more fault tolorant. The local SMTP server can handle the relay of the message from there - your code does not need to know if the remote SMTP server is online or not. All your code needs to do is send by pickup and let the local SMTP server do its job.
Again: If use the Insert method, its only working because there is a locally installed SMTP server, not because its using the server specified.
dseph2000 [ dseph2000 ( at ) hotmail dot com ],
2005-08-24 09:41:24
#
-
RE: SMTPMail.SMTPServer.Insert is WRONG
[ Reply ]
Thank you for the help!!! I'll repeat: DO NOT USE SMTPSERVER INSERT!!! I've been banging my head against the wall for days trying to debug this. This is what works:
SmtpMail.SmtpServer = "Your server name"
Thanks for being here,
Bill
Bill Farrell [ wfarrell ( at ) provbank dot com ],
2005-12-28 11:44:46
#
Solve my problem, too!
[ Reply ]
Thanks Justin and David! You guys rock. I had the same problem with the same error message, and have spent almost entire day to figure out. We verified the remote SMTP server config, our servers etc. with no avail. But then, you are right ... it was our Antivirus setting that blocks the usage of Port 25 as the cause of the problem. We solved it by entering our program in its exclusion list. Regards.
Noval [ ntriadi ( at ) somewhere dot com ],
2005-10-13 16:48:35
#
Error only when sending in html format
[ Reply ]
Hi!
I'm getting the infamous: Could not access 'CDO.Message' error, but only when I try to send the email with the body set to MailFormat.Html... anyone..?
Atli [ atli dot thordar ( at ) gmail dot com ],
2005-10-24 04:25:25
#
-
RE: Error only when sending in html format
[ Reply ]
I am having the same problem. I can send text email just fine, but cannot send email when the MailFormat is set to Html. Did you ever solve the problem?
Thanks,
Karen
Karen [ karen ( at ) webexc dot com ],
2006-01-12 18:17:16
#
|