Hi
I am sending email by ruby cgi.
Sending is fine by html

but when i am trying to  insert a image , it does not work.. wondering
what i am doing wrong

here is the code :


message = <<MESSAGE_END
From:test user <test / test.com>
To: testuser <test / test.com>
MIME-Version: 1.0
Content-type: text/html
Subject: SMTP e-mail test

This is an e-mail message to be sent in HTML format

<p><img src="bay1.gif" alt="bay1.gif" width="32" height="32"></p>

MESSAGE_END


Net::SMTP.start('smtp.myemail.com') do |smtp|
  smtp.send_message message, 'test / test.com',
                             'test1 / test1.com
end



email is going. but image is not attaching ..

Can any one please help me .

-- 
Posted via http://www.ruby-forum.com/.