Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'net/imap'
- def index
- conn = Net::IMAP.new('imap.mail.yahoo.com', 993, ssl:true)
- conn.login("email", "mypassword")
- conn.select("[Gmail]/INBOX")
- conn.uid_search(['ALL']).each do |uid|
- # fetches the straight up source of the email for ymail to parse
- source = conn.uid_fetch(uid, ['RFC822']).first.attr['RFC822']
- puts "#{source}"
- end
- end
- X-Apparently-To: aniketshivamtiwari@yahoo.in; Tue, 29 Dec 2015 11:00:56 +0000
- Return-Path: <bounce@bounce4.communications.yahoo.com>
- Received-SPF: pass (domain of bounce4.communications.yahoo.com designates 67.195.83.93 as permitted sender)
- X-YMailISG: pPW50g0WLDsoxEWhALhG0HpMiS0RE044UqCEWKYvjyAATaEY
- pxhNHS_ersl7vyBrZfn2cChT3YSJBx_Mh6C1uFBflkngLPrhUGK60w6HUPb.
- X0rH1Pudscg0JQLyRqtTYNaLdQoqLgeDN0nrqROlVCwVhty1guaAPoB3xl1K
- YwcKKs4_CNrmdn2Ht1mjoicXQMr6qByjCxUobSOti5DOzVev_LGFtEWSZnS6
- qhsT2kVepd_BWDta0bqfgxj6p32ykyTsA1mvdac_gXbBbvtqOqF80Nf4Lnv0
- AuRSkN7VW09SWfhCdmz6FZOaoBO4GUsAci3J3zs.G3Pzn3BBoVnKFAbYROwv
- hi64kK55xK1obEWGi_JwfcmFiLtSmDgC.JT5BuWRhgRPXYVrx6EPSWaYjvbg
- qYottMxlkYKCTIczXzClA_SEJUE8PSDRVbEXaK1c.vAZrAyMuoAc215gZ4xk
- jcsohAWYLrUg8H9Ph5CaHci8nybOiBdn7SyyvMW.merWiYZTeJb2LMZ4k2TN
- 10oyQiDMAlXmGhLm7AOHXNidFEuD7h7X2Th9Tzz2J9wsSv6xpYN54kADOWMH
- 0IXfOtrnMpjj.rrw5my63uJKI5StBSORqaQbOGshdpgnpX945l9PQoI6F.nD
- GeiuA_rPw24h9gwcH03U7giKUyjVArUho4jp3bJJwhA4rBI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PF
- 0iy8Ta3n2X.pTA--
- X-Originating-IP: [67.195.83.93]
- Authentication-Results: mta1004.mail.sg3.yahoo.com from=communications.yahoo.com; domainkeys=neutral (no sig); from=communications.yahoo.com; dkim=pass (ok)
- Received: from 127.0.0.1 (EHLO mta30.communications.yahoo.com) (67.195.83.93)
- by mta1004.mail.sg3.yahoo.com with SMTP; Tue, 29 Dec 2015 11:00:54 +0000
- Received: from localhost ([127.0.0.1])
- by mta30.communications.yahoo.com (-); Tue, 29 Dec 2015 11:00:53 +0000
- X-VirtualServer: marketing, mta30.communications.yahoo.com, 67.195.83.93
- X-VirtualServerGroup: marketing
- X-MailingID: 67138674::4380860::2743392::11000::ver**1**GUID**YNUJYRYLWXKEIZBS3NKWYWDMDQ_-_::3008_1065216954_0
- X-SMHeaderMap: mid="X-MailingID"
- X-Destination-ID: aniketshivamtiwari@yahoo.in
- X-SMFBL: YW5pa2V0c2hpdmFtdGl3YXJpQHlhaG9vLmlu
- DKIM-Signature: v=1; a=rsa-sha1; c=simple;
- d=communications.yahoo.com; s=201402-std-mrk;
- i=@communications.yahoo.com; h=Content-Transfer-Encoding:
- Content-Type:Reply-To:MIME-Version:Message-ID:X-ReportingKey:
- Subject:Date:To:From; bh=UKvmQgahqDFJ7WeG0aLnu+vkmsg=; b=qC976yD
- PxULmcaMI62cEZzWaXyJD9ic9kG9Bt6UQT5oL85uNDh47MC60zmj1hKXvKqPWgye
- cfnbAOjL+LK5qNb576lOIW3QSSP3jlALYfEZF8ueLeh4UkSIsOEd2UEDm1LABEOl
- LJ6BpyIMnNqeTvHpo+RU4JDK+MG3e4NUS6H8=
- Content-Transfer-Encoding: 7bit
- Content-Type: multipart/alternative;
- boundary="----=_NextPart_E6C_D583_7D089AC2.3028D4FE"
- Reply-To: replies@communications.yahoo.com
- MIME-Version: 1.0
- Message-ID: <67138674.3008@communications.yahoo.com>
- X-ReportingKey: LJ1EBD6U1B8_120I8KKN46A_JJ86PJ13C3F19N::aniketshivamtiwari@yahoo.in::ver**1**GUID**YNUJYRYLWXKEIZBS3NKWYWDMDQ_-_
- Subject: =?UTF-8?Q?Welcome=20to=20Yahoo?=
- Date: Tue, 29 Dec 2015 11:00:53 +0000
- To: aniketshivamtiwari@yahoo.in
- From: "=?UTF-8?Q?Yahoo?=" <Yahoo@communications.yahoo.com>
- Content-Length: 9684
- ------=_NextPart_E6C_D583_7D089AC2.3028D4FE
- Content-Type: text/plain;
- charset="UTF-8"
- Content-Disposition: inline
- Content-Transfer-Encoding: quoted-printable
- =0A=0A=0A----------------------------------------------------------------=
- ----=0A =0A=0Ahttp://in.yahoo.com=0A =0A-------------------------------=
- -------------------------------------=0A =0AWelcome!
- =20
- Your Yahoo username is now active.
- =20
- Dear aniketshivamtiwari,
- =20
- Everyday we're working hard to make your daily habits more inspiring and =
- entertaining. While you're here, check out the amazing new features avail=
- able on Flickr, the all-new Yahoo Weather app, and Yahoo Mail for mobile =
- and tablet.
- =20
- Yahoo Homepage:
- http://in.yahoo.com/
- =20
- Flickr:
- http://www.flickr.com/
- =20
- Yahoo Weather app:
- https://in.mobile.yahoo.com/weather/
- =20
- Yahoo Mail:
- http://in.overview.mail.yahoo.com/mobile/
- =20
- If you have any questions or need additional support,=20
- please visit our Help Center.
- http://help.yahoo.com/kb/index?page=3Dproduct&y=3DPROD_MAIL_ML&locale=3De=
- n_IN
- =20
- Thanks and have a great day.
- Yahoo Customer Care =0A =0A--------------------------------------------=
- ------------------------=0A=0APrivacy Policy=0Ahttp://info.yahoo.com/priv=
- acy/in/yahoo/=0A=0AWeb Beacons in Email=0Ahttp://info.yahoo.com/privacy/i=
- n/yahoo/webbeacons/E13=0A=0A
- ------=_NextPart_E6C_D583_7D089AC2.3028D4FE
- Content-Type: text/html;
- charset="UTF-8"
- Content-Disposition: inline
- Content-Transfer-Encoding: quoted-printable
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://ww=
- w.w3.org/TR/html4/loose.dtd">=0A<html>=0A<head>=0A<meta http-equiv=3D"Con=
- tent-Type" content=3D"text/html; charset=3Dutf-8">=0A<title>Yahoo</title>=
- =0A</head>=0A=0A<body bgcolor=3D"#C0C0C0" style=3D"padding: 0; margin: 0;=
- " leftmargin=3D"0" topmargin=3D"0" marginwidth=3D"0" marginheight=3D"0"><=
- IMG SRC=3D"https://email.communications.yahoo.com/t/dbdbaEFWF6CAA2DsKXyCT=
- XDaaC3a4X0-2~aaaa?r=3Dybu**y**JRLA**bKXGbObIZUNBLWEP6KNTbTGJGN@B@&b=3D=
- dklhhqvelsdjwfzXuf_1Xklr.fq&i=3D" WIDTH=3D"1" HEIGHT=3D"1" STYLE=3D"b=
- order:0px hidden transparent !important; display:none !important; max-hei=
- ght:0;" ALT=3D""/>=0A<table align=3D"center" width=3D"100%" valign=3D"top=
- " border=3D"0" cellspacing=3D"0" cellpadding=3D"0" bgcolor=3D"#C0C0C0" st=
- yle=3D"font-family:Arial,sans-serif;" dir=3D"">=0A<tr>=0A<td align=3D"cen=
- ter" valign=3D"top">=0A=09<table cellpadding=3D"0" cellspacing=3D"0" widt=
- h=3D"500" align=3D"center" border=3D"0" style=3D"min-width:500px;">=0A =
- <tr>=0A <td width=3D"500" align=3D"center">=0A =0A<!--Preheader-->=
- =0A=0A<!--Preheader End-->=0A=0A<!-- Logo Start -->=0A=09<table width=3D"=
- 500" border=3D"0" cellspacing=3D"0" cellpadding=3D"0" bgcolor=3D"#400090"=
- >
- =09<tr>
- =09<td width=3D"20" height=3D"83"> </td>
- =09<td width=3D"140" valign=3D"middle"><a href=3D"http://in.yahoo.com"><i=
- mg src=3D"http://l.yimg.com/dh/ap/default/131029/yahoo_logo.png" width=3D=
- "140" alt=3D"Yahoo" border=3D"0" style=3D"display:block;"></a></td>
- =09<td width=3D"340"> </td>
- =09</tr>
- =09</table>=0A<!-- Logo End --> =0A=0A<!-- Hero Start -->=09=09=0A=09<tab=
- le align=3D"center" width=3D"500" border=3D"0" cellspacing=3D"0" cellpadd=
- ing=3D"0">=0A=09<tr>=0A=09<td width=3D"500"><img src=3D"http://l.yimg.com=
- /dh/ap/default/131105/hero.jpg" alt=3D"" width=3D"500" height=3D"280" bor=
- der=3D"0" style=3D"display:block;"></td>=0A=09</tr>=0A=09</table>=0A<!-- =
- Hero End -->=0A=0A<!-- Headline Start -->=0A=09<table align=3D"center" wi=
- dth=3D"500" border=3D"0" cellspacing=3D"0" cellpadding=3D"0" bgcolor=3D"#=
- ffffff">=0A=09<tr>=0A=09<td width=3D"21"> </td>=0A=09<td align=3D"le=
- ft">=0A=09=09<table valign=3D"top" width=3D"458" border=3D"0" cellspacing=
- =3D"0" cellpadding=3D"0">=0A=09=09<tr>=0A <td height=3D"20" style=3D=
- "font-size:20px; line-height:20px;"> </td>=0A </tr>=0A=09=09<=
- tr>=0A=09=09<td style=3D"font-family:Arial,sans-serif; font-size:23px; li=
- ne-height:23px; color:#6D329C;">Your Yahoo username is now active.</td>=0A=
- =09=09</tr>=0A=09=09<tr>=0A <td height=3D"20" style=3D"font-size:2=
- 0px; line-height:20px;"> </td>=0A </tr>=0A=09=09</table>=0A=09=
- </td>=0A=09<td width=3D"21"> </td>=0A=09</tr>=0A=09</table>=0A<!-- H=
- eadline End -->=0A=0A<!-- Content -->=0A<table align=3D"center" width=3D"=
- 500" border=3D"0" cellspacing=3D"0" cellpadding=3D"0" bgcolor=3D"#464958"=
- >=0A=09<tr>=0A=09<td width=3D"22"> </td>=0A=09<td width=3D"456" alig=
- n=3D"left" style=3D"font-size:13px; line-height:21px; color:#8C8F9E;">=0A=
- =09=09<table valign=3D"top" width=3D"456" border=3D"0" cellspacing=3D"0" =
- cellpadding=3D"0" >=0A=09=09<tr>=0A <td height=3D"28" style=3D" fo=
- nt-size:28px; line-height:28px;"> </td>=0A </tr>=0A=09=09<tr>=
- =0A=09=09<td style=3D"font-size:15.5px; line-height:21px; color:#ffffff; =
- font-weight:bold;">Dear aniketshivamtiwari,</td>=0A=09=09</tr>=0A=09=09<t=
- r>=0A <td height=3D"20" style=3D"font-size:20px; line-height:20px;=
- "> </td>=0A </tr>=0A=09=09<tr>=0A=09=09<td style=3D"font-fami=
- ly:Arial,sans-serif; font-size:13px; line-height:21px; color:#ffffff;">Ev=
- eryday we're working hard to make your daily habits more inspiring and en=
- tertaining. While you're here, check out the amazing new features availab=
- le on <a href=3D"http://www.flickr.com" style=3D"font-family:Arial,sans-s=
- erif;font-size:12px;line-height:normal;color:#ffffff;text-decoration:unde=
- rline;" target=3D"_blank">Flickr</a>, the all-new <a href=3D"https://in.m=
- obile.yahoo.com/weather/" style=3D"font-family:Arial,sans-serif;font-size=
- :12px;line-height:normal;color:#ffffff;text-decoration:underline;" target=
- =3D"_blank">Yahoo Weather</a> app, and <a href=3D"http://in.overview.mail=
- .yahoo.com/mobile/" style=3D"font-family:Arial,sans-serif;font-size:12px;=
- line-height:normal;color:#ffffff;text-decoration:underline;" target=3D"_b=
- lank">Yahoo Mail</a> for mobile and tablet.</td>=0A=09=09</tr>=0A=09=09<t=
- r>=0A <td height=3D"20" style=3D"font-size:20px; line-height:20px;=
- "> </td>=0A </tr>=0A=09=09<tr>=0A=09=09<td style=3D"font-fami=
- ly:Arial,sans-serif; font-size:13px; line-height:21px; color:#ffffff;">If=
- you have any questions or need additional support, please visit our <a h=
- ref=3D"http://help.yahoo.com/kb/index?page=3Dproduct&y=3DPROD_MAIL_ML&loc=
- ale=3Den_IN" style=3D"font-family:Arial,sans-serif;font-size:12px;line-he=
- ight:normal;color:#ffffff;text-decoration:underline;" target=3D"_blank">H=
- elp Center</a>.</td>=0A=09=09</tr>=0A=09=09<tr>=0A <td height=3D"2=
- 0" style=3D"font-size:20px; line-height:20px;"> </td>=0A </tr=
- >=0A=09=09<tr>=0A=09=09<td height=3D"21" style=3D"font-family:Arial,sans-=
- serif; font-size:13px; line-height:21px; color:#ffffff;">Thanks and have =
- a great day.</td>=0A=09=09</tr>=0A=09=09<tr>=0A <td height=3D"35" =
- style=3D"font-size:35px; line-height:35px;"> </td>=0A </tr>=0A=
- =09=09</table>=0A=09</td>=0A=09<td width=3D"22"> </td>=0A=09</tr>=0A=
- </table>=0A<!-- Content End -->=0A =0A<!-- Footer Banner -->=0A=09<tab=
- le width=3D"500" border=3D"0" cellspacing=3D"0" cellpadding=3D"0" bgcolor=
- =3D"#686F7F">
- =09<tr>
- =09<td width=3D"20"> </td>
- <td align=3D"left">
- =09<table width=3D"460" cellpadding=3D"0" cellspacing=3D"0" border=3D=
- "0">
- <tr>
- <td height=3D"31" style=3D" font-size:28px; line-height:28px;">&n=
- bsp;</td>
- </tr>
- <tr>
- <td width=3D"460" style=3D"font-family:Arial,sans-serif; font-siz=
- e:22px; line-height:21px; color:#ffffff;">Yahoo Customer Care</td>
- </tr>
- <tr>
- <td height=3D"30" style=3D" font-size:28px; line-height:28px;">&n=
- bsp;</td>
- </tr>
- <tr>
- </table>
- </td>
- =09<td width=3D"20"> </td>
- =09</tr>
- =09</table>=0A<!-- Footer Banner End -->=0A=0A=0A<!--Footer-->=0A<table a=
- lign=3D"center" width=3D"500" border=3D"0" cellspacing=3D"0" cellpadding=3D=
- "0" bgcolor=3D"#F4F3F8">=0A=09<tr><td width=3D"20"> </td>=0A=09=09<t=
- d width=3D"460" align=3D"left" valign=3D"top" >=0A=09=09=09<table width=3D=
- "460" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=0A=09=09=09=09<tr=
- ><td width=3D"1" style=3D"line-height:22px"> </td></tr>=0A=09=09=09=09=
- <tr><td><a href=3D"https://email.communications.yahoo.com/t/dcdbaEFWF6CAA=
- 2DsKXyCTXDaaC3a4X0-2~aaaa?r=3Dybu**y**JRLA**bKXGbObIZUNBLWEP6KNTbTGJGN@B@=
- &b=3DdklhhqvelsdjwfzXuf_1Xklr.fq&i=3DE0t&u=3D&u=3Dewqs://=
- fqcr.vderl.flp/mufyXfv/lk/1Xklr/4578B7D221B27B7664D0BEF428E0856C6C8D06331=
- F9D7350A397541C39A8FE5B" style=3D"font-family:Arial,sans-serif; font-size=
- :12px; line-height:normal; color:#333333;text-decoration:underline;">Priv=
- acy Policy</a> | =0A=09=09=09=09=09=09<a href=3D"ht=
- tps://email.communications.yahoo.com/t/dcdbaEFWF6CAA2DsKXyCTXDaaC3a4X0-2~=
- aaaa?r=3Dybu**y**JRLA**bKXGbObIZUNBLWEP6KNTbTGJGN@B@&b=3Ddklhhqvelsdj=
- wfzXuf_1Xklr.fq&i=3DE0u&u=3D&u=3Dewqs://fqcr.vderl.flp/mufyXf=
- v/lk/1Xklr/thYebdZrkv/B407C67DE06C54FE81854824B429D6B0BD263D4F2659AF54440=
- 7499E6836E7557F3" style=3D"font-family:Arial,sans-serif; font-size:12px; =
- line-height:normal; color:#333333;text-decoration:underline;">Web Beacons=
- in Email</a>=0A=09=09=09=09=09</td>=0A=09=09=09=09</tr>=0A=09=09=09=09<t=
- r><td width=3D"1" style=3D"line-height:24px"> </td></tr>=0A=09=09=09=
- </table>=0A=09=09</td>=0A=09=09<td width=3D"20"> </td>=0A=09</tr>=0A=
- </table>=0A<!--Footer End-->=0A =0A </td>=0A </tr>=0A </table=
- >=0A =0A</td>=0A</tr>=0A</table>=0A</body>=0A</html>=0A
- ------=_NextPart_E6C_D583_7D089AC2.3028D4FE--
- X-Apparently-To: aniketshivamtiwari@yahoo.in; Thu, 31 Dec 2015 06:12:21 +0000
- Return-Path: <reg.ge4tmmjqgm2dmmrw-aniketshivamtiwari=yahoo.in@returns.bulk.yahoo.com>
- Received-SPF: pass (domain of returns.bulk.yahoo.com designates 106.10.151.93 as permitted sender)
- X-YMailISG: V85jHsIWLDtB9aViJPOQu8hAiVJmqbIvcTTn7I_prolNJvIM
- vSQzyaNsu2BWJHV7Or33_lBuvtfTZkxdOV37AUg60ZyceNsfMw4bvp6gh.ky
- geRBO7X1.Vagz8CuofRwmrJLg15Dj9_Av9UM2K7VpU.W5zBvQbzuYnvTWn4W
- Ow08EPIeUM7jkA_nNwmvgfQmOzuI4HJKBskzzVjAXtaMUpF._vQlYpjnTsbA
- jSpp42HBs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OOM6k21eN6042uAWCsiy7i
- XAyM.8fmM4..QGhBRCaiYnwtn7htiIk_ZAkYNU8qXTQdGiXg9aYgcDFDuxoD
- emM4704R.iiPA2LzDpif01rHPOpwow_sokCTGNFhLC7vszQAbfp2TghVmaq_
- ShRzNmfwSBgNnpy1wZaa2K30ULacTHsFtjsAqfhZq8u3MvqMQSj.ovVTTBIt
- AtjJiDnQrM1nEqI4E1TDjn_udbvb6dTF7JOwqVdheRmQR9MnUSkq31f.Deci
- Wci5iNx1Xl4yL2p.NE8NxBEApTNiIqBKXEQN9pDBYDoDVUG17krJLAPT3jH7
- Blu.yl51qecEIfU8BI4ayMfh5D7uESIf6lR.DeMdpinu2Ih7iObmMqYyxQ--
- X-Originating-IP: [106.10.151.93]
- Authentication-Results: mta1034.mail.sg3.yahoo.com from=cc.yahoo-inc.com; domainkeys=neutral (no sig); from=cc.yahoo-inc.com; dkim=pass (ok)
- Received: from 127.0.0.1 (EHLO n7-vm6.bullet.mail.sg3.yahoo.com) (106.10.151.93)
- by mta1034.mail.sg3.yahoo.com with SMTPS; Thu, 31 Dec 2015 06:12:21 +0000
- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cc.yahoo-inc.com; s=fz2048; t=1451542341; bh=RGYAgscvdIr2IQBJfaXVrSKYuNJQGYB0NJZw18Ws0ds=; h=Date:To:From:Reply-To:Subject:From:Subject; b=AQb+DSoaC1R18M4xN/hhQgaiIKbnFwvi9HncWrdgFd3KdF5Yfkh7Xx+Q5xa2oVYL1cY3R/Cp6srW5dxpAzl2HqauYFCyeIlf1xcXaWYnaTbmJUHREJFgo3Nl6Z6Mu0DbpfzFf8CO6sXdHDNeK+jRcHuPD2U4sLxbNDo9D/XygdDsZfPVaUo4y/V7ysbJRMhAt5YFuGj+7BNxdBNlPJX5n6AkERaFC11jmPQ7WwoH1Xt9zvCqgwcU5IqSMLDziU1Bb68RWUrzzanVx875whthSNZ4pM+PR2JZUg0L7slRd2SVF2QWtg5QeWw6NtAp3PCKo72su6OYFsECh+eAg3a2zA==
- Received: from [106.10.151.237] by n7.bullet.mail.sg3.yahoo.com with NNFMP; 31 Dec 2015 06:12:21 -0000
- Date: 31 Dec 2015 06:12:21 +0000
- Received: from [10.240.81.22] by t2.bullet.mail.sg3.yahoo.com with NNFMP; 31 Dec 2015 06:12:21 -0000
- To: aniketshivamtiwari@yahoo.in
- From: Yahoo<no-reply@cc.yahoo-inc.com>
- Reply-To: no-reply@cc.yahoo-inc.com
- Errors-To: no-reply@cc.yahoo-inc.com
- Subject: =?iso-8859-7?Q?Password_change_for_your_Yahoo_account?=
- X-Yahoo-Newman-Property: reg
- X-Yahoo-Newman-Id: 1961034626
- Message-Id: <1961034626@edit.yahoo.com>
- MIME-Version: 1.0
- Content-Type: multipart/alternative; boundary="==_MIME-Boundary-1_=="
- Content-Length: 5606
- --==_MIME-Boundary-1_==
- Content-Type: text/plain; charset=iso-8859-7
- Content-transfer-encoding: quoted-printable
- --==_MIME-Boundary-1_==
- Content-Type: text/html; charset=iso-8859-7
- Content-transfer-encoding: quoted-printable
- <html>
- <head>
- <meta name=3D"viewport" content=3D"width=3Ddevice-width, =
- initial-scale=3D1.0">
- <style type=3D"text/css">
- html { -webkit-text-size-adjust:none; }
- body { width:100%; margin:0 auto; padding:0; }
- .ReadMsgBody { width: 100%; }
- .ExternalClass { width: 100%; }
- .iosLinkPurple a { color:#400090; text-decoration:none; }
- .iosLinkGrey a { color:#454958; text-decoration:none; }
- .iosLinkSlate a { color:#424242; text-decoration:none; }
- </style>
- <!--[if gte mso 15]>
- <style type=3D"text/css" media=3D"all">
- ol,li {
- margin: 0;
- padding: 0;
- -webkit-text-size-adjust: 100%;
- }
- ol {
- counter-reset: foo;
- display: table;
- padding: 23px;
- }
- </style>
- <![endif]-->
- <!--[if gte mso 9]>
- <style type=3D"text/css">
- .m1930{margin-left:19px; margin-right:30px;}
- </style>
- <![endif]-->
- </head>
- <body>
- <div>
- <table cellpadding=3D"0" cellspacing=3D"0" bgcolor=3D"#ffffff" =
- width=3D"100%" style=3D"table-layout:fixed;">
- <tbody>
- <tr>
- <td align=3D"center" valign=3D"top" style=3D"min-width:500px;" >
- <table cellspacing=3D"0" cellpadding=3D"0" width=3D"500" =
- bgcolor=3D"#400090">
- <tr>
- <td><a href=3D"#"><img =
- src=3D"https://s.yimg.com/sf/email/logo.gif" style=3D"display:block; =
- border:0;" width=3D"500" height=3D"87" /></a></td>
- </tr>
- </table>
- <table cellspacing=3D"0" cellpadding=3D"0" width=3D"500" =
- bgcolor=3D"#f4f3f8">
- <tr>
- <td >
- <table cellspacing=3D"0" cellpadding=3D"0"><tr><td =
- height=3D"23" style=3D"line-height:23px;"><img src=3D"images/sp.gif" =
- height=3D"1" width=3D"1" style=3D"display:block; border:0;" =
- /></td></tr></table>
- =20
- <div class=3D"m1930" style=3D"font-family:Helvetica, Verdana, Arial, =
- sans-serif; font-size:17px; line-height:21px; color:#464958; =
- padding-left:19px; padding-right:30px;">
- Hello Aniket,<br/>
- <table cellspacing=3D"0" cellpadding=3D"0"><tr><td =
- height=3D"14" style=3D"line-height:14px;"><img src=3D"images/sp.gif" =
- height=3D"1" width=3D"1" style=3D"display:block; border:0;" =
- /></td></tr></table>
- The password for your Yahoo account, =
- <b>‎an**************ri‎</b>, was recently changed.
- <br>
- <table cellspacing=3D"0" cellpadding=3D"0"><tr><td =
- height=3D"14" style=3D"line-height:14px;"><img src=3D"images/sp.gif" =
- height=3D"1" width=3D"1" style=3D"display:block; border:0;" =
- /></td></tr></table>
- If you made this change, you=A2re all set.<br><br>
- <div style=3D"background-color:#eae9ee; font-size: 15px;padding: =
- 24px;padding-top:10px;padding-bottom: 10px;">
- <p style=3D"padding-left:9px">
- If not, please take these steps to secure your account:
- </p>
- <ol style=3D"padding-left:25px">
- <li>
- Reset your password on any sign-in screen by selecting the <a =
- href=3D"https://edit.yahoo.com/config/eval_forgot_pw?.intl=3Din&.lang=3Den=
- -IN" target=3D"_blank">I can=A2t access my account</a>link.
- </li>
- <br>
- <li>
- Visit the Yahoo <a href=3D"https://security.yahoo.com" =
- target=3D"_blank">Security Centre</a>to learn how to protect against =
- malicious activity.
- </li>
- </ol>
- <p style=3D"padding-left:9px">
- Feel free to contact <a href=3D"https://io.help.yahoo.com/contact/index?pa=
- ge=3Dcontactform&locale=3Den_US&token=3Dw5FCchB1dWFBK0e02%252BwEyuLoMKXEj8=
- hiMaAs%252B8Qhn9Fh%252FFMQCC3ebEMZfW125VoXEPU0mYntyapqUt3Om%252BB5MDOlh33R=
- l0Gx6HB0ZEOq2Z3DeGCPpmGP05SOzmmkLPGu3%252FF8rDTGhm4%253D&selectedChannel=
- =3Demail-icon#voice-form" target=3D"_blank">Customer Care</a> with any =
- questions or concerns.
- </p>
- </div>
- <table cellspacing=3D"0" cellpadding=3D"0"><tr><td =
- height=3D"14" style=3D"line-height:14px;"><img src=3D"images/sp.gif" =
- height=3D"1" width=3D"1" style=3D"display:block; border:0;" =
- /></td></tr></table>
- Thanks, <br>
- Yahoo
- </div>
- <table cellspacing=3D"0" cellpadding=3D"0"><tr><td =
- height=3D"24" style=3D"line-height:24px;"><img src=3D"images/sp.gif" =
- height=3D"1" width=3D"1" style=3D"display:block; border:0;" =
- /></td></tr></table>
- =20
- <!-- black line -->
- <table cellspacing=3D"0" cellpadding=3D"0" =
- bgcolor=3D"#687080" width=3D"500"><tr><td height=3D"1" =
- style=3D"line-height:1px;"><img src=3D"images/sp.gif" height=3D"1" =
- width=3D"1" style=3D"display:block; border:0;" /></td></tr></table>
- <!-- /line -->
- </td>
- </tr>
- </table>
- <!-- /body -->
- <table cellspacing=3D"0" cellpadding=3D"0"><tr><td height=3D"16" =
- style=3D"line-height:16px;"></td></tr></table>
- <table cellspacing=3D"0" width=3D"500" =
- style=3D"table-layout:fixed;">
- <tr>
- <td align=3D"left">
- <table cellspacing=3D"0" cellpadding=3D"0"><tr><td =
- height=3D"19" style=3D"line-height:19px;"></td></tr></table>
- <div style=3D"font-family:Helvetica, sans-serif; =
- font-size:13px; line-height:18px; color:#333333;">
- Replies sent to this email address cannot be answered.
- </div>
- <table cellspacing=3D"0" cellpadding=3D"0"><tr><td =
- height=3D"14" style=3D"line-height:14px;"></td></tr></table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </body>
- </html>
- --==_MIME-Boundary-1_==--
- require 'net/imap'
- def index
- conn = Net::IMAP.new('imap.mail.yahoo.com', 993, ssl:true)
- conn.login("email", "mypassword")
- conn.select("INBOX")
- conn.uid_search(['ALL']).each do |uid|
- # fetches the straight up source of the email for ymail to parse
- source = imap.uid_fetch(uid, ['RFC822']).first.attr['RFC822']
- //install gem tmail for parsing
- attrs, email = {}, TMail::Mail.parse(source)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement