PC Review


Reply
Thread Tools Rate Thread

CDO mailing from Excel

 
 
SHETTY
Guest
Posts: n/a
 
      24th May 2008
Dear Friends

I am trying to use sample code by Ron de Bruin for sending mail from Excel

I want to send text string as well as html image in the body of the mail

I am unable to use both at a time
..TextBody
..HTMLBody

Please advise

Rgds

Ramesh Shetty







 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      24th May 2008
Why use both ?





--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"SHETTY" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Dear Friends
>
> I am trying to use sample code by Ron de Bruin for sending mail from Excel
>
> I want to send text string as well as html image in the body of the mail
>
> I am unable to use both at a time
> .TextBody
> .HTMLBody
>
> Please advise
>
> Rgds
>
> Ramesh Shetty
>
>
>
>
>
>
>

 
Reply With Quote
 
Lise
Guest
Posts: n/a
 
      31st Jul 2008
Hi Ron

I have been looking at your site but am receiving an error message when
trying to setup the email option - when entering the info to see if I can use
the CDO I receive the following:
run-time error '2147220960(80040220)'
The "Sendusing" configuration value is invalid. = error 404

As this is all very new to me - is there something obvious that I am doing
wrong?

Thanks

Lise (Aussie)


"Ron de Bruin" wrote:

> Why use both ?
>
>
>
>
>
> --
>
> Regards Ron de Bruin
> http://www.rondebruin.nl/tips.htm
>
>
> "SHETTY" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> > Dear Friends
> >
> > I am trying to use sample code by Ron de Bruin for sending mail from Excel
> >
> > I want to send text string as well as html image in the body of the mail
> >
> > I am unable to use both at a time
> > .TextBody
> > .HTMLBody
> >
> > Please advise
> >
> > Rgds
> >
> > Ramesh Shetty
> >
> >
> >
> >
> >
> >
> >

>

 
Reply With Quote
 
Lise
Guest
Posts: n/a
 
      1st Aug 2008
Have also just found out that we are running on a domino server?? does that
change anything?
--
Thanks

Lise (Aussie)


"Lise" wrote:

> Hi Ron
>
> I have been looking at your site but am receiving an error message when
> trying to setup the email option - when entering the info to see if I can use
> the CDO I receive the following:
> run-time error '2147220960(80040220)'
> The "Sendusing" configuration value is invalid. = error 404
>
> As this is all very new to me - is there something obvious that I am doing
> wrong?
>
> Thanks
>
> Lise (Aussie)
>
>
> "Ron de Bruin" wrote:
>
> > Why use both ?
> >
> >
> >
> >
> >
> > --
> >
> > Regards Ron de Bruin
> > http://www.rondebruin.nl/tips.htm
> >
> >
> > "SHETTY" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> > > Dear Friends
> > >
> > > I am trying to use sample code by Ron de Bruin for sending mail from Excel
> > >
> > > I want to send text string as well as html image in the body of the mail
> > >
> > > I am unable to use both at a time
> > > .TextBody
> > > .HTMLBody
> > >
> > > Please advise
> > >
> > > Rgds
> > >
> > > Ramesh Shetty
> > >
> > >
> > >
> > >
> > >
> > >
> > >

> >

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      1st Aug 2008
Start with this page
http://www.rondebruin.nl/mail/folder3/mailenvelope.htm

If you want to CDO read all info good on the page


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Lise" <(E-Mail Removed)> wrote in message news:9BAD71BA-5085-49D8-8905-(E-Mail Removed)...
> Hi Ron
>
> I have been looking at your site but am receiving an error message when
> trying to setup the email option - when entering the info to see if I can use
> the CDO I receive the following:
> run-time error '2147220960(80040220)'
> The "Sendusing" configuration value is invalid. = error 404
>
> As this is all very new to me - is there something obvious that I am doing
> wrong?
>
> Thanks
>
> Lise (Aussie)
>
>
> "Ron de Bruin" wrote:
>
>> Why use both ?
>>
>>
>>
>>
>>
>> --
>>
>> Regards Ron de Bruin
>> http://www.rondebruin.nl/tips.htm
>>
>>
>> "SHETTY" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>> > Dear Friends
>> >
>> > I am trying to use sample code by Ron de Bruin for sending mail from Excel
>> >
>> > I want to send text string as well as html image in the body of the mail
>> >
>> > I am unable to use both at a time
>> > .TextBody
>> > .HTMLBody
>> >
>> > Please advise
>> >
>> > Rgds
>> >
>> > Ramesh Shetty
>> >
>> >
>> >
>> >
>> >
>> >
>> >

>>

 
Reply With Quote
 
Mike
Guest
Posts: n/a
 
      3rd Aug 2008
Ron, I adopted your example code on http://www.rondebruin.nl/cdo.htm and it
works very well (Thanks!). One thing, though. I like to use early binding
when possible. Do you know how I would declare iMsg and iConf to accomplish
this? Thanks.


 
Reply With Quote
 
Mike
Guest
Posts: n/a
 
      7th Aug 2008
OK, I had to reference the Microsoft CDO for Windows 2000 Library and not
the CDO 1.21 library. Code becomes as follows

Dim iMsg As CDO.Message
Dim iconf As CDO.Configuration
Dim Flds As Fields

Set iMsg = New CDO.Message
Set iconf = New CDO.Configuration

"Mike" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Ron, I adopted your example code on http://www.rondebruin.nl/cdo.htm and
> it works very well (Thanks!). One thing, though. I like to use early
> binding when possible. Do you know how I would declare iMsg and iConf to
> accomplish this? Thanks.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need to import my Excel Mailing list into mailing label format. Help with Excel list to mailing labels Microsoft Excel Misc 2 5th Nov 2009 10:16 PM
e-mailing with excel =?Utf-8?B?YWNpZGJ1cm42NjY=?= Microsoft Excel Crashes 1 20th Sep 2007 08:04 PM
RE: How to Merge Excel to Mailing Labels in MAC Excel 2004 =?Utf-8?B?S2F0aHJ5bg==?= Microsoft Excel Worksheet Functions 0 9th Mar 2007 12:56 AM
E-mailing From Excel =?Utf-8?B?QnV0dGVyY3Vw?= Microsoft Excel Misc 1 2nd Oct 2006 03:27 PM
how do i convert MS Word mailing labels into an Excel mailing lis. =?Utf-8?B?dW5yaHlsbA==?= Microsoft Excel Misc 1 4th Feb 2005 12:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:16 PM.