Displaying 1 result from an estimated 1 matches for "samplesdirectmailer".
2006 Jan 25
1
Using image_tag in Action Mailer???
I''m trying to send a HTML formatted email with Action Mailer and
everything works fine except for when I try to use a Rails image_tag in
my email template. Does anyone have experience doing this? I keep
getting this error
|undefined method `request'' for #<SamplesDirectMailer:0x231d4d8>|
Extracted source (around line *#7*):
|7: <div style="position:absolute; top:0px; right:0px;"><%= image_tag "/images/ldc.jpg" %></div>|
I''ve also tried "../../images/ldc.jpg" and a few other paths
If I remove the image_tag...