MailGun (Binary Data Attachment) - mailgun

any examples of sending an email using mail gun with attachment in binary data?
Using this API Request https://api.mailgun.net/v3/{Domain}/messages

Related

is it possible to get aws sns reply email notification

I need to capture users email reply.
EXP: after receiving an email,if user is replying to that email, I need to capture user replied or not using AWS SNS can anyone help me.
No, you can not capture use email reply directly with SNS, you can not publish to SNS from email, but one way to do that is to have email listening server, receive email and publish email back to SNS.
You can use mailin, process the receiving email, it also support webhook, At this point, Mailin will listen for incoming emails, parse them and post an urlencoded form multipart/form-data to your webhook url.
Mailin is an smtp server that listens for emails, parses them and
posts them as json to the url of your choice. It checks the incoming
emails dkim, spf, spam score (using spamassassin) and tells you in
which language the email is written.
High-level look can be

Is there a way to download usage statistics for emails sent using AWS SES

Is there a way to download usage statistics for emails sent using AWS SES.
I want to download in excel format (preferably) meta data about all emails sent- send-to email, subject, date and time of sending.
Is that possible? or is that information available over API?

How to send mail using gmail rest api from postmnan native application

My requirement is that send an email to some recipient with text body using POSTMAN Native app,
I used the below endpoint with requested data,
Base URL: https://www.googleapis.com/gmail/v1/users/userId/messages/send
Headers :Authorization:Bearer
Request Method :POST
Request body :{"raw";"to:user1mail#gmail.com","subject":"Test_Mail"}
Clicking Send button
But getting error response code 400,required recipient address
Please help me in this to send an email using POSTMAN,and I've tried with upload end point too -https://www.googleapis.com/upload/gmail/v1/users/user1email#gmail.com/messages/send
Thanks in advance,looking for help guys
Came across your question trying to figure this out myself today.
Request body : {"raw";"to:user1mail#gmail.com","subject":"Test_Mail"}
The raw param should be a complete email message that's base64-encoded.
i.e.: {"raw": "VG86IHVzZXIxbWFpbEBnbWFpbC5jb20KU3ViamVjdDogVGVzdF9NYWls"}
400 error means bad request, which could mean there are missing or wrong parameters. Check the Users.messages.send
Path parameters
userId string The user's email address. The special value me can be
used to indicate the authenticated user.
Required query parameters
uploadType string The type of upload request to the /upload URI.
Acceptable values are:
media - Simple upload. Upload the media only, without any metadata.
multipart - Multipart upload. Upload both the media and its metadata, in a single request.
resumable - Resumable upload. Upload the file in a resumable fashion, using a series of at least two requests where the first
request includes the metadata.

WSO2 Identity password recovery

I am trying to send the password recovery notification using our own communication framework (The framework sends SMS and Android notification in addition to the email notification) by following the link Recover with Notification.
Notification.Sending.Internally.Managed=true
This enables the internal email sending module. If false, the email sending data is available to the application via a Web service. Thus the application can send the email using its own email sender.
Can any one please point me to the webservice that can be used to obtain the 'email sending data' as mentioned in the documentation.
i'm not aware of any webservice to receiving email sent from the notification module.
However, you can build a custom notification module and add in component/lib/ folder. see the below link for information and sample code
http://xacmlinfo.org/2015/09/07/custom-notification-module-for-account-management-in-wso2-identity-server-wso2is/

Receiving the client url with data into wso2 esb and send response to another client

If client sends the www.w3schools.org as url then i have to retrieve
all data in this url like XML data ,HTML data into my service,
and send all these XML data and HTML data to another client.
IS this possible in wso2 ESB, if possible
Can you give me any example for this.
You don't need ESB for this.. Just write a simple service, which accepts a request from the user, and do processing then send back the response to client.