|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-19 05:12 UTC] sniper@php.net
[2002-07-19 05:19 UTC] jordan23 at pt dot lu
[2002-07-19 05:25 UTC] sniper@php.net
[2002-07-19 05:29 UTC] jordan23 at pt dot lu
[2002-07-23 15:33 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 06:00:02 2025 UTC |
example: -------------------------------------------------------- <?php /* Send a simple message with plain text and no attachments. */ if ($showsource) { show_source ($SCRIPT_FILENAME); exit; } include_once("../../vlibMimeMail.php"); $mail= new vlibMimeMail; // create the mail $mail->to('akumschick@kumschicknw.com', 'Alain Kumschick'); $mail->from('root@kumschicknw.com', 'Root'); $mail->subject("this is a test subject"); $mail->body("Hello\n\nThis is a plain text body for the mail!"); // set the body /* send the mail (this is commented out as it's purely documentational) */ $mail->send(); echo "<pre>", $mail->get(), "</pre>"; // and echo the entire body of the mail to see what it looks like ?> <a href="example1.php?showsource=1">show source</a> -------------------------------------------------------- here is an example i got from a site to send emails with the mail fonction(), under linux/unix the script works fine, but under Windows 2000 Advanced Server Service Pack 2 with IIS5 i get NO error message anymore (befor php v4.0.6 and now v4.2.2-dev) but the email is not sending! and the "$SCRIPT_FILENAME" doesn't work to! is there a reasen? error msg: Warning: Failed opening '' for highlighting ... example is there: (windows machine) http://www.kumschicknw.com/apps/postcard/test/examples/vlibMimeMail/example1.php email: Alain Kumschick <akumschick@kumschicknw.com> or <jordan23@pt.lu>