Project

General

Profile

Bug #12708

Net::IMAP : Mail To address is not correct when uid_fetch is called.

Added by rupeshj (Rupesh J) almost 3 years ago. Updated almost 3 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
[ruby-core:77075]

Description

Hello,

In the mail box, I have a mail with the following headers,

!mail_source.jpg!

When I connect to the Mailbox, And call,

raw_mail = imap.uid_fetch(uid,'RFC822')[0].attr['RFC822']

The headers TO address, shows me something other than the above value.

The mail box is configured with different proxyAddresses and any mail delivered to the proxy address, the mail that is retrieved from Ruby is that of the actual mail attribute configured.
How to extract this "TO" email alias.

Thanks.


Files

mail_source.jpg (23.9 KB) mail_source.jpg rupeshj (Rupesh J), 08/26/2016 01:57 PM

History

#1

Updated by rupeshj (Rupesh J) almost 3 years ago

  • File deleted (mail_source.jpg)

Also available in: Atom PDF