Jump to content
Macro Express Forums

Send preset Attachment via Email.


tocmo0nlord
 Share

Recommended Posts

Do this to create the filename and email the attachment:

Date/Time: Save "mm_dd_yy" into %T1%
Variable Set String %T1% "BAD_%T1%.xls"
E-Mail Send: Know Recipients, Fixed Text, Attachments

Copy and paste this into your macro:

<DT:mm_dd_yyT:01:3:{P00001}{P00000}{P00000}{P00000}><TVAR2:01:01:BAD_%T1%.xls><EMAIL2:Center:Center:Center:Center:Center:Center:RNR1TOsomeone@someplace.com|someone@someplace.com;S1Report from yesterdayAttached is the report from yesterdayA2%T1%;F>

Link to comment
Share on other sites

Do this to create the filename and email the attachment:

Date/Time: Save "mm_dd_yy" into %T1%
Variable Set String %T1% "BAD_%T1%.xls"
E-Mail Send: Know Recipients, Fixed Text, Attachments

Copy and paste this into your macro:

<DT:mm_dd_yyT:01:3:{P00001}{P00000}{P00000}{P00000}><TVAR2:01:01:BAD_%T1%.xls><EMAIL2:Center:Center:Center:Center:Center:Center:RNR1TOsomeone@someplace.com|someone@someplace.com;S1Report from yesterdayAttached is the report from yesterdayA2%T1%;F>

 

eerr, the file will be in a specific folder //folder/file.xls how can it find it ?

Link to comment
Share on other sites

eerr, the file will be in a specific folder //folder/file.xls how can it find it ?

 

<REM2:List><DT:yyyyT:01:3:{P00001}{P00000}{P00000}{P00000}><DT:MmmmmT:02:3:{P00001}{P00000}{P00000}{P00000}><DT:mmddT:03:3:{P00002}{P00000}{P00000}{P00000}><TVAR2:04:01:\\server\%T1%\%T2\FILES\BAD%T3%_meh.xls><EMAIL2:Center:Center:Center:Center:Center:Center:RYR1TOcarlos.garcia@eh.org|c

arlos.garcia@eh.org;S1FileA2%T4%;F><DIS:<REM2:eeep><DIS:<DT:mmddT:01:3:{P00001}{P00000}{P00000}{P00000}><DIS:<TVAR2:01:01:BAD%T1%_meh.xls><DIS:<EMAIL2:Center:Center:Center:Center:Center:Center:RYR1TOcarlos.garcia@eh.org|c

arlos.garcia@eh.org;S1eeeptA2%T2%;F>

 

 

I got this so far, send out the email but no attachment.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...