Skip to content

Instantly share code, notes, and snippets.

@gabeno
Last active January 1, 2016 12:29
Show Gist options
  • Save gabeno/8145067 to your computer and use it in GitHub Desktop.
Save gabeno/8145067 to your computer and use it in GitHub Desktop.
mail object for ymail
// Message #333
{ html: '...',
text: '...',
headers:
{ 'x-apparently-to': '<email_address>@yahoo.com via 98.138.31.140; Thu, 19 Dec 2013 16:50:09 +0000',
'return-path': '<t0058a35c69-e0cd9af96-c48313d748aa4f5085b042a35ccd1cdf@bounce.twitter.com>',
'received-spf': 'pass (domain of bounce.twitter.com designates 199.16.156.159 as permitted sender)',
'x-ymailisg': 'HUq.WUwWLDt6lAQnXg3wAfGN1o6LPrWrzivGCVzzcqdNHaR8 KjFr5XCUy_4_pGxLJIYCJ2MahDvriOUhWUwZk3CvuA1xC6i.eU7gMr20R0pa TVY9cHUiqC.1K3F8hxrbm2nEakr0lmjkkCDkUqYoA0zynO_0jKIJLN0cXrmK LF1vXaa_1637dgYnuOOTN_d4QBh8xZ3iEkmUwJDPYkZp8bHz0aV7BAhfJ5Qe ygkJZPayB5eILh.4gsNxvMOYnESrIvUxa3dgDheBP7TUeZHcbPTdsvqx3SG5 sKuzRId2FzHvoyCcT.RM2EZyQ6gbnZfL_pXnopAHz_tyvkch_Wz5pR.PwaGG bzI28orN40hDz_29F311O5tZjwJGBySwnu_H807Bnmq_KitbhnpC3cEcZydS 2L5cUU9b9eIY.f_UrSjhPVRM_mNCou7qeWrq9n0VMz3wFc35BGaGyheB.Sii JIUXrzui6JYyxXlW1Evx7JIezIp1j7Thmgm7XqIvWnQe8.LjnMt8NCYXWsl3 O.3bb88GF5gBMt4XvkgZIWVhjOlnIFjktHbgyUbNgbig1AevO2tNGIrd4w5L KNH4q8uOzFTBK7dejVGJ4i6XY6Z8OqoX15GCvmHzKKIgG7EFZkRPvDyzZ_bR PRvnagzgZl8vl5H5rInNDCfyiptRtJnRAFruw5IZaz19XE07yvcICbytli4p o5IZW38S0ZgpM0GDccnz6_eFz5AjjSi4v1BUUHHHkUPC3HEhDkza2AI5qSra vkWUBIQo0jhNQu7pbQFEugM_TXgjbBI6Xd2mkNkm.01rEUHivx1kj_FO9hnH ZitR2evvYzZnXyO7uCIoMG956y26uMrzRB75mS1F5h8TTyFYz7Cn.2kdsFdA Shuyf9uEfZjB7wBlxC0womRdJwofRaVPD7DR6tQPuFMpsIYgCwn9KdK13qzS 31Inn8xZm9dKyKsqvzm3mp8B8f.8m8x9Vs7j8BTrNBwo97LcsmbOp6WLWucq tY_IaZgPuMa6Y4jjnRk3kMDQmvCJAzuV_XWYrH3THm5bwrXxuT4DTZ2RtUTn _Sv_.bTRHo5rVxkCUmb2Lw6akP2N3hOoUB08k6mnmIe0Y74ombm2r3JNem4g DBkNwACF_qoROH8vfQ_PjaV2HkWTWksP957XsO0p8aUgMFDUuedVtCwVFf0w CuETOPnQZSxH0OMffDOuPCul9ytn6k1pyxqCMQLJnbAXtgCIwDJvSoZ9sXcr XtaWxxpzHpng6JTx.EJ4E2Ed3PHk4qjNNwXFiHg63QEZfCk6TOoeTTYEMCfX Pm2nrO_wtzlmpAeIgZNEhvUz64ar6GiffPn5UfWxRkxomwHpuEoq11CF5mIi cyMN6Dh87m1BrzVgGcHl7B_AGChk.f9A5w--',
'x-originating-ip': '[*.*.*.*]',
'authentication-results': 'mta1535.mail.gq1.yahoo.com from=twitter.com; domainkeys=neutral (no sig); from=twitter.com; dkim=pass (ok)',
received: 'from 127.0.0.1 (EHLO spring-chicken-at.twitter.com) (199.16.156.159) by mta1535.mail.gq1.yahoo.com with SMTP; Thu, 19 Dec 2013 16:50:09 +0000',
'dkim-signature': '...',
date: 'Thu, 19 Dec 2013 16:50:03 +0000',
from: 'sender_name <[email protected]>',
to: 'receiver_name <[email protected]>',
subject: '...',
'mime-version': '1.0',
'content-type': 'multipart/alternative; boundary="----=_Part_19256424_1035014098.1387471803461"',
precedence: 'Bulk',
'message-id': '<[email protected]>',
'content-length': '10889' },
subject: '...',
messageId: '[email protected]',
priority: 'normal',
from: [ { address: '[email protected]', name: 'sender_name' } ],
to: [ { address: '<email_address>@domain.com', name: 'receiver_name' } ] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment