Created
December 27, 2013 11:00
-
-
Save gabeno/8145545 to your computer and use it in GitHub Desktop.
mail object for gmail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ html: '...', | |
text: '...', | |
headers: | |
{ 'delivered-to': 'email_address@domain.com', | |
received: | |
[ 'by 10.76.90.165 with SMTP id bx5csp523526oab; Fri, 27 Dec 2013 02:41:07 -0800 (PST)', | |
'by 10.194.122.169 with HTTP; Fri, 27 Dec 2013 02:40:46 -0800 (PST)' ], | |
'return-path': '<sender_email@domain.com>', | |
'received-spf': 'pass (google.com: domain of gmajivu@gmail.com designates 10.180.20.15 as permitted sender) client-ip=10.180.20.15', | |
'authentication-results': 'mr.google.com; spf=pass (google.com: domain of gmajivu@gmail.com designates 10.180.20.15 as permitted sender) smtp.mail=gmajivu@gmail.com; dkim=pass header.i=@gmail.com', | |
'x-received': | |
[ 'from mr.google.com ([10.180.20.15]) by 10.180.20.15 with SMTP id j15mr33190190wie.4.1388140866641 (num_hops = 1); Fri, 27 Dec 2013 02:41:06 -0800 (PST)', | |
'by 10.180.20.15 with SMTP id j15mr33190190wie.4.1388140866637; Fri, 27 Dec 2013 02:41:06 -0800 (PST)' ], | |
'dkim-signature': 'v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=MHKUTL9HXaqeH/SAOEp4sZl7BqcfREAjSxd1tj1tGew=; b=pHbm5EDMgCFB8hie1QCjNAYhSY36PObVMCjnFyOZmNObunGoejy1XPYY9SZ3AS4SK+ dHZ6/ZnEZXH+TqwC4/R304g8BYsqBk6jsw36qtmv9KcYZLFSTS9xZbkcAQ/iMNsny1PB OkaGRNCkgEGzkedMehAWc2kzb3XSpv39yr10WTEcaBzOsvdczbhz5N3UX4sZazD0DtRo NRMSZIOsybznCubYvOhARfZpy7Ppbva/ffgbuJ7Udf42lX6hU/GZSS2y8KaBirlI37Y4 sG9l1GvP5tR3C7Z9OWzjtVHCHZ5W1YfCm4T4FPPR2MMgUIyKLDYr1ZSh4eFqmu+ZsIes u6rA==', | |
'mime-version': '1.0', | |
from: 'sender_name <email_address@domain.com>', | |
date: 'Fri, 27 Dec 2013 13:40:46 +0300', | |
'message-id': '<CAOgOiCTSqT-gOeQQTMjrotChsvSUqF=Qub+sorftkmG-PdyQ7w@mail.gmail.com>', | |
subject: 'Hey...', | |
to: 'receiver_name <email_address@gmail.com>', | |
'content-type': 'multipart/alternative; boundary=bcaec53f39854115a704ee81bba0' }, | |
subject: 'Hey...', | |
messageId: 'CAOgOiCTSqT-gOeQQTMjrotChsvSUqF=Qub+sorftkmG-PdyQ7w@mail.gmail.com', | |
priority: 'normal', | |
from: [ { address: 'email_address@domain.com', name: 'sender_name' } ], | |
to: [ { address: 'email_address@domain.com', name: 'recipient_name' } ] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment