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_createmailbox(3) - php
imap_check(3) - php
imap_get_quotaroot(3) - php
imap_getmailboxes(3) - php
imap_list(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun