using the constructor of Swift_Message_Image to set the name of a file attachment didn't work for me:
Code: Select all
$img =& new Swift_Message_Image(new Swift_File('/path/to/file'),'name_of_file.ext');Code: Select all
$img =& new Swift_Message_Image(new Swift_File('/path/to/file'));
$img -> setFileName('name_of_file.ext');I'm using Swift-3.1.2-php4 in php4.4.4
thanks and keep up the great work!