I would like to know if there is a way from an email sender side to specifically ask Gmail not to take into account an email while trying to generate an event.
This is because one of our emails sends information about an abandon purchase and it is currently automatically generating an event on the user's calendar. This generates a problem for the user because he does not actually has a reservation.
Related
I have an app which sends a daily reminder message. If a user forgets to log in on certain days, it will send an email reminder. I want users to be able to unsubscribe to this reminder by clicking a link on the email. There may also be different kinds of subscription. For example, a user might not want daily emails, but they may want password reset, or blog emails.
Mailgun has an unsubscribe feature. While this allows some control with tags, this seems to lack a resubscription option. They also have a mailing list, but that also seems more for blasting emails rather than opting in to notifications.
One option is to connect the email to my database. So that when the user clicks an unsubscribe link, it will flip a flag in my database such that the user isn't contacted regarding this email. But I can't find a way to do this, that doesn't involve giving the user an API link on the emails.
What are some options I can do to solve this?
You probably would be able to accomplish this using Mailgun mailing lists (but I wouldn't for reasons below). You'd have to maintain a list for each type of email that you want to send to users. So when you add/delete users from your system you'll have to use the API or control panel to add/remove from each of the lists. Mailgun can generate a unique unsubscribe url for each of the lists so that when the user hits unsubscribe from the email it will flag the email as unsubscribed for that one list.
From Mailgun docs:
For managing unsubscribes in Mailing Lists, you can use
%mailing_list_unsubscribe_url%. We will generate the unique link to
unsubscribe from the mailing list. Once a recipient clicks on the
unsubscribe link, we mark the recipient as “unsubscribed” from this
list and they won’t get any further emails addressed to this list.
Mailing lists should work unless I don't understand your requirement.
From my point of view I'd just prefer to handle this inside my own system. Otherwise you have to maintain your application's user records and then a separate mailgun list for each email type. In multiple applications I have user email preferences stored in the db. The user (or customer admin login) can adjust preferences through the UI or in some cases by hitting unsubscribe link in an email which links to a web page (part of my app) "You have now unsubscribed to daily emails" -- the page sets the user as unsubscribed in my app DB.
Its extra work but the advantages to handling this in your app is:
You've only got one user DB (list) to maintain
List membership is easier to modify by the app user or app user account manager
It doesn't tie you as tightly to Mailgun -- in case you decide to
choose another provider
More on Mailgun Mailing lists:
https://documentation.mailgun.com/en/latest/user_manual.html#mailing-lists
Today I started to learn about webhooks and I was wondering if it is possible to know exactly what message is related to a received webhook.
For example, I have a website where customers can register and, after a successful registration, I'm sending them a confirmation via email. Is it possible to know that the customer clicked on that specific email message? (Considering that the customer can receive other types of email messages like password recovery, newsletters, etc). I know I can use the subject (something like if subject == 'Welcome to My Site' then do-email-post-registration-clicked-routine) but if the subject changes, or if they change it (when we reply to a message, usually the email client prepends "Re:" to the subject, I won't be able to track it.
Thanks in advance!
Yes. You can use custom arguments to track individual emails. Custom arguments get sent with event webhooks.
More documentation can be found here: https://sendgrid.com/docs/API_Reference/SMTP_API/unique_arguments.html
I have a Liferay 6.1.0ga1 Portal that requires email confirmation from new registered users.
Following my feedback from the Portal users, and testing with misc Email Providers I've noticed:
Users that use a gmail account for their account, have no problem at all
Hotmail users will receive the 'welcome to our portal' and 'Email confirmation' emails, directly into their junk folder
Yahoo users are receiving most of the sent emails (welcome email, reset pasword, etc) normally, but the email confirmation is never received, and cannot be found even in their Spam Folder. The same happens for every request for a new confirmation mail. In a certain case, the Confirmation email arrived a few hours later, but I cannot really reproduce this scenario.
This is becoming a blocker issue because yahoo users can't register to the portal.
Can anyone provide some ideas on what is causing this behavior, and how could I make sure that all users can receive their confirmation emails ?
Edit:
Could it be that certain email providers are using a strict policy, are blocking the Confirmation Email, because it includes an activation email? I've thought of some solutions like
- Creating a register Hook that informs the new users that they could set their account to accept mails from my Portal
- Creating a hook that will use another Email Template for email confirmation, e.g including the confirmation Token and excluding the activation url
You could take a look at this very old question: How do you make sure email you send programmatically is not automatically marked as spam?
So have you tried the mentioned options in the marked answer there?
I am trying to test the new EventReservation Schema that Gmail offers to transaction confirmation emails sent from my site. I have followed all the steps recommendend on the site (https://developers.google.com/gmail/schemas/reference/event-reservation).
I also used the Structured data markup helper (https://www.google.com/webmasters/markup-helper/?email=true) to generate the Tags. using the script.google.com site i wrote a test to send the same confirmation emails but NO DICE!! Would anyone be able to help me?
How is your test failing? Are you expecting an inbox action button and not seeing it? Or are you expecting Google Now to generate a reminder card?
The Event Registration schema does not give the recipient an action button in the inbox. It should however be used by Google Now to generate a reminder card which will remind the recipient of the date/time of the event.
Google Now will remind the user on the day of the event. The user will
receive a time to leave reminder (based on traffic etc).
- Basic Event Reminder
When using the RSVP Action schema it should cause an action button to be displayed in the inbox that shows a dialog for the recipient to respond with a yes/no/maybe in regard to if they will attend the event.
In either case there are currently (at the time of this writing) a few gotchas in regard to using these schemas.
The first thing you need to know is that you must register with Google in order to be whitelisted to use these inbox actions in Gmail. Without registering and being whitelisted all you can do is send emails to yourself (your own Gmail account) in order to test these schemas out. If your trying to send to someone else's Gmail account it will not work.
Many of these schemas are only in API Preview mode for now.
As of July 11, 2013 the RSVP Action is only enabled for emails sent by Google Calendar.
You can follow updates relating to the inbox actions on the Release Notes page.
Is possible to fire an event in c# when ever user responds to an email using outlook?
I have an approval system which sends out an email to customers, so I am thinking instead of asking customers to login to a portal simply they can respond to email
and I can catch and store that in the database.
Sure, on the receiving side, use Application.NewMailEx event to open the customer's reply.