Wanna send a picture in a mail using ROR

Hello , I got trouble here and need assist here !

All I wanna do is to send a [text/html] content-typed mail

I want to use the [send_data] method to send the pic(id = 1 , name
='aa' , data<blob type>, type= 'jpeg') from my database

Simple google search: rails html mail inline images

http://www.caboo.se/articles/2006/02/19/how-to-send-multipart-alternative-e-mail-with-inline-attachments
http://blog.jebelev.com/2007/10/how-to-send-inline-images-with-action.html
http://blog.thoughtobject.com/2007/05/26/5/

Best regards

Peter De Berdt

Hello , thanks for your help , but this method is out of date :frowning:

It wont wokr on rails 2.0 , or function imcomplete (link 2)

inline attachment can work , right now I'm trying