PC Review


Reply
 
 
Andrea
Guest
Posts: n/a
 
      1st Apr 2007
Hi all,
I'm using this procedure in order to send mail:

Set iMsg = CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")

With iMsg
Set .Configuration = iConf
.To = "(E-Mail Removed)"
.CC = ""
.BCC = ""
.From = """Max"" <(E-Mail Removed)>"
.Subject = "Mail Subject"
.TextBody = "Text Example"
.AddAttachment "C:/Temp/" & WBname
.Send
End With

all works fine on my computer, but in office I receive this error message:

RUN TIME ERROR (80040220)
Configuraton Value "SendUsing" is invalid.

Please, can someone tell me what is the cause?

Thanks in advance
JFM


 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      1st Apr 2007
Read the information on my site Andrea
http://www.rondebruin.nl/cdo.htm

--

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


"Andrea" <(E-Mail Removed)> wrote in message news:460f7960$0$36450$(E-Mail Removed)...
> Hi all,
> I'm using this procedure in order to send mail:
>
> Set iMsg = CreateObject("CDO.Message")
> Set iConf = CreateObject("CDO.Configuration")
>
> With iMsg
> Set .Configuration = iConf
> .To = "(E-Mail Removed)"
> .CC = ""
> .BCC = ""
> .From = """Max"" <(E-Mail Removed)>"
> .Subject = "Mail Subject"
> .TextBody = "Text Example"
> .AddAttachment "C:/Temp/" & WBname
> .Send
> End With
>
> all works fine on my computer, but in office I receive this error message:
>
> RUN TIME ERROR (80040220)
> Configuraton Value "SendUsing" is invalid.
>
> Please, can someone tell me what is the cause?
>
> Thanks in advance
> JFM
>
>

 
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
Message headers, attachments, and the message body may be lost in Outlook 2003 when you reply to an e-mail message that contains a References header that exceeds 1,000 bytes gbkhor Microsoft Outlook 0 4th Mar 2009 10:26 AM
Recv'g Message: Unknown message recipient(s); the message was not =?Utf-8?B?U2VuZCBPYmplY3QgQ29tbWFuZCAtIFR3byBhdHRh Microsoft Access Macros 0 29th Sep 2006 03:08 PM
"The system cannot find message text for message number 0x%1 in the message TimothyTrulis@gmail.com Windows XP Setup 0 9th Feb 2006 04:59 PM
Have message opened. Move message to a folder. Message Closes! =?Utf-8?B?c2h3aWc=?= Microsoft Outlook Discussion 1 16th Jan 2005 01:43 AM
Office XP- OUTLOOK: Format toolbar is inactive. Cannot select font, color, underline, italic, etc. This occurs in new message, forward message amd reply message. Tools, Options, Customize, selections do not change the status in the messages. Hel =?Utf-8?B?V01E?= Microsoft Outlook 3 21st Feb 2004 05:56 AM


Features
 

Advertising
 

Newsgroups
 


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