Email Header for Direct Message Email?

24 views
Skip to first unread message

Mike Schinkel

unread,
Aug 3, 2008, 5:25:34 PM8/3/08
to Twitter Development Talk
Hi Alex:

In the spirit of this post (http://groups.google.com/group/twitter-
development-talk/msg/b733b00157c708c0) I was wondering if you would be
so kind as to add in email headers for direct messages too? I'd love
to see the following, if possible:

X-TwitterEmailType: direct_message
X-TwitterSender: MikeSchinkel [805621]: Mike Schinkel
X-TwitterRecipient: al3x [18713]: Alex Payne
X-TwitterMessageText: This is my direct message to Alex. :-)

Of course regarding the last header I proposed you might say that the
message text is in the body thus redundant and if you took that
position I'd demur. But since messages will always be < 160 chars it
would be nice to have access in code simplified to just regex matching
a header. You'd of course need to strip CRs & LFs...

Hope that you can see this as a doable item...

-Mike

Mike Schinkel

unread,
Aug 4, 2008, 1:28:02 AM8/4/08
to Twitter Development Talk
As a quick follow up, if I could parse incoming Twitter DMs using
email I'd have to call the DM API much less frequently (maybe once
every 3 minutes instead of once every minute...)

Hans Engel

unread,
Aug 4, 2008, 10:01:15 AM8/4/08
to twitter-deve...@googlegroups.com
I think this is a really cool idea. +1.


Alex Payne

unread,
Aug 4, 2008, 6:50:38 PM8/4/08
to twitter-deve...@googlegroups.com
I like it a bunch. Mind submitting it as an Enhancement?
http://code.google.com/p/twitter-api/issues/entry

On Mon, Aug 4, 2008 at 7:01 AM, Hans Engel <en...@engel.uk.to> wrote:
>
> I think this is a really cool idea. +1.
>
> ☂
>

--
Alex Payne
http://twitter.com/al3x

Jesse Stay

unread,
Aug 4, 2008, 6:52:57 PM8/4/08
to twitter-deve...@googlegroups.com
Just curious how you saw this working - would the user have to give Twitter a special e-mail address you give them so the e-mails come to you?  How would you intercept the e-mail other than through that method?  I've thought of this too - curious how many users would be willing to give Twitter a different e-mail address.

Jesse
Reply all
Reply to author
Forward
0 new messages