[FIXED] setting the name of attachment fails
Posted: Mon Apr 09, 2007 12:01 pm
Hi,
using the constructor of Swift_Message_Image to set the name of a file attachment didn't work for me:
this did the trick:
am I doing something wrong or is it a bug?
I'm using Swift-3.1.2-php4 in php4.4.4
thanks and keep up the great work!
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!