Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default email sending to a group name error

I will be grateful for any help on the following. I have a short macro that
sends an email message; the receipients address is held in a cell =
s_Config.Range("Config_Email")
When the receipient is a single address this works fine, but if it is sent
to a group name;ie, several different people, then it errors out but usually
the message is actually sent

I show below the code I am using



ESubject = Successful"
Sendto = s_Config.Range("Config_Email")
EBody = "Operation is successful"


Set App = CreateObject("Outlook.Application")
Set Itm = App.CreateItem(0)

With Itm
.Subject = ESubject
.To = Sendto
.Importance = 2
.Body = EBody
.send
End With

Set App = Nothing

--
with kind regards

Spike
Reply
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
Sending a group email Newbee Excel Worksheet Functions 9 February 11th 10 05:47 PM
Getting #name? error in cells after sending spreadsheet via email rexie3 Excel Worksheet Functions 6 December 5th 08 08:12 PM
error sending email (as attachment) from within Excel 2000 Plasticgeek Excel Discussion (Misc queries) 0 December 17th 07 03:36 PM
Error in Sending Email via CDO Danniel Chen Excel Programming 9 October 13th 04 01:51 PM
Sending Email using CDO ERROR Todd Huttenstine[_2_] Excel Programming 10 November 17th 03 08:06 PM


All times are GMT +1. The time now is 09:16 AM.

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

About Us

"It's about Microsoft Excel"