framework icon indicating copy to clipboard operation
framework copied to clipboard

Date missing in header of ProtoUser emails

Open tgpfeiffer opened this issue 13 years ago • 2 comments
trafficstars

Emails sent by ProtoUser.sendValidationEmail (but also those sent from sendPasswordReset) don't have a Date header in them, which makes them (usually) appear at the very bottom of the email inbox. Also, emails without a Date header are often filtered out by spam filters installed on mail servers.

I suggest to make Mailer.sendMail include the current local time as a default Date header, if not passed in. Otherwise basically everyone needs to override sendValidationEmail etc.

tgpfeiffer avatar Jun 25 '12 22:06 tgpfeiffer

Hmm… I've never needed to explicitly set the Date header in emails. I think this is because many/most SMTP servers add that header if it's missing.

It's fair to request that sendMail add it if the header is absent; however, as a stopgap, consider looking into your SMTP server/MTA and see if there's a configuration option for it to fill in a missing Date header.

Shadowfiend avatar May 13 '14 21:05 Shadowfiend

Unclear how important this is, so I'm going to drop the milestone.

Shadowfiend avatar Nov 16 '16 23:11 Shadowfiend