php man page for imap_mail

Query: imap_mail

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IMAP_MAIL(3)								 1							      IMAP_MAIL(3)

imap_mail - Send an email message

SYNOPSIS
bool imap_mail NULL NULL NULL NULL (string $to, string $subject, string $message, [string $additional_headers], [string $cc], [string $bcc], [string $rpath])
DESCRIPTION
This function allows sending of emails with correct handling of Cc and Bcc receivers. The parameters $to, $cc and $bcc are all strings and are all parsed as RFC822 address lists.
PARAMETERS
o $to - The receiver o $subject - The mail subject o $message - The mail body, see imap_mail_compose(3) o $additional_headers - As string with additional headers to be set on the mail o $cc - o $bcc - The receivers specified in $bcc will get the mail, but are excluded from the headers. o $rpath - Use this parameter to specify return path upon mail delivery failure. This is useful when using PHP as a mail client for multi- ple users.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
mail(3), imap_mail_compose(3). PHP Documentation Group IMAP_MAIL(3)
Related Man Pages
sendemail(1) - debian
xdg-email(1) - centos
imap_mail_compose(3) - php
imap_headerinfo(3) - php
www::topica::reply(3pm) - debian
Similar Topics in the Unix Linux Community
Email broken
Accessing mail server from UNIX
Dynamically referencing a Path
Mutt Configuration for Yahoo! (Working sol -)
Auto emails from within the program