Reading email (from gmail) in emacs 24

After trying many ways, I now use offlineimap to sync messages between my machine and the google server. Gnus then reads messages from the local machine. Postfix is used to send messages to the gmail smtp server. Virtues of this setup: reading/sending email does not involve waiting for servers while in gnus (fast), can read/send … Read more

Is the “Message ID” Email Header unique for each recipient?

According to RFC2822 – Internet Message Format, the short answer is that the “Message ID should be unique for each instance of the message“; however, the MESSAGE-ID field is considered optional and how the MESSAGE-ID field is created is up to the server. Quoted below: The “Message-ID:” field provides a unique message identifier that refers … Read more

Is there a standard domain for testing “throwaway” email?

You can use example.com. According to the Wikipedia article: example.com, example.net, and example.org are second-level domain names reserved by the Internet Engineering Task Force through RFC 2606, Section 3,1 for use in documentation and examples. They are not available for registration. By implementing the reservation, the Internet Assigned Numbers Authority (IANA) made available domains to … Read more

GMail appearing to ignore Reply-To

Take a look at this thread; I think it answers your question. One of the later posts reads: If the “From” address is either the same as the “To” address, or is configured in GMail Settings as one of the ‘Send As…’ accounts, Gmail replies to the “To” address instead of the “Reply-To” address. An … Read more

How to validate an email address in Go

The standard lib has email parsing and validation built in, simply use: mail.ParseAddress(). A simple “is-valid” test: func valid(email string) bool { _, err := mail.ParseAddress(email) return err == nil } Testing it: for _, email := range []string{ “good@exmaple.com”, “bad-example”, } { fmt.Printf(“%18s valid: %t\n”, email, valid(email)) } Which outputs (try it on the … 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/163628/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

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