I have used System.Web.Mail to send email in my windows application.
Everything works fine in my development machine. But when I deploy my
application to other clients, some of them throw exception 'cannot access
CDO message' when trying to send email.
Here are the config of clients that I have tried:
Win XP SP2 + Office XP SP3 - some clients are ok but some are not ok
Win XP SP1 + Office XP SP3 - up to now, all are ok
Win XP SP2 + Office XP SP2 - all are not ok
I have checked to make sure that the CDO components of Outlook are installed
in the machines mentioned above.
I have tried to update those clients Win XP SP2 + Office XP SP2 to Office XP
SP3, some of them become fine while some still can't work...I wonder what's
the problem...All advice or suggestions are greatly apprecicated.
Thanks! 2 1120
See http://systemwebmail.com/faq/4.aspx
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers: http://www.mztools.com
"ywchan" <yw****@gmail.c om> escribió en el mensaje
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. I have used System.Web.Mail to send email in my windows application. Everything works fine in my development machine. But when I deploy my application to other clients, some of them throw exception 'cannot access CDO message' when trying to send email.
Here are the config of clients that I have tried: Win XP SP2 + Office XP SP3 - some clients are ok but some are not ok Win XP SP1 + Office XP SP3 - up to now, all are ok Win XP SP2 + Office XP SP2 - all are not ok I have checked to make sure that the CDO components of Outlook are installed in the machines mentioned above.
I have tried to update those clients Win XP SP2 + Office XP SP2 to Office XP SP3, some of them become fine while some still can't work...I wonder what's the problem...All advice or suggestions are greatly apprecicated. Thanks!
i have read through the site you suggest before....but still can't solve my
problem..
thanks!
"Carlos J. Quintero [.NET MVP]" <ca*****@NOSPAM sogecable.com> wrote in
message news:uW******** ******@tk2msftn gp13.phx.gbl... See http://systemwebmail.com/faq/4.aspx
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA You can code, design and document much faster. Free resources for add-in developers: http://www.mztools.com
"ywchan" <yw****@gmail.c om> escribi?en el mensaje news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..I have used System.Web.Mail to send email in my windows application. Everything works fine in my development machine. But when I deploy my application to other clients, some of them throw exception 'cannot
access CDO message' when trying to send email.
Here are the config of clients that I have tried: Win XP SP2 + Office XP SP3 - some clients are ok but some are not ok Win XP SP1 + Office XP SP3 - up to now, all are ok Win XP SP2 + Office XP SP2 - all are not ok I have checked to make sure that the CDO components of Outlook are installed in the machines mentioned above.
I have tried to update those clients Win XP SP2 + Office XP SP2 to
Office XP SP3, some of them become fine while some still can't work...I wonder what's the problem...All advice or suggestions are greatly apprecicated. Thanks!
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Trond A. S. Andersen |
last post by:
Hi, all!
I'm trying to use the System.Web.Mail. "package" combinded
with System.Web.Mail.SmtpMail in order to send MS Excel
spreadsheets attached to mail messages. However, sending
one single spreadsheet attachment per message, seems to be
causing som kind of corruption of the attachment, while
several spreadsheets per works just fine. Consider the
following three snippets of C# code:
|
by: Bart Stes |
last post by:
Hey guys,
I'm try to write a very simple winform app that allows the users to send an
email. I use the System.Web.Mail MailMessage class for this.
But when it comes to adding an attachment, something appears to go wrong.
After I execute the following code, the MailMessage appears to have an
attachment (looked it up through a watch in debug mode), but when I actually
send the message, the attachment is not send along with it. So the...
|
by: Phil Mc |
last post by:
Hi has anyone come accross the problem....
with referance to System.Web.Mail.MailMessage and
System.Web.Mail.SmtpMail
THIS WORKS FINE
mail=new MailMessage();
mail.From = "W-MyPcName.mycompany.com";
mail.To=strTo;
mail.Cc=strCC;
mail.Bcc=strBCC;
|
by: huan |
last post by:
Hi,
I am creating a function using C# to send emails with
attachment file. And I am using File Field control to get
file for attachment. Sending email works fine on
development machine, however when I deployed it on the
production machine, it doesn't work. It gives me an error
as below when I click send email button. And I tried to
debug it. Seems like File field control's
postedfile.filename is not working even I have
|
by: ElanKathir |
last post by:
Hi !
I wrote one code for Send the E-mail, But that code have some problem , So please help me
Here i paste my code and Error:
Error:
Server Error in '/Elan_Sample' Application.
--------------------------------------------------------------------------------
| |
by: hb |
last post by:
Hi,
Yesterday I applied an automatic Windows security update from Microsoft.
Then, none of my web application can send out email using
System.Web.Mail.SmtpMail.Send();
I don't see any errors. It just does not send the email.
The to and from address are valid email addresses.
|
by: Brad |
last post by:
I have a web .Net app which sends emails with attachments. After the email
is sent I clean up aftermyself and delete the attachments from disk. In
upgrading to .Net 2 I changed the email logic from using system.web.mail to
system.net.mail (of course vs is telling me system.web.mail is obsolete).
In .Net 1.1, the files deleted with no problem but in .Net 2 when I attempt
to delete I receive
The process cannot access the file ...'...
|
by: shapper |
last post by:
Hello,
I have a contact form in my web site which is working just fine on my
computer!
When I uploaded my web site to my hosting server I get an error when I
SUBMIT my form, i.e., when I click submit to send the email:
Security Exception
Description: The application attempted to perform an operation not
|
by: erPanita |
last post by:
Hello.. I'm using the C# class System.Net.Mail.MailMessagein order to send Emails in HTML Format. The HTML body comes from a Crystal Report converted to HTML Format 40 through the Crystal Class from Visual Studio .NET
The problem is that the e-mail looks just fine in e-mail clients such as Microsoft Outlook, howeverer, if i try to forward the e-mail it looks all bad, all aligned to the left and it looses all format. The same thing happens...
|
by: joseph2000 |
last post by:
Hi,
I have problem with e-mails which are being send via System.Web.Mail.SmtpMail
class but before describing the problem itself first I'd like to show shortly
what I'm doing on the server.
The following code is being executed on the server to send e-mails to clients
(.NET Framework 1.1):
....
EmailsInQueCollection eqc = GetUnsentEmails();
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |