how to set Mandrill with DKIM and SPF in order to receive the activation link via mail - ruby-on-rails

I am working on a new app (Ruby On Rails) and I have been stocked on Mandrill.
The settings are fine because when I try to register a new user I can see in the terminal the actiovation link and I can go through my registration but I don't receive any mails because I have no idea how to set this:
I tried to follow all the guides but I didn't get them.
Where should I CHANGE these settings?
Thanks for your help
No Answers ???

You should go to your Domain Provider and add there two txt records which will contain texts from Mandrill.
If you use GoDaddy:
go to /domains
find needed domain
go to DNS set up page
Add two records (TXT type, copy texts from mandrill)
Go to Mandrill, press Test and now they should become green

Related

How to get a specific mail's web url from it's ID retrieved from apps script?

Context:
I'm writing a webapp in GAS in order to help sales to find specific mails for GDPR.
it's a sort of mail filters, with some research templates, that returns specific mails of the user's mailbox, then he can delete it, or consult it
Issue:
I'm trying to find a way to open gmail onto the specific mail that is previoused on my webapp.
As I said just above, for a given mail , the user can delete it (This is ok), or open it in gmail to consult the whole thread before deletion. That's the "open" part I don't know how to work with.
Id like to use the UrlFetchApp, and create the URL with the mail.
I'm able to get the id of the mail, but the id isn't the same when you are on gmail. I suppose it's a mix between the id of the mail and the session token. But how may i recreate it ?
Maybe there is a function to do so I haven't find yet ?
Any clues ? :)
Thanks to Kessy, i've outpassed my first impression, tried to enter
https://mail.google.com/mail/u/0/#inbox/[id], and it worked (you're then redirected to the correct URL, the one i talked about, but who cares about that).
So there is no issue... The solution is to use the ID anyway.
I don't even know if this question should be deleted or not.

Gmail ignores metadata for hotel reservation

I'm trying to fix the data that gmail pulls automatically from my emails by supplying the right metadata but gmail ignores it and still shows the wrong checkout date.
I've read through some similar issues found here and I do have the PASS status for DKIM and SPF headers.
ok i had another look on this and referring to LodgingReservation schema
you have to use
checkinTime & checkoutTime properties instead of checkinDate
should work then ;-)

Mandrill - detect forwarded emails?

Is there a way to detect if an email sent via Mandrill has been forwarded by the recipient to someone else?
The email will contain links (click tracking can be on). I'm wondering if somehow if the recipient of the forwarded email clicks any of the links that it could be used as an indicator that the email was forwarded.
Or perhaps some other approach?
There is not a way.
Unless that same message you sent gets forwarded from recipient 1 --> recipient 2 --> back to you (you would check headers), there is not a way. In order for this to even be an option, whoever your recipient uses as an email server/client, would have to be built with this functionality.
- Below is merely added to show a very limited potential to track emails being forwarded.
You could potentially reference an embedded image on the internet (something you can track), AND* if the "forwarded recipient" allows images to be viewed, you MAY* be able to see the IP's that have accessed your image you referenced in the email.
AND* = Image viewing is rarely ever enabled. User has to allow this to happen on a per-email basis.
MAY* = Now you run into the hassle of trying to understand your recipients network and if many people share public IP's (think home networks or small businesses, cheaper for internet provide to assign one IP to house/building)
You would THEN have to go into the hassle of tracking down an IP to a person.
As i know it is not posible to track normal forwarded e-mails. I mean mails that are forwarded with the "forward" button of the mail client.
I've seen some times an "Click here to forward" button in news letters. When you click on that button you go to an web page where you can put the mail address of the recipient. When you click on the send button an exact coppy of the newsletter is send to the mail addres which is typed in the textbox. With this method you can track the forwards.
The problem is that not everyone uses this method (so uses the default forward button). To trigger people to use your button you can give them something special (discount or credits where they can get something with). A second thing is that you need to put the button on the top of your mail for the best result.
If it is posible with Mandrill i cant tell you but i read in this topic the Mandrill support is good so maybe you can mail them. You need to do an fund first so you can get use the support but they can tell you if it is posible and how.
Link to Mandrill support page
Though I haven't used it, I believe it is possible with Merge Tags. Refer the below
The MailChimp *|FORWARD|* merge tag generates a link to an online form where recipients can share your email with others. Because Mandrill emails are generated and tracked individually, a web version isn't provided automatically.
More details can be found here

How to change the issue Type of an issue in JIRA via email?

I am working on an MVC application that is currently sending an email to JIRA and it is creating an issue. I am currently configuring all of the required fields and currently the issue being created has the issue Type set to bug as a default and also I think the priority set to minor.
I need to be able to change these two fields from the default as this application is used for clients that need to choose the correct issue and priority.
Currently I am using the TO, FROM, CC as the assignees, client and reporter. The summary and description are used by the subject and body respectively. This is why I don't know if it is actually possible to change these.
Can this actually be done, for example in the body "issueType" = "BUG", or "issueType":"Task"?
The application has the IssueType and Priority as dropdown list so could I append this to the body or maybe the subject of the email and send it. All code is working just need to know how/if I can set these two properties.
Update
I saw an example of this being used but I am unsure of how to implement this into an email form or if this can be done. And I am also using smtp gmail to send the information in my MVC application.
handler.params: project=XXOODD, issuetype=2
https://answers.atlassian.com/questions/39041/jira-creating-issues-and-comments-from-email
By default this cannot be done, but by using a couple of add-ons you can successfully get it to work:
https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue
https://marketplace.atlassian.com/plugins/com.javahollic.jira.jemh-ui

Can an email be printed as soon as it enters the Inbox?

We are working on an online food ordering application. When the user orders something from any restaurant, an email is sent to the restaurant's email address mentioning the order details. However, our client wants that an order print out should be generated automatically as soon as a new order is received.
Is it feasible using ROR? If not, any alternate solution to the problem?
When my group wrote something like this we went a little lower tech, and had the system generate a fax and send it to a fax machine at the restaurant. Of course, that's mainly because this was a system working across many restaurants, with disparate IT infrastructures, and the one thing they had in common was each had a fax machine.
I would figure this could be done in 1 of two ways:
1- Outlook event-- Outlook has the ability to set up 'rules', one of which I think allows printing.
2- Create a script that runs every few minutes, checks the email (either through IMAP, or POP, depending on the account), and prints all of them out.
See this: http://ruby.about.com/od/tasks/a/pop3.htm for info on how to check POP3 mail with ruby on rails.
For printing, the links mentioned here seem useful: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/504a616bf3e28057/ff6cb91462dfe961?pli=1
Ensure that you have 'from' or 'subject' filters setup, otherwise there will be a lot of spam printing.
You can use software to print your order automatically when email is received, it supports also print attachment like pdf, word, etc...
It is used by a lot of restaurant to print online order:
http://www.automatic-email-manager.com/

Resources