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


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