Solved

ActionMailer: How to Embed Images

Posted on 2009-04-07
3
2,004 Views
Last Modified: 2013-11-13
How would I embed images in an HTML email using ActionMailer?  I can manage to get the HTML/Plain text email but nothing more than that.
0
Comment
Question by:renderbox
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Expert Comment

by:Andrew Doades
ID: 24089526
you just add

<%= image_tag "logo.png" %>

into the view file for that email, change the image name/extension to your own
0
 
LVL 1

Author Comment

by:renderbox
ID: 24089726
I did that but it made a URL in the email pointing to the image, rather than including the image as an attachment and setting up the content-id.

Any thoughts as to why that would happen?
0
 
LVL 14

Accepted Solution

by:
wesgarrison earned 250 total points
ID: 24089968
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently rediscovered rails when I needed a holiday project and decided to build a management dashboard for the company where I work.  With it being a project done in my free time, I could focus my time on learning the basics rather than trying to…
In Ruby, Call or invoke a API DLL library is easily via Win32API class, win32-api gem or other gems. For general DLL API call, there are quite a few references, some good tips list below: http://www.rubytips.org/2008/05/13/accessing-windows-api-fro…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question