Jump to content
Sign in to follow this  
Joseph31

Making a Report that go straight to email

Recommended Posts

Can anyone tell me how I can take an existing report (Letter) and make it open and paste into an email so I can send it.

Thank you

Share this post


Link to post
Share on other sites

Joseph31,

You can use the Send Mail [] script step

or

a better solution may be

use the Open URL [] script step and create calculation field (text)

cEmail =

"mailto:" & EmailField &

"&cc=" & ccField &

"&bcc=" & bccField &

"?subject=" & SubjectField &

"&body=" & "Hi " & NameFirst "," &

"%0D" & "%0D" &

Substitute( Text , "

Share this post


Link to post
Share on other sites

You could just summarize your report into a text field using scripting and calculations and place the contents into the body of the email. If you actually want a report that retains the formatting of your layout, your best bet is probably to use adobe acrobat (or equivalent) to print the report to a pdf file and then use the send mail script step to attach the file to your email. I don't think you can use the open URL script step to attach a file automatically, but somebody correct me if I'm wrong on that.

Share this post


Link to post
Share on other sites

Reed is correct. Microsoft's MSDN info on the mailto protocol does not give an attachment option. I have feverishly searched the Internet for a solution, but to no avail. I have only seen suggestions that file paths can be sent to allow remote opening or the file path on the recipients machine if the file already exists.

A plug-in or the Send Mail [ ] script steps are your attachment options.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.