Net::I...Address(3pm)
π Net::IMAP::Client::MsgAddress β email address object
okay bestie, welcome to Net::IMAP::Client::MsgAddress, straight out of the Net::I...Address(3pm) manual in the User Contributed Perl Documentation. it's one little object that holds one little email address, and it eats, sleeps and breathes IMAP. let's get into it π
β¨ NAME β¨
Net::IMAP::Client::MsgAddress β it's an email address object, periodt.
π¦ DESCRIPTION π¦
so what is this thing? it represents one email address, exactly as the server hands it back to you inside an ENVELOPE part of the FETCH command. that's the whole vibe. one address, one object. π
and here's the iconic part: when you use this object in string context, it magically translates itself into:
Full Name <email@address.com>
like, the object just knows. main character energy, no cap. π
π METHODS π
β new β the constructor π
Creates a new object from the given array.
okay so the rest of these are the bits that live inside the object. here's the full roster, bestie:
nameβ Returns the full name, if any.at_domain_listβ Returns theat_domain_listpart (WTF is that?). yeah, the docs genuinely say that, i'm not even kidding πmailboxβ Returns the mailbox name (i.e. the'email'part in the example above).hostβ Returns the host name (i.e. the'address.com'part).emailβ Returns the full email address:"$self-"{mailbox} . '@' . $self->{host}>.as_stringβ Used by stringification. It returns the full name and email address as inFull Name <email@address.com>.
πΈ SEE ALSO πΈ
go check out the rest of the family, they're all serving looks:
Net::IMAP::ClientNet::IMAP::Client::MsgSummary
π AUTHOR π
Mihai Bazon, <mihai.bazon@gmail.com>
π COPYRIGHT π
Copyright (c) Mihai Bazon 2008. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π DISCLAIMER OF WARRANTY π
ngl bestie, this part is all-caps for a reason. it's giving "we told you so". read it, don't skim it π
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
aaaand that's the whole page, bestie π«Ά this lil' doc came to you courtesy of perl v5.40.1, dated 2025-12-07. go parse some envelopes, you absolute icon. πβ¨π
π¦ where this page comes from
- ubuntu resolute: libnet-imap-client-perl 0.9511-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-imap-client-perl 0.9511-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms