Eran's blog

Bulk Email Tips and Tricks

DomainKeys authenticationDomainKeys is designed to verify the Email sender’s domain. Most ISPs out there seem to have moved on to DKIM (Domain Keys Identified Mail) but not Yahoo. To get Yahoo to authenticate your DK signed messages you need to include a DomainKeys signature. You can actually get both DomainKeys and DKIM together with DKIMProxy but the documentation is slightly out of date.

To get DKIMProxy to sign using DomainKeys in addition or instead of DKIM follow the instructions for setting up a DKIMProxy_out.conf file on Brandon Checketts’ web site. You may also find his DKIM Validator to be useful.

Sending Email on Behalf – Sometimes you want the sender to be someone other than yourself. For example when users send invites through your website you may want the From field to show the sender’s Email address and name. This requires understanding some SMTP subtleties (envelope sender vs. sender header vs. from header) but there’s some good examples on how to do this on the openSPF website.

Sending from Non-standard ports using JavaMail – If you’re using DKIMProxy you may end up sending email through port 587 (based on the recommended setup). Java makes it a but more complicated than it should be but I found a good bit of sample code here. This boils down to something like:

Transport tr = new SMTPTransport(session, new URLName(smtpHost));
tr.connect(smtpHost, smtpPort, username, password);
tr.sendMessage(msg, recipients);

Calling the connect method yourself is the important part. It seems that otherwise SMTPTransport will use port 25 even if you specify differently in the session’s properties.

Filed under: Java, The Net, , , , , , , , , ,

AvaPeeps Update

AvaPeeps: FlirtNation has been progressing quite rapidly. In the last few months since we’ve launched on the web we’ve been hard at work, streamlining the user experience, making it easier to join and more fun to play.

Mobile and Web still offer quite different experiences and creating a game that works well on both and is fun and engaging on both platforms is an interesting challenge. The last couple of updates focused mostly on making the user experience on the web more fun, taking advantage of more screen real-estate and better UI options. It shows too, the game flows much better and we see more people enjoying it every day. We’ve also been noticed by the blogosphere. Inside Social Games, writes:

What is most interesting, however, is that AvaPeeps was originally a mobile game that migrated to the web space (rather than the other way around). That said, you are also capable of playing the game using T-Mobile, BOOST, Virgin, or Three (in the UK). Mobile games isn’t particularly unusual, but in this case, the game has been tied to the web version as well, allowing players to interact with each other in real time, from anywhere, regardless of whether or not they are using the web or a mobile device.

We’ve got plenty more planned for the next few months, so stay tuned!

Filed under: Projects, , , , , ,