/[informatika.old]/html/inc/quoted-printable.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /html/inc/quoted-printable.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Wed Jul 5 07:34:57 2000 UTC revision 1.2 by dpavlin, Wed Jul 5 10:41:42 2000 UTC
# Line 53  function e_qp($foo) { Line 53  function e_qp($foo) {
53  //      "body of message"  //      "body of message"
54    
55  function iso_mail($from,$to,$subject,$msg) {  function iso_mail($from,$to,$subject,$msg) {
56          popen("/usr/sbin/sendmail -t")          $mail=popen("/usr/sbin/sendmail -t","w");
57          ($to,$subject,e_qp($msg),'From: '.$from.'          if (! $mail) {
58                    return 0;       // error!
59            }
60            fputs($mail,'To: '.$to.'
61    From: '.$from.'
62    Subject: '.$subject.'
63  X-Mailer: php-quotedprintable-mailer  X-Mailer: php-quotedprintable-mailer
64  Content-Type: text/plain; charset="iso-8859-2"  Content-Type: text/plain; charset="iso-8859-2"
65  Content-Transfer-Encoding: quoted-printable  Content-Transfer-Encoding: quoted-printable
66  ');  '.$headers.'
67    
68    '.e_qp($msg));
69            pclose($mail);
70            return 1;
71  }  }
72    
73  ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26