From: Lee_MH <mh...@va...> - 2005-04-14 22:06:21
|
I've had some code working for a long while that emails a photo from the security camera to me at work... It seems that today the security types at work have implemented some new scanning software that now takes a serious dislike to the way MH builds the email, as they are all being quarantined and sent to IT security... :( I tried sending myself an email with a jpg via webmail and that worked OK... After some head scratching, it must be how the jpg in inserted into the email, looking at it with Firebird, it can't tell there is an attachment until you open the email, it's like the jpg is in the body of the email rather than an attachment??? Here's the code I use, any ideas on how to make it a 'proper' attachment?? net_mail_send(account => 'account_1', to => 'le...@so...', subject => "Subject: Alert", file => 'alert.jpg', mime => 'jpg', ); Cheers, Lee |