<?php 
 
//RasMail 1.02 FIRST EXAMPLE (using single attachment)
 
 
#Include of main file
 
include("rasmail_102.php"); 
 
 
#Setup simple body
 
$MyBody="Hello world, do you know that php rulez?";
 
 
#Creating istance
 
$NewMail=new MailSender(); 
 
 $NewMail->Sender("[email protected]"); 
 
 $NewMail->Recipient("[email protected]"); 
 
 $NewMail->Subject("This is a test"); 
 
 $NewMail->Body($MyBody);
 
 $NewMail->Attachment("c:\mypics\picture.jpg");
 
 $NewMail->Mailformat("1"); 
 
 $NewMail->Priority("3"); 
 
 $NewMail->Execute();
 
?>  
 
 |