On Jan 21, 2011, at 2:22 PM, Jim Burgess wrote:
> Hi,
>
> I'm trying to use ActionMailer to send an image as an attachment to an
> email. Here's my code:
>
> class ContactMailer < ActionMailer::Base
> def message(sent_at = Time.now)
>from 'b...@example.com'
>recipients 'j...@example.co
Hi,
I'm trying to use ActionMailer to send an image as an attachment to an
email. Here's my code:
class ContactMailer < ActionMailer::Base
def message(sent_at = Time.now)
from 'b...@example.com'
recipients 'j...@example.com'
subject 'New message'
sent_on sent_at
body {}
2 matches
Mail list logo