SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Mailsend to CC and BCC

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Mailsend to CC and BCC
Author Message
Mark



Joined: 09 Jan 2002
Posts: 32

Post Mailsend to CC and BCC Reply with quote

Is there a way to send an Email using mailsend and mailsendwithattachement to CC and BCC recipients? I have tried several things and looked for online help without success.
Thanks.

Tue Mar 11, 2003 12:27 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Mailsend to CC and BCC Reply with quote

BCC is not supported at this time, as for the CC you can simply specify comma separated list of recipients in the TO.

If you really need to do BCC you can create VBScript job that uses either Outlook COM automation or Microsoft CDO objects (available in Windows 2000 and XP).

Her is a VBScript example for CDO

Sub Main()
Set objMail = CreateObject("CDONTS.NewMail")
objMail.From="me@mydomain.com"
objMail.To="user@domain.com"
objMail.Cc="user2@domain.com"
objMail.Bcc="user3@domain.com"
objMail.Subject="Test Mail"
objMail.Body="This is a test mail using CDO"
objMail.Send
Set objMail = nothing
End Sub

For more info please check http://msdn.microsoft.com/library/en-us/cdo/html/_olemsg_full_send_sample_application.asp

: Is there a way to send an Email using mailsend and mailsendwithattachement to
: CC and BCC recipients? I have tried several things and looked for online
: help without success.
: Thanks.

Tue Mar 11, 2003 1:21 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.