Postmark Outbound Email Rails 3 -


I'm practicing a wedding site Unfortunately, I have not been able to send my emails to the guests who are interested in RSVP Have done I'm not sure what to do: = & gt;

Rsvp_Mailer.rb

  square RsvpMailer & lt; ActionMailer :: Base Def RSVP_email (Primary, Guest, Message) @primary = Primary @ Grassatus = Guest @message = Message subject_motion = Primary. ? "Attending": "Not present" mail (: = & gt; "www.personaldomain.com" & lt; no -reply@personaldomain.com> ',: to = & gt;' ??? #: Subject = & gt; "new RSVP - # {subject_prefix}: # {primary.first_name} # {primary.last_name} + # {@  end =  

You need to have an email address of the recipient to do this: like this:

  mail (= = to; '' www..personaldomain.com '' & lt; no -reply @ Personaldomain.com & gt; ', to = & gt;' user@example.com ': topic = & gt; "new RSVP - # {subject_prefix}: # {primary .first_name} # {primary.last_name} + # { @ Guests.size} ")   

This means that you can use every user You must call Vpmailer.rsvp_email.deliver, which is required to receive the message.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -