note 33273 rejected from ref.mailparse by didou

From: Date: Fri, 20 Jun 2003 15:47:21 +0000
Subject: note 33273 rejected from ref.mailparse by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-50756@lists.php.net to get a copy of this message
Note Submitter: aletarraf@hotmail.com ---- I´m using this follow e-mail function: <? function sendmail($name, $from, $to, $subject, $body, $html, $charset ) { $smtp_server = " "; // conect to server $smtp_user = " "; // name of smtp user if (!$smtp_sock = fsockopen("$smtp_server", 25)) { die ("Couldn't open mail connection to $smtp_server! \n"); } fputs($smtp_sock, "HELO $smtp_server\n"); fputs($smtp_sock, "VRFY $stmp_user\n"); fputs($smtp_sock, "MAIL FROM:<$from>\n"); fputs($smtp_sock, "RCPT TO:<$to>\n"); fputs($smtp_sock, "DATA\n"); fputs($smtp_sock, "From: $name($from)\n"); fputs($smtp_sock, "X-Mailer: miplus\n"); fputs($smtp_sock, "Content-Type: text/html;"); fputs($smtp_sock, "charset=$charser\n"); fputs($smtp_sock, "MIME-Version: 1.0\n"); fputs($smtp_sock, "Subject: $subject\n"); fputs($smtp_sock, "To: $to\n"); fputs($smtp_sock, "$body"); fputs($smtp_sock, "\n.\nQUIT\n"); fclose($smtp_sock); } $name = ""; $from = ""; $to = "$email"; $subject = ""; $body = ""// the text to the recipient; sendmail($name, $from, $to, $subject, $body, 1, "euc-kr");?> This function, does not allowed to insert a link or a picture, some one know where is the problem??? thanks !!

« previous php.notes (#50756) next »