LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 105
Default Some Error on e-mail

Try replacing the ".send" line with ".display" and check if the
displayed mail is ok.
HTH
Daniel

I use the following code to send e-mail.
It is work for most of my colleague. But some of my colleague got problem in
€œ.send €œ
Please help...Thanks a lot.

Set OutApp = CreateObject("Outlook.Application")
OutApp.Session.Logon
Set OutMail = OutApp.CreateItem(0)
With OutMail
.To = EmailAddr
.Cc = CcAddr
.Subject = esubject
.Body = ebody
.Attachments.Add (folder & SPfilename)
.Send ' <-- Problem in here!!!
End With



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when sending mail with CDO Amedee Van Gasse Excel Discussion (Misc queries) 5 November 28th 08 01:51 PM
e-mail - error message Run-time error 429 CAM Excel Programming 1 July 15th 08 10:44 AM
Error: cannot load the mail service. Check your mail installation. Brad Bowser Excel Discussion (Misc queries) 0 December 20th 05 10:03 PM
Error send mail with CDO JKing[_2_] Excel Programming 6 December 2nd 05 03:19 AM
Mail merge error Robert Couchman[_5_] Excel Programming 0 March 5th 04 12:56 PM


All times are GMT +1. The time now is 10:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"