What do you mean "no luck"? Is the message sent and received, but
without the image? Does the code crash? Does it not arrive at all?
Maybe it's rejected by a spam filter?

-- Matma Rex