|
|
|
|
![]() ![]() |
Feb 9 2005, 09:37 AM
Post
#1
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 15 Joined: 19-November 04 Member No.: 1,425 |
hi,
if you have an IMAP account then you can send the mail using the imap_mail() function of php. it is similar to mail() function but is an authorative way.. because your email account will require authorisation while sending an email here goes an example.. ================================== imap_mail (PHP 3>= 3.0.14, PHP 4 , PHP 5) imap_mail -- Send an email message Description bool imap_mail ( string to, string subject, string message [, string additional_headers [, string cc [, string bcc [, string rpath]]]] ) This function allows sending of emails with correct handling of Cc and Bcc receivers. Returns TRUE on success or FALSE on failure.. The parameters to, cc and bcc are all strings and are all parsed as rfc822 address lists. The receivers specified in bcc will get the mail, but are excluded from the headers. Use the rpath parameter to specify return path. This is useful when using PHP as a mail client for multiple users. ================================ |
|
|
|
Feb 9 2005, 01:30 PM
Post
#2
|
|
|
PsYcheDeLiC dR3aMeR Group: Admin Posts: 2,242 Joined: 29-January 05 From: Nakorn Chaisri, Thailand Member No.: 2,411 myCENTs:84.36 |
Can you elaborate on that a little bit ? i.e. posting a working example here would be a lot more helpful
Thanks |
|
|
|
May 26 2006, 05:35 PM
Post
#3
|
|
|
Super Member Group: Members Posts: 572 Joined: 25-April 05 From: Nashville Tennessee Member No.: 4,340 |
I am kind of really confused with this 'tutorial'. miCRoSCoPiC^eaRthLinG is correct in pointing out that it would at least help to provide a real example. This is not a tutorial but merely useless info that could be gotten by going to the PHP:Manual to see this;
QUOTE imap_mail -- Send an email message Here is the link to the above quotes from the manual Function imap_mail()Note that I removed the whitespace in the actual manual and summed up the (tutorial) in one fell swoop because I RTFM and refer to it often. This is not a tutorial at all, and I just had to get that off my mind. I do suppose that by now the author that provided this 'tutorial' no longer is a member and if so maybe they would show the new powers of imap_mail() vice mail()Description bool imap_mail ( string to, string subject, string message [, string additional_headers [, string cc [, string bcc [, string rpath]]]] ) This function allows sending of emails with correct handling of Cc and Bcc receivers. Returns TRUE on success or FALSE on failure.. The parameters to, cc and bcc are all strings and are all parsed as rfc822 address lists. The receivers specified in bcc will get the mail, but are excluded from the headers. Use the rpath parameter to specify return path. This is useful when using PHP as a mail client for multiple users. This post or tutorial is almost verbatim from the PHP manual, if the user is not already gone or banned they should be for that alone. IMHO This post has been edited by Houdini: Jun 30 2006, 06:32 PM |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 5th December 2008 - 01:02 PM |