Dell Boomi: How to add multiple attachments to one email - integration

I hope anyone can help me with this simple problem I have with Dell Boomi.
I have an integration flow where I get several documents from an instance. I want those documents mailed to my emailadress. But now I get 8 mails, with 8 documents. What I want is one mail, with 8 documents attached. It seems so easy but I can not find this in Boomi, or elsewhere online.

You can use Data process shape to combine the documents and then send to the Mail connector.

You can use the IMAP MAIL Connector to send mail with one or more attachments.
You need to add your document to cache and then use it in the imap mail connector operation.
The number of your documents will be the number of attachments.
Can refer to -
https://community.boomi.com/s/article/howtousethemailimapconnector

I found the answer on the Salesforce community page:
How to send multiple attachments through mail connector?
Solution
Solution
Currently sending multiple attachments via mail is not possible.But you can send multiple attachments as a single attachment via email by zipping all the attachments to a single zip file.
If you would like to have this feature in Boomi,please raise a feedback request on Boomi’s Feedback Forum, which is accessible through the Help & Feedback dropdown menu in Boomi AtomSphere.
How to Zip files? Please go through the article "Combining files into a zip"

Use Data process to Zip all the files and pass them through email connector as single attachment.

Related

E-mail templates with Json

Working on a project for my employer. They are searching for a solution to connect JSON to a email template.
For now, I look for a solution where the system who has the JSON, loads the JSON script on a server. Then, we connect that server with a marketing automation system, for example Marketo. We like to create an email template which loads the JSON.
The developer we found, says it is not possible and it will not work in gmail, outlook or any other client. For what I know, it is possible to create a email template with JSON right? Just to be sure, because when it is possible, our problem is not the system, but the developer.
Like to hear your thoughts on this subject. Suggestions are welcome.
So, this can be done, but you're going to need to do some custom development.
Marketo's API includes a request campaign endpoint for triggering Smart Campaigns, including those which send emails. As part of the request campaign payload, you can send {{my.token}} values for the campaign.
If you can set up some middleware between your JSON output that renders the HTML for your email, you can push that rendered HTML as a token in the campaign request, allowing for on-demand email creation based on your JSON content.
There are two caveats with this approach:
You will have to dynamically send the email using Request Campaign. That means if you need to send unique content to multiple folks, you'll be using one API call per email.
Due to the nature of Request Campaign triggers, you will not be able to batch and send using Marketo's controls; however, this should be straightforward to set up on the API side.
You can build an email using dynamic data, e.g. from an API that sends JSON.
However, you cannot send an email that calls dynamic data. The final email that gets sent must be static. That may be what your developer is getting at. Email software will strip out scripts.

Process mailbody with SSIS

I'm working on a SSIS project that mainly fetches data from an oracle DB and puts it in excel sheets, with some logging and email-sending etc.
Situation now: comments are emailed daily and manually copy pasted from outlook into the excel files (oldskool)
Now, we'd like to fetch the (whole) <'body'> of the emails and insert that in excel via SSIS.
2 questions arise:
-- How to fetch the mail itself (fetch it from the exchange? create a process that saves the mail as a html/text file after receiving)
-- How to 'read' the body of the email (I already found some info on this, less of a problem, via a C# script task read the body tag)
Thanks in advance for any input!
You have to use 3rd party components to read messages from Exchange.
It's better to try Script Task to access Exchange (take a look at this question). This way You can access exchange mailbox and put subject, from, to, cc, bcc and body in separate columns in pipeline. Don't forget that connecting to Exchange requires windows account and that way your package must be run by user who owns mailbox. Or You can impersonate him in Script Task.
Since this is quite a task, U guess it would be better to create simple application that will read mails and store them in database so You can retrieve them easily with SSIS.

Using email to update SQL database

Is it possible to use email to update mysql table?
for example I have someone send email which have today article with the image as an attachment and it have to send to particular email address (eg: abc#something.org) to be able to process data to sql table, other address will not work for updating.
Once it receive, it automatically proceed and update sql from the article it receive.
How is it work?
is there any open source that may help this process
Not by sql, you have to involve some sort of programming language which have a subset of methods to communicate with the database and that can receive and send email.
Take a look at Sendgrid (at http://sendgrid.com): they have a parse API (see http://wiki.sendgrid.com/doku.php?id=parse_api for details) that basically lets you convert an email into an HTTP POST. So if you already have a web page that can update the MySQL database you can just modify it to comply with their spec, set up a sub domain that forwards to Sendgrid and then setup a Sendgrid endpoint that takes any email to that sub domain and posts it to your web page.
It depends on your application. If you're using a framework like Wordpress, there are plenty of plugins available to integrate (e.g. Postie). If you have your own custom application, you may find an open source script to download the new messages, but you'll have to implement your own code to update your database.

Creating Outlook mail with multiple recipients and attachment

I have a web application, written in PHP, where we have a couple of files that regularly needs to be sent to multiple recipients. The client wishes to have the mail conversation in their mailbox, so the web app should not send the e-mails itself. Is it possible, and if so how, to do the following:
Create an e-mail with multiple recipients
Add text to the subject and body of the e-mail
Download and attach a zip file which is available on the server
The mail client in question is Outlook - I'm unsure of the exact version.
I'm open to suggestions on which technology to use for this - the client mentioned Visual Basic but I'm unsure of how I could use that on the client side of the web app - or if it's even appropriate.
Assuming that the client want's to send that by hand, you can do all that by using the mailto: in an tag and "&attachment=". The only problem is that attached files need to be localy accessable. If they are not, they are not attached. Exact syntax specifications can be found here: mailto: Syntax
If you have imap access to the customers mail server you could use php imap mail and php imap mail compose to create a email which will just show up in your customers sent email folder.
Also I there is a MIME Message class, where the author claims that it can create and save an email as an .eml file. MIME Class
This is theoretically possible, but only with IE on the client side, and with other limitations and tribulations.
How about a different approach: Have the web server send out the E-Mail, and send a copy into the client's mailbox. Mark the copy with a special header or something, and add a rule in the client's Outlook to sort mails with that header into a specific folder.

send database info to email

I was wondering if sanyone could help me with the following:
I have some info inserted into mysql database on a couple of pages. After this is done I retrieve these info (in a new page) from the database and want to send them via email to various emails including one from the info from database.
I have built the email() function and "SELECT" all the info from the database (have them into some HIDDEN fields).
I am not sure how to go about getting these info sent via email.
I have tried, but all I get is an empty email with no info from database.
Hope I explained my problem and someone can give me clue about this.
Many thanks
Francesco
MySQL does not include a feature for sending email. So you'll need to write additional software to handle the job for you.
One issue to decide, how will the email be requested? -- How will the process be initiated?
You could have your web page (written in PHP or any other language), which shows the information on the screen also send the email. See sending email from php.
A better performing idea is to first queue up your requests for sending emails. That way you won't slow down your web server. Then have a background job process each of the requests, reading the database and sending off the emails. Google for "php background processing" for help or ask more questions on StackOverflow.
Also, remember to check that your email is not being treated as spam.
Re: using the data from the database for sending the email--that's easy, just read the database, then use the information for creating the email's to, cc, subject and other fields.