SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
MailSendWithAttachment

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



Joined: 10 Oct 2003
Posts: 6

Post MailSendWithAttachment Reply with quote

Is it possible to attach multiple files to an e-mail using MailSendWithAttachment?

We have reports that are generated each day and we wish to send them out to a group of users
in one e-mail. Please let me know if this is possible.

Thank you!

Fri Oct 10, 2003 8:24 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: MailSendWithAttachment Reply with quote

Sure. Specify attachment file names as a comma separated list.
Same stands for recipients, if you have multiple recipients, specify them as a list.

: Is it possible to attach multiple files to an e-mail using
: MailSendWithAttachment?

: We have reports that are generated each day and we wish to send them out to a
: group of users
: in one e-mail. Please let me know if this is possible.

: Thank you!

Fri Oct 10, 2003 8:39 am View user's profile Send private message
Christopher Edwards



Joined: 10 Oct 2003
Posts: 6

Post Re: MailSendWithAttachment Reply with quote

: Sure. Specify attachment file names as a comma separated list.
: Same stands for recipients, if you have multiple recipients, specify them as
: a list.

I thought as much, but when I tried it - here is the result:

Here is my script: It's not finding the second file, even though it exists in
the specified directory.

MailSendWithAttachment( "edwarc13@gartmore.us", "", &
"edwarc13@gartmore.us", "DAILY FILE AUTO SEND", &

"See attached file", "\\\\rsrvpa08\\ordata\\Risk Metrics Oracle Input\\posn.txt, \\\\rsrvpa08\\ordata\\Risk Metrics Oracle Input\\rm_data.txt")

Can you see any issue with this script? (I'm using SMTP)


Fri Oct 10, 2003 8:44 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: MailSendWithAttachment Reply with quote

Try removing extra space between the comma and second file name.

: I thought as much, but when I tried it - here is the result: Here is my
: script: It's not finding the second file, even though it exists in
: the specified directory.

: MailSendWithAttachment( "edwarc13@gartmore.us", "", &
: "edwarc13@gartmore.us", "DAILY FILE AUTO SEND", &

: "See attached file", "\\\\rsrvpa08\\ordata\\Risk Metrics
: Oracle Input\\posn.txt, \\\\rsrvpa08\\ordata\\Risk Metrics Oracle
: Input\\rm_data.txt")

: Can you see any issue with this script? (I'm using SMTP)

Fri Oct 10, 2003 10:55 am 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.