app/models/events/event_invitee.rb
# Sends a confirmation email to the invitee using the +confirmation_email_template+ as defined in the Event.
# Returns the TMail object if successful or nil otherwise.
Sends a confirmation email to the invitee using the +confirmation_email_template+ as defined in the Event.
Returns the TMail object if successful or nil otherwise.
Sends a confirmation email to the invitee using the + confirmation_email_template + as defined in the Event . Returns the TMail object if successful or nil otherwise .
def send_confirmation_email
    return nil unless event.confirmation_email_template
    if person
      email = event.confirmation_email_template.create_email_to(self)
      EmailContact.log(person, TemplateMailer.deliver(email))
      return email
    end
    nil
  end
def send_confirmation_email return nil unless event . confirmation_email_template if person email = event . confirmation_email_template . create_email_to ( self ) EmailContact . log ( person , TemplateMailer . deliver ( email ) ) return email end nil end
Sends a confirmation email to the invitee using the +confirmation_email_template+ as defined in the Event.
Sends a confirmation email to the invitee using the + confirmation_email_template + as defined in the Event .