[Ilugc] Reg:sending email using PHP

  • From: raja_gilbert@xxxxxxxxxxx (Gilbert Raja)
  • Date: Tue Nov 23 13:26:06 2004

dear sir,

    Thanx for ur earlier reply.i already recieved
bounce msgs from my root account.But i want to modify
my program for the purpose of user gets a msg about
how many  msgs are bounced and how many msgs are sent
successfully.

Thanx & Regards,
Gilbert
--- Kumaraguru <kums@xxxxxxx> wrote:

Hi,

A 5th parameter was added to Php's mail() function
in  PHP 4.0.5(but disabled in safe mode since
version 4.2.3)
which lets you mention the return-path

mail ($to, $subject, $content, $headers,
"-f".returned@xxxxxxxxxx);

Examples are given in the php manual
http://in2.php.net/function.mail

You can then do a POP3 check to verify if it bounced
or not.
http://in.php.net/manual/en/ref.imap.php


Regards
Kumaraguru

----- Original Message -----
From: "Gilbert Raja" <raja_gilbert@xxxxxxxxxxx>
To: "linux user group chennai" <ilugc@xxxxxxxxxxxxx>
Sent: Tuesday, November 23, 2004 11:00 AM
Subject: [Ilugc] Reg:sending email using PHP


hai all,

     i created one program for sending mails using
PHP. i want confirmation from the mail server,
whether
mail sent  or bounced. i googled a lot about this.
But
i found nothing. Any suggestions pls.

thanx and regards,
Gilbert

=====
Linux poses a real challenge for those with a
taste for
late-nighthacking (and/or conversations with God).-
Matt Welsh

Linux is not user-friendly. It _is_ user-friendly.
It is not
ignorant-friendly and idiot-friendly.-Unknown

Waving away a cloud of smoke, I look up, and am
blinded by a bright,
whitelight. It's God. No, not Richard Stallman, or
Linus Torvalds, but
God. In a booming voice, He says: "THIS IS A SIGN.
USE LINUX, THE FREE
UNIX SYSTEM FOR THE 386." -Matt Welsh

Microsoft isn't evil, they just make really crappy
operating
systems.
-linus torvalds
Blog:http://getgilbert.blogspot.com



__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com


_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx
with
"unsubscribe <password> address"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc






=====
Linux poses a real challenge for those with a taste for late-nighthacking 
(and/or conversations with God).- Matt Welsh

Linux is not user-friendly. It _is_ user-friendly. It is not ignorant-friendly 
and idiot-friendly.-Unknown

Waving away a cloud of smoke, I look up, and am blinded by a bright, 
whitelight. It's God. No, not Richard Stallman, or Linus Torvalds, but God. In 
a booming voice, He says: "THIS IS A SIGN. USE LINUX, THE FREE UNIX SYSTEM FOR 
THE 386." -Matt Welsh

Microsoft isn't evil, they just make really crappy operating systems. 
-linus torvalds
Blog:http://getgilbert.blogspot.com


                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com ;
 

Other related posts: