imap_rfc822_write_address(3) php man page | unix.com

Man Page: imap_rfc822_write_address

Operating Environment: php

Section: 3

IMAP_RFC822_WRITE_ADDRESS(3)						 1					      IMAP_RFC822_WRITE_ADDRESS(3)

imap_rfc822_write_address - Returns a properly formatted email address given the mailbox, host, and personal info

SYNOPSIS
string imap_rfc822_write_address (string $mailbox, string $host, string $personal)
DESCRIPTION
Returns a properly formatted email address as defined in RFC2822 given the needed information.
PARAMETERS
o $mailbox - The mailbox name, see imap_open(3) for more information o $host - The email host part o $personal - The name of the account owner
RETURN VALUES
Returns a string properly formatted email address as defined in RFC2822.
EXAMPLES
Example #1 imap_rfc822_write_address(3) example <?php echo imap_rfc822_write_address("hartmut", "example.com", "Hartmut Holzgraefe"); ?> The above example will output: Hartmut Holzgraefe <hartmut@example.com> PHP Documentation Group IMAP_RFC822_WRITE_ADDRESS(3)
Related Man Pages
imap_list(3) - php
imap_mailboxmsginfo(3) - php
imap_rfc822_parse_adrlist(3) - php
imap_set_quota(3) - php
net::imap::client::msgaddress(3pm) - debian
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team