BluiSh Posted September 14, 2013 Posted September 14, 2013 Hello I have a solution already with reports in a normal basis, my question is that I need to send the report via email insted of printed, I know that we have a script step already to send emails but I have to attach a file in order to send an email, there is any more functional o direct way to do it? Any help would be very appreciated. Sincerely BluiSh
doughemi Posted September 14, 2013 Posted September 14, 2013 You will have to use a plugin such as SMTPit or Mail.it .
No_access Posted September 14, 2013 Posted September 14, 2013 I us the script step save records as PDF , then attach that to the email using the send mail script step .
bcooney Posted September 14, 2013 Posted September 14, 2013 @doughemi - I'm surprised at your answer, and assume that I'm missing something in the original question, since your knowledge level is such that you must know that FM's built-in capabilities support one attachment. @Bluish - you have a choice. The Save as PDF script step allows you to create a PDF of a report and with a click of a checkbox in the options, attach that report to an email. otherwise, as No_access suggested, export the PDF (to the Temporary folder, perhaps, $exportPath = Get (TemporaryPath) & "myreport.pdf" ) and then attach that file to the outgoing email using Send Mail referencing the $exportPath in the attachment field.
doughemi Posted September 14, 2013 Posted September 14, 2013 but I have to attach a file in order to send an email, there is any more functional o direct way to do it? The OP said he didn't want to use an attachment.
BluiSh Posted September 14, 2013 Author Posted September 14, 2013 Oky doky Thanks to everybody for the response, I'm going to try bcooney option, because I don´t want to buy any plug in, or the plug that you mentioned doghemi is for free? Sincererely BluiSh
bcooney Posted September 14, 2013 Posted September 14, 2013 @ doughemi - wow, you read into that statement that he wanted an html email with his "report" the body. Given that, yes, he'd need a plug-in (and quite a bit of html). So, BluiSh, can you elaborate on "any more functional o direct way"? Are you trying to avoid attachments? You can dump text (albeit plain text) into the body of an email, but many of us here don't picture that as a "report." demo here
Recommended Posts
This topic is 4079 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now