SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
MailSendWithAttachment Question

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
MailSendWithAttachment Question
Author Message
mlr0911



Joined: 13 Jul 2007
Posts: 35
Country: United States

Post MailSendWithAttachment Question Reply with quote
Is there a way to tell the MailSendWithAttachment code to send an email to certain people based off of a list of email address in an excel sheet?


Thanks for your help.
Wed Aug 08, 2007 12:18 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7951

Post Reply with quote
It is sure possible with some scripting. For example, you can setup an ODBC profile to access your Excel worksheet like a table in the database. Excel ODBC driver comes with Windows. You can then code a JAL job in 24x7 to connect to the file (DatabaseConnect) and retrieve the data from it like fro ma table in the database (DatabaseRetrieve) after which loop though all returned records and send and execute MailSendWithAttachment for each record.

Another way to implement this is to use VBScript job in 24x7 to access data in Excel file. An example job for Excel is available in the Examples Job database file provided with the 24x7. You can have the VBScript job call internal JAL' MailSendWithAttachment function using the built in JAL.Execute interface.
Wed Aug 08, 2007 2:33 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.