In the Outlook Add-In API for javascript in a Compose Form, is it possible to require a Read Receipt on a message before it's sent? - exchangewebservices

I'm trying to find out if it's possible from an Outlook Add-In for a Compose Form to add a Read Receipt to a message before it's sent.
My company has a form library built in an older version of outlook and an older version of exchange. The form has quite a few fields that are easy to replicate with an outlook add-in. The main requirement that I haven't been able to find any documentation on is that each time the form is used to send a message, it automatically checks the Options/Tracking/Send Read Receipt checkbox before the form creates the email body and sends the message.
I've read through the documentation (https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/), but I haven't been able to find anything that mentions Tracking or Read Receipts. Is that something I'd have to call in Exchange Web Services or access through the REST API? All of the messages sent with this add-in will be going to recipients inside my company.

Currently the Read Receipt feature is not a part of the Outlook Add-Ins framework. We track Outlook Add-In feature requests on ourĀ user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process. Alternatively, you may be able to use the Outlook REST API to achieve this.

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.

How to specify a read receipt for MailApp

I am using MailApp from Google Apps Script to send emails. When I send an email, I want to be able to track to see if the email was opened or not. This email account is a G Suite account and Email Read Receipts is set to "Allow email read receipts to be sent to any email address."
With MailApp, how do I specify to send the read receipt for the email?
I believe this is not possible with the MailApp class. The only option I thought it would be possible is by using the method sendEmail(recipient, subject, body, options). However, this method does not include any option to request for a read receipt as how you can see under the Advanced parameters explanation.
I also checked the GMAIL API service and there is no option to do this as well. The help center article here, explains this is available inside the gmail web UI and after several testing, I found out this is not possible via API.
In summary, by using apps script or the Gmail API is not possible to achieve this. The only thing that comes to my mind right now, is to implement a system in which you will include a unique image in the message and track for when the image is loaded. When the image is loaded, that means the message has been read. I have no idea how to implement such solution but I know is possible.

How we can send small form in Email using AS3

I create small form (Name, email, Subject, Message) in Flash. Want to send this by email using AS3 code.
Can we use this offline? Like, we fill all the detail and after submit then its go online and receive the detail in email
as #esimov said, security is not major concern then you have to use SMTPMailer, because your mail send in pure text form to the e-mail server. but if you want to use SMTPMailer then you can use some encryption and decryption method in it. This encryption packet with key are traceable. so If security is major concern then you must use airxmail written in actionscript so you can send and receive mail with SMTP, POP3, IMAP4 protocol. best example are given to send and recieve a mail.
May this will help you.
If you want to use an email client directly using Flash technology you need to stick with Flex. It has a robust backend interaction and even more it allows to do some cross scripting interactions.
However if you wish to use Flash and not Flex, actually there is an email sending application called SMTPMailer which sends attached files through emails with the Socket class available in the Player 9 and AS3. Please note, that for security reason is always better to send emails from the server side of the application. So another possibility would be to integrate the email sending part in a server side script.

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.