Yes, just store the full path into a variable (or not) and use that information in the attachment parameter of your sendmail command.
Thank you, Mitch Lawrence Lead Applications Analyst Enterprise Data Standards - NPR/Automation CHRISTUS Information Management *: [email protected] <mailto:[email protected]> ________________________________ From: [email protected] [mailto:[email protected]] Sent: Monday, October 12, 2009 3:47 PM To: [email protected] Subject: [talkbws] Email config I would like to be able to include email functionality in one of my scripts....This includes the need to "reach out" to a server (not where the script is running) and pick up a text file whose name will change on a daily basis...My script already has a variable called FileName that names the file in another step of the process....Can I use something along these lines: \\aaa-servername\e$\directory1\directory2\directory3\CG_Log_"&F("FileNam e")&".txt <file:///\\Anh-server\e$\inserver6\output_agent\cg_export\CG_Log_%22&F(% 22FileName%22)&%22.txt> "" To attach a file or what can I utilize in this situation? Thanks.. Travis D. Hanson, Application Analyst Anderson Hospital 6800 State Route 162 Maryville, IL 62062 618.288.5711 ext 5862 [email protected] --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk .aspx
<<image001.jpg>>
