Re: An FTP Module for ImpressCMS

Posted by Will on 1286286245
Well - the script simply uses the php mailer - however if you do not have sendmail then you will have to reconstruct this line to include the smtpauth

so this
if (mail($to, $subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n"))

is going to become more like this
$smtp = Mail::factory('smtp', array ('host' => $host, 'auth' => true, 'username' => $username, 'password' => $password)); $smtp->send($to, $headers, $body);

See Here

The data is already at send.php - from there you can do with it what you choose.

Upload Limit: Well, it depends on your server if you are using a straight upload. If you use chunkupload it will allow you to upload huge files.

Are you on a windows server?

If you are using multipowupload you can set the allowed file types via the parameters. Check the docs here.

Specifically fileFilter.types

This Post was from: