I am creating an applications that has to do auto emailing whenever some
actions have been performed. I need to set an account with the company that
provides email provider and need to be able to set user name and password so
that emails sent from my applicatios get accepted and forwarded to people
who requested to be emailed.
Speciffically, I need to find out how to set user name and password for a
CDO object.
So far, I do emailing successfully from my machine but any other machines
return an error saying:
"The following problem occured when attempting to send email to John Doe:
Could not access 'CDO.Message' object."
So far, I am using SmtpMail.Send(aMessage) to send emails and as I sad, it
works fine from my machine only.
Any help will be appreciated
--
Dino Buljubasic
Software Developer http://rivusglobal.com 4 2286
you cannot guarantee that cdo will exist on each pc on which your
application will run and, you are not free to re-distribute it at will. you
may consider opening a socket and connecting to your smtp server, then send
the message using the standard smtp rfc commands directly to the socket.
imo, cdo sucks absolutely!
hth,
steve
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:NC********************@news2.telusplanet.net. .. I am creating an applications that has to do auto emailing whenever some actions have been performed. I need to set an account with the company
that provides email provider and need to be able to set user name and password
so that emails sent from my applicatios get accepted and forwarded to people who requested to be emailed.
Speciffically, I need to find out how to set user name and password for a CDO object.
So far, I do emailing successfully from my machine but any other machines return an error saying: "The following problem occured when attempting to send email to John Doe: Could not access 'CDO.Message' object."
So far, I am using SmtpMail.Send(aMessage) to send emails and as I sad, it works fine from my machine only.
Any help will be appreciated
-- Dino Buljubasic Software Developer http://rivusglobal.com
Thanks,
can you show me how to do that please
--
Dino Buljubasic
Software Developer http://rivusglobal.com
"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com... you cannot guarantee that cdo will exist on each pc on which your application will run and, you are not free to re-distribute it at will.
you may consider opening a socket and connecting to your smtp server, then
send the message using the standard smtp rfc commands directly to the socket. imo, cdo sucks absolutely!
hth,
steve
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message news:NC********************@news2.telusplanet.net. .. I am creating an applications that has to do auto emailing whenever some actions have been performed. I need to set an account with the company that provides email provider and need to be able to set user name and
password so that emails sent from my applicatios get accepted and forwarded to
people who requested to be emailed.
Speciffically, I need to find out how to set user name and password for
a CDO object.
So far, I do emailing successfully from my machine but any other
machines return an error saying: "The following problem occured when attempting to send email to John
Doe: Could not access 'CDO.Message' object."
So far, I am using SmtpMail.Send(aMessage) to send emails and as I sad,
it works fine from my machine only.
Any help will be appreciated
-- Dino Buljubasic Software Developer http://rivusglobal.com
you've got to be kidding me! alright...hold on....
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:bX********************@news2.telusplanet.net. .. Thanks,
can you show me how to do that please
-- Dino Buljubasic Software Developer http://rivusglobal.com
"steve" <as*@abc.com> wrote in message news:vm************@corp.supernews.com... you cannot guarantee that cdo will exist on each pc on which your application will run and, you are not free to re-distribute it at will. you may consider opening a socket and connecting to your smtp server, then send the message using the standard smtp rfc commands directly to the socket. imo, cdo sucks absolutely!
hth,
steve
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message news:NC********************@news2.telusplanet.net. .. I am creating an applications that has to do auto emailing whenever
some actions have been performed. I need to set an account with the
company that provides email provider and need to be able to set user name and password so that emails sent from my applicatios get accepted and forwarded to people who requested to be emailed.
Speciffically, I need to find out how to set user name and password
for a CDO object.
So far, I do emailing successfully from my machine but any other machines return an error saying: "The following problem occured when attempting to send email to John Doe: Could not access 'CDO.Message' object."
So far, I am using SmtpMail.Send(aMessage) to send emails and as I
sad, it works fine from my machine only.
Any help will be appreciated
-- Dino Buljubasic Software Developer http://rivusglobal.com
actually...no i won't. i just copied the code to the clipboard and am having
second thoughts about pasting it here. you need to learn how to do this
yourself. i paid my dues putting this code together and have learned a great
deal in the process. i don't think i want to deprive you of the same.
the smtp rfc is on the web and there are also plenty of tcpclient examples
out there...you can put 2 and 2 together.
"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com... you've got to be kidding me! alright...hold on....
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message news:bX********************@news2.telusplanet.net. .. Thanks,
can you show me how to do that please
-- Dino Buljubasic Software Developer http://rivusglobal.com
"steve" <as*@abc.com> wrote in message news:vm************@corp.supernews.com... you cannot guarantee that cdo will exist on each pc on which your application will run and, you are not free to re-distribute it at
will. you may consider opening a socket and connecting to your smtp server, then send the message using the standard smtp rfc commands directly to the
socket. imo, cdo sucks absolutely!
hth,
steve
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in
message news:NC********************@news2.telusplanet.net. .. > I am creating an applications that has to do auto emailing whenever
some > actions have been performed. I need to set an account with the company that > provides email provider and need to be able to set user name and password so > that emails sent from my applicatios get accepted and forwarded to people > who requested to be emailed. > > Speciffically, I need to find out how to set user name and password for a > CDO object. > > So far, I do emailing successfully from my machine but any other machines > return an error saying: > "The following problem occured when attempting to send email to John Doe: > Could not access 'CDO.Message' object." > > So far, I am using SmtpMail.Send(aMessage) to send emails and as I sad, it > works fine from my machine only. > > > Any help will be appreciated > > > -- > Dino Buljubasic > Software Developer > http://rivusglobal.com > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rick Austin |
last post by:
I recently had to perform a reinstalltion of Windows XP (my registry seems to have become corrupt). After this completed I had to reinstall all applications since most use the registry for settings,...
|
by: Lyn |
last post by:
Hi,
This question may seem a bit academic...
To learn more about Access VBA, I have been enumerating the properties of
various form controls. This was mostly successful and I have learned a lot...
|
by: Sunny |
last post by:
Hi,
I have an old problem which I couldn't solve so far. Now I have found a post
in that group that gave me an idea, but I can not fully understand it.
The problem is: I'm trying to use a...
|
by: JerryP |
last post by:
Hello,
is there a way to launch the property dialogue for a directory from my c#
app ?
I would also like to launch the User Account Properties from Active
Directory Users and Computers, and the...
|
by: Martin Montgomery |
last post by:
I have, for example, a property called myProperty. I would like, when using a property grid to display the property name as "My Property". Is this possible. Is there an attribute etc
Thank
...
|
by: Donald Grove |
last post by:
Is it possible to retrieve field properties from a table in access2000
using code?
I have tried:
"
dim dbs as dao.database
dim tbl as dao.tabledef
dim fld as dao.field
dim prop as...
|
by: Christophe Peillet |
last post by:
I have a CompositeControl with two types of properties:
1.) Mapped Properties that map directly to a child control's properties
(ex.: this.TextboxText = m_txt.Text). These properties are handled...
|
by: Anderskj |
last post by:
Hi!
I am developing a c# application. I have a interface (which can change
therefore my problem)
If i do like this:
List<PropertyInfoproperties = new List<PropertyInfo>();...
|
by: =?Utf-8?B?UmljayBHbG9z?= |
last post by:
For some unknown reason (user error?), I cannot get a NameValueCollection to
persist in the app.config file.
Unlike other settings, I cannot get the String Collection Editor GUI to
allow my to...
|
by: FullBandwidth |
last post by:
I have been perusing various blogs and MSDN pages discussing the use
of event properties and the EventHandlerList class. I don't believe
there's anything special about the EventHandlerList class in...
|
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,...
|
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...
|
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...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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,...
|
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,...
|
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...
| |