Hello there,
Thanks for for cmail program.
I added a few variables to get things going but I am struggling with the $filename. I want every user to be in the position to send me attach documents and those will be probable situated on the c-drive.
Herewith the added variables:
$subject = "greatnews";
$sendto = "t.monteiro@chello.nl";
$replyto = "t.monteiro@chello.nl";
$message = "great message";
$filename ="C:\picture.gif";
$mimetype = "image/gif";
echo $filename;
$mailfile = new CMailFile($subject,$sendto,$replyto,$message,$filename,$mimetype);
$mailfile->sendfile();
I keep receiving e-mail with a document cpicture,gif. It seems to miss the ‘:’ and the ‘\’ signs and consequently I can not read the document.
Could you help me to sort this out?
Many thanks
T