Content Transfer Encoding 7bit or 8 bit

It can be a bit dense to read, but the “Content-Transfer-Encoding” section of RFC 1341 has all of the details: http://www.w3.org/Protocols/rfc1341/5_Content-Transfer-Encoding.html The situation kinda goes from bad to worse. Here’s my summary: Background SMTP, by definition (RFC 821), limits mail to lines of 1000 characters of 7 bits each. That means that none of the … Read more

Should I use the Reply-To header when sending emails as a service to others?

I tested dkarp’s solution with gmail and it was filtered to spam. Use the Reply-To header instead (or in addition, although gmail apparently doesn’t need it). Here’s how linkedin does it: Sender: messages-noreply@bounce.linkedin.com From: John Doe via LinkedIn <member@linkedin.com> Reply-To: John Doe <John.Doe@gmail.com> To: My Name <My.Name@gmail.com> Once I switched to this format, gmail is … Read more

What is the behavior difference between return-path, reply-to and from?

Let’s start with a simple example. Let’s say you have an email list, that is going to send out the following RFC2822 content. From: <coolstuff@mymailinglist.example> To: <you@example.com> Subject: Super simple email Reply-To: <coolstuff-threadId=123@mymailinglist.example> This is a very simple body. Now, let’s say you are going to send it from a mailing list, that implements VERP … Read more

Making email addresses safe from bots on a webpage? [closed]

Working with content and attr in CSS: .cryptedmail:after { content: attr(data-name) “@” attr(data-domain) “.” attr(data-tld); } <a href=”#” class=”cryptedmail” data-name=”info” data-domain=”example” data-tld=”org” onclick=”window.location.href=”https://stackoverflow.com/questions/483212/mailto:” + this.dataset.name + ‘@’ + this.dataset.domain + ‘.’ + this.dataset.tld; return false;”></a> When javascript is disabled, just the click event will not work, email is still displayed. Another interesting approach (at least … Read more

Insert a line break in mailto body

I would suggest you try the html tag <br>, in case your marketing application will recognize it. I use %0D%0A. This should work as long as the email is HTML formatted. <a href=”https://stackoverflow.com/questions/22765834/mailto:email@mycompany.com?subject=Subscribe&body=Lastame%20%3A%0D%0AFirstname%20%3A”><img alt=”Subscribe” class=”center” height=”50″ src=”subscribe.png” style=”width: 137px; height: 50px; color: #4da6f7; font-size: 20px; display: block;” width=”137″></a> You will likely want to take out … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)