How to get all bounced and rejected emails in AWS - asp.net

I am able to send email using SES (Simple Email Service) in sandbox environment , but i want to get all the emails which were bounced,rejected or had any sort of complain.
Can you please tell me in detail about the configuration and Code ( C# language) needed.
I am using asp.net with C#.
Thanks

You need to create a configuration set in SES through which you can track all the events happen to your sent email, configuration sets currently supports three event destinations
cloudwatch
SNS
Firehose
you can choose any of them based on your requirement SES will send the payload for your desired event for example and event for bounce email etc.
I'm posting a screenshot in which i have configured SES configuration set to track emails which are open and deliver the event on cloudwatch and SNS.
for more information you can refer to AWS documentation
SES configuration Set

Related

Tracking Google Tag Manager publish events

How would I detect a Google Tag Manager publish event and send that to an external system?
I am trying to pinpoint effects of specific tag changes for certain properties and correlate them in a graph the way I might do with a new GitHub tag being created.
I've looked thru documentation but have not uncovered anything yet specifically for this scenario.
You could user container notifications to have an email sent to some service that processes the mail and stores the information.
Or you can use the API, retrieve the container fingerprint and compare it against a stored version of the fingerprint to see if it has changed. This would require you do implement some sort of polling in the API script to check every n minutes for changes.

How to retrieve user's phone number from WeChat ID?

may I know if there is a way for me to retrieve a phone number from the WeChat MiniProgram sandbox given a WeChat ID?
WeChat documentation states that https://developers.weixin.qq.com/miniprogram/en/dev/framework/open-ability/getPhoneNumber.html
Calling the wx.login API is required before acquiring the user's mobile number linked to Weixin. As the API for acquiring the mobile number can be initiated only by a user’s trigger, click the [button]((button) component to trigger it rather than directly calling the API. Note: Currently, this API is applicable to non-individual developers, and the Mini Programs which have completed verification (not including overseas entities).
I've also inspected the WeChat MiniProgram's network activity and found a "mobile" field but it's encrypted.
"overseas entities" means company or organization not in china.Maybe your company entity can't use this API.
In common when user click the button with attribute of open-type="getPhoneNumber", you can get a code string at callback function.
Posting the code to server.
The server will take the code and token to get the phonebumber from wechat-offical server.The api path is "https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=ACCESS_TOKEN".
Server docs "https://developers.weixin.qq.com/miniprogram/en/dev/api-backend/open-api/phonenumber/phonenumber.getPhoneNumber.html"
It's samiler as the process of get user's base information

FareNabber API on Sabre - where do the notifications go

I am interested in seeing if Sabre's FareNabber is an API that works for an application I am building.
The documentation here https://developer.sabre.com/docs/read/rest_apis/air/search/fare_nabber does not explain where/how the notifications get posted to after a subscription made. All I see is the following:
FareNabber nabs the itinerary options and pushes the results to the customer for a purchase decision.
Is this an email to the customer? Is this an HTTP POST with a JSON payload to a server I provide so I can handle the actual email transmission? Where is this documented?
Re Endpoint you set this up during activation:
Note: This service requires activation, please contact your Sabre Account Representative for assistance.
Actually yes you get a JSON - its specified here: http://files.developer.sabre.com/doc/providerdoc/STPS/fare_nabber/v100/FNB_LowFareNotification.json

Error 87 in Authorize.Net payment gateway

I am trying to integrate Authorize.Net in WooCommerce, using the following plugin for it: https://wordpress.org/plugins/yith-woocommerce-authorizenet-payment-gateway/
I set all user IdTransaction Key md5 Hash, but it gives me error 87, I don't understand where I need to put x_market_type as per the support document said.
This is the error I am getting:
From the Authorize.Net documentation about error code 87:
Response Reason Code: 87
Response Reason Text: Transactions of this market type cannot be
processed on this system.
Notes: The server is not configured to process the product type
derived from the market type of this transaction.
This can happen for four reasons:
You are attempting to process a type of transaction that your account
is not designed to process. For example, you attempt to use a card
swipe machine with an account that is enabled for Card Not Present
transactions.
Your software integration is passing an incorrect value
for the field x_market_type. If you are using a Retail account,
x_market_type should be set to a value of "2". The integration guide
for Card Present transactions can be found at
http://www.authorize.net/support/CP_guide.pdf.
Your Merchant Service
Provider may be incorrectly set up for this account.
The product type
(SIC code) is incorrect for this account.
It is recommended to check
the posting URL that is being used for your integration. Please
consult the guide for the integration method you are using to verify
the correct posting URL.
To help troubleshoot this issue, you can confirm the Product Type for
your account using the following steps:
Log in to your account at https://account.authorize.net.
Click Account from the main toolbar.
Click Merchant Profile.
Refer to the Product Type listed under Business Information.

Google Calendar API Get Events from Other Calendars

I'm extending a PHP application that allows managers to create events and assign specific users to those events. Before the user is listed as available to be assigned, however, I run a check against the user's calendar to see if they are available.
I've already built this once for Exchange using EWS and making use of FindItem method to retrieve events in a given timeframe for a user's email address, but I'm having trouble finding an equivalent in the Google Calendar API.
Both Events and FreeBusy Calls seem to require the specific user's calendarId, which is fine for retrieving the active authenticated manager's Calendar information, but not for their users, of which only the email address is currently available to my system.
Is there a way to retrieve events or a calendarId for a user based on a valid Google email address? (Or is there a better way to get other user's FreeBusy status that I've completely overlooked in my research?)
The Calendar API is a REST API that can be accessed through explicit HTTP calls or via the Google Client Libraries. However, please note that all requests to the Google Calendar API must be authorized by an authenticated user.
User's calendar list can be obtained through HTTP request:
GET https://www.googleapis.com/calendar/v3/users/me/calendarList/calendarId
Code examples for supported programming languages can be found in CalendarList: get.

Resources