From 311d99eef01c268cedc6e9b3bdb9abc2ba5c6bfa Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Mon, 7 Jun 2010 21:54:53 -0400 Subject: Adding inline attachment support to ActionMailer --- actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb | 5 +++++ actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb create mode 100644 actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb (limited to 'actionmailer/test/fixtures') diff --git a/actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb b/actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb new file mode 100644 index 0000000000..e200878127 --- /dev/null +++ b/actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb @@ -0,0 +1,5 @@ +

Inline Image

+ +<%= image_tag attachments['logo.png'].url %> + +

This is an image that is inline

\ No newline at end of file diff --git a/actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb b/actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb new file mode 100644 index 0000000000..e161d244d2 --- /dev/null +++ b/actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb @@ -0,0 +1,4 @@ +Inline Image + +No image for you + -- cgit v1.2.3