I need to QR-encode an e-mail message with custom recipient, subject and body, so most mobile QR-Code scanner apps will automatically create an e-mail with the encoded recipient, subject and body. Of course this will depend from the features of the mobile QR-Scan app. But isn't there an international standard for such a purpose?
A Qr-code can contain many different types of information:
Contact information
Calendar event
E-mail address
Phone number
Geo location.
SMS
Text
Wifi network
URL
(from here)
The E-mail adress does'nt allow us to store body message.
The only information that could work is the URL, using the mailto scheme: http://en.wikipedia.org/wiki/Mailto
For example, encode mailto:someone#example.com?cc=someone_else#example.com&subject=This%20is%20the%20subject&body=This%20is%20the%20body
This generates the following QR-Code.
It doesn't open the mail app on my phone (Samsung Galaxy S2), but asks to add the email Adress to your contacts.
What you could probably do is to direct to one of your server, that will then redirect to the mailto URI. (I'm not sure that you can redirect to mailto , cf Django: how to redirect to mailto), howewer, you could create a big link on the page that mails to your adress.
The mailto: scheme is a pretty good choice, since it lets you specify a subject and body:
https://www.rfc-editor.org/rfc/rfc2368
It's not guaranteed that the scanner, or e-mail client, supports or honors it of course.
See also the old DoCoMo MATMSG format. Barcode Scanner supports this on Android for example, and has space for an email body.
https://code.google.com/p/zxing/wiki/BarcodeContents
http://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/application/mail/
Related
Email is sent using Amazon simple Email service form my website. When an email is sent to any Yahoo or Gmail address, it is delivered to Inbox; but when it is sent to Hotmail,it is delivered to Junk.
Why only Hotmail Treats my email as junk?
When an external user sends email messages to an Outlook.com account,
SmartScreen® filter technology evaluates the content of the messages
and assigns each message a rating based on the probability that it is
a junk email. This rating is stored as a message property called a
spam confidence level (SCL) within the message itself. The SCL rating
stays with the message as it is sent to other anti-spam protection
layers within Outlook.com. Rules inside Outlook.com are set to handle
email messages with various SCL ratings. If a message has an SCL
rating lower than a certain threshold, it is considered to be spam,
and a rule then deletes the message rather than sending it to the
user's junk email folder. If the message has a higher SCL rating than
the threshold, the email is delivered to the user's junk email folder
rather than to the inbox.
https://mail.live.com/mail/junkemail.aspx
Not all the Anti-Spam system depends only on 3rd party blacklists. Major email service providers builds their own reputation table in addition with the use of major 3rd party blacklists like spamhaus, barracuda etc. In your case, you are using Amazon SES to send mails.
I, myself found enormous marketing mails coming from Amazon SES. If the reputation of your email service provider is bad in hotmail then it may trigger the suspicious level of your mail regardless of your email service provider reputation at other blacklist providers. In addition to this, if your subject, body content contains some suspicious words then your mail will end up in junk folder.
Most emails sent from third party applications such as Wordpress, Joomla, or Amazon get diverted to junk and sometimes they fail and get stuck behind a security layer. I know for a fact with Wordpress Contact Form 7, this is the case many times.
After so many years and finally attending a seminar for this particular issue, I finally was able to solve this problem specifically for Hotmail (Outlook.com).
Before you do anything ensure your SMTP settings in your web config file (ASP.NET) are written correctly or in case of plugins (Wordpress) make sure the fields are filled correctly. This means ensuring these are the settings you are using for Outlook:
From: your email ("asdf#outlook.com")
From Name: "Your name or company name"
Host: smtp.live.com
Type of Encryption: TLS
SMTP Port: 587
SMTP Authentication: Yes
Username: Same you use to login (usually the complete email address)
Password: Enough said there
IMPORTANT - Send a test email even if it fails. The point is to trigger an activity in Outlook and have them flag it as an
unauthorized connection
Now, to the fix:
Go to Outlook.com
Login
go to Account Settings
Choose Security & Privacy
Click on "See my recent activity"
The most recent activity should be the fail attempt. Authorize it as a trusted connection.
Done!
Re-test and you shall see your emails showing in the inbox as an authorized connection. Doing these steps let Outlook know that your emails from Amazon are legitimate connections and not Amazon trying to spam your account with solicitations etc.
Mostly it is a email service provider specific thing but you can do below checks
Ensure valid sender email address
Try not to use keywords like gift, prize etc. which are preferably spam activities
Try using https://litmus.com which may help on this/ rendering email in different email clients
I have a contact us form in one of my asp.net website, which contains following field:
NameContact NumberEmail AddressSubjectMessage
Now whenever user fill up the form and submit it, i want to receive mail in my inbox with the user's mail as the "from".Now as i don't know which server user would be using and his credentials, how can i send the mail, "from" as his email address and "to" as mine.I know that's quite possible, here is one of the site who does exactly that
Once you choose any of the greetings and click on send, it will ask you for sender's name and email and receiver's name and email and it sends email to receiver with the senders mail in the from field.
SmtpClient uses MailMessage to send emails. MailMessage has From property. See the link, it has code example
http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.from.aspx
Not sure if this overkill for what you want to do, but I have used this in the past with great results, especially with sending both text and HTML versions of email.
Open Source .NET e-Mail Templating Engine
I am trying to generate QR codes for each of my customers. Each QR code would create an email to me. I've researched and I am pretty sure that I understand how to best create emails with a specific subject and body filled in.
Create the mailto code/script/line that would create the email.
mailto:test#gmail.com?subject=Test%20Subject&body=This%20is%20a%20test.
Create a tinyurl out of the script, to create a more reliable QR code.
http://tinyurl.com/nry2xud
Make a QR code out of it with any standard website. I used http://www.mobile-barcodes.com/qr-code-generator.
This is all fine, but I want the QR codes to mask the sender's email address. I do not want to get an email from a personal email account that the customer has on their phone. I want to replace their email address with the company address that the specific customer works for.
Is this possible? Thank you for any help you can give.
By definition, mailto uses whatever mail client is configured in the user's browser, and sends from their own email address. (From the spec: "Originator fields like From ... when present in the URI, MUST be ignored.")
If you have a web server somewhere, a better solution would be to avoid mailto entirely. Instead, have the QR code direct the user to a page on your server. The server script for that page (written in, say, PHP) would send you the email. Then, it would also serve up a confirmation message to the user.
I'm using "Printer, email and PDF versions" Module (Drupal 7). Its functions are Print pages & forward the page content through email. When i share a page to another person through email, the message is clipped in there inbox and reporting as Phishing , also images are not displaying.
We have to configure anything from admin side.? why does this issue occurs?
Email clients are typically configured not to show images by default for security reasons (Example: hide offensive images, block malicious/harmful images, etc). See https://security.stackexchange.com/questions/7489/why-would-someone-want-to-block-images-in-email.
Similarly, if an email client detects that the From address of your email doesn't match the actual server that sent it, then your email may be flagged as a phishing email. See http://drupal.org/node/336038#comment-4735232.
Consider using a module like an SMTP Authentication module so that you can send emails through an smtp server such as Google's if you're using a Gmail address.
I know there are ways to detect browsers based on CSS rules but I don't know if the same tricks would work for Outlook. The way I think it could work is have CSS rules that show and hide urls so that when a recipient clicks on a link I can tell which email program it came from.
I can't see how this would be possible. Browser detection is done via Javascript (not CSS). And if the user is using a non-web-based email client (such as Outlook), clicking on a link will trigger the default browser to open and load the link. The information the browser sends to your server will have no knowledge of what application caused the browser to launch.
I think your only option would be to have different links for each client and rely on the goodness of the users to click the correct link.
I also think you'd have a fairly high success rate of guessing the client based on a few factors that ARE available after the link is clicked such as:
The device type
The Browser
The Operating System
The email address (if it's gmail.com or hotmail.com you know 99% of them used the web client - or for a better match mix it with the device type)
Then you could make generalisations such as:
Accessed from Windows and not a gmail/hotmail/yahoo webmail address - probably used Outlook
Accessed from OSX and not webmail address - probably used Mail
Accessed from either and a webmail address - probably used Browser
Rules like that could probably give you some pretty meaningful statistics.
If your challenge is to see what email client the person is using, there are simpler solutions than showing and hiding links. The easiest way would be to embed an image, add a query string to it like so:
http://www.yoursite.com/image.png?email=youremail#email.com
You would then catch this serverside and get the user agent string.
The issue with this is with webmail clients like GMail and Hotmail. In these instances the user agent string would be the same as the web browser. Here you would detect the user's webmail client by inspecting the email address, eg. hotmail.com.
There are edge cases such as Google Apps for Business, but this should catch most cases.
Most email senders such as Mailchimp will do mail client analytics for you.