$email_message=new email_message_class;
		$email_message->default_charset=$charset;
		$email_message->SetEncodedEmailHeader("To",$to_address,$to_name);
		$email_message->SetEncodedEmailHeader("From",$from_address,$from_name);
		$email_message->SetEncodedEmailHeader("Reply-To",$reply_address,$reply_name);

	/*
		Set the Return-Path header to define the envelope sender address to which bounced messages are delivered.
		If you are using Windows, you need to use the smtp_message_class to set the return-path address.
	*/
		if(defined("PHP_OS")
		&& strcmp(substr(PHP_OS,0,3),"WIN"))
			$email_message->SetHeader("Return-Path",$error_delivery_address);

		$email_message->SetEncodedHeader("Subject",$multibyte_subject);
		$email_message->AddPlainTextPart($multibyte_body);
		$error=$email_message->Send();
		if(strlen($error)==0)
		{
			echo "<center><h2>Message sent.</h2></center>\n";
			echo "<center><table border=\"1\">\n";
			echo "<tr>\n<th>From:</th>\n<td>$from_name &lt;$from_address&gt</td>\n</tr>\n";
			echo "<tr>\n<th>To:</th>\n<td>$to_name &lt;$to_address&gt</td>\n</tr>\n";
 			echo "<tr>\n<th>Subject:</th>\n<td>$multibyte_subject</td>\n</tr>\n";
			echo "<tr>\n<th valign=\"top\">Body:</th>\n<td>".nl2br($multibyte_body)."</td>\n</tr>\n";
			echo "</table></center>\n";
		}
		else
			echo "<center><h2>Error: ".HtmlEntities($error)."</h2></center>\n";
	}
	else