Sha256: e77521221b9686782197525bbac4d321c136b860be035f4e09e98fe13774109f

Contents?: true

Size: 1.24 KB

Versions: 37

Compression:

Stored size: 1.24 KB

Contents

= Documentation for Email Base Feature

The email base feature is automatically loaded when you use a Rodauth feature
that requires sending emails.

== Auth Value Methods

allow_raw_email_token? :: When +hmac_secret+ is used, this allows the use of the raw token.  This should only be set to true temporarily during a transition period from using raw tokens to using HMACed tokens.  After the transition period, this should not be set, as setting this to true removes the security that HMACed tokens add.
default_post_email_redirect :: Where to redirect after sending an email. This is the default redirect location for all redirects after an email is sent when the account is not logged in.  Also includes cases where an email is not sent due to rate limiting.
email_from :: The from address to use for emails sent by Rodauth.
email_subject_prefix :: The prefix to use for email subjects 
require_mail? :: Set to false to not require mail, useful if using a different library for sending email.

== Auth Methods

create_email(subject, body) :: Return a Mail::Message instance with the given subject and body.
email_to :: The email address to send emails to, by default the login of the current account.
send_email(email) :: Deliver a given Mail::Message instance.

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
rodauth-2.36.0 doc/email_base.rdoc
rodauth-2.34.0 doc/email_base.rdoc
rodauth-2.33.0 doc/email_base.rdoc
rodauth-2.32.0 doc/email_base.rdoc
rodauth-2.31.0 doc/email_base.rdoc
rodauth-2.30.0 doc/email_base.rdoc
rodauth-2.29.0 doc/email_base.rdoc
rodauth-2.28.0 doc/email_base.rdoc
rodauth-2.27.0 doc/email_base.rdoc
rodauth-2.26.1 doc/email_base.rdoc
rodauth-2.26.0 doc/email_base.rdoc
rodauth-2.25.0 doc/email_base.rdoc
rodauth-2.24.0 doc/email_base.rdoc
rodauth-2.23.0 doc/email_base.rdoc
rodauth-2.22.0 doc/email_base.rdoc
rodauth-2.21.0 doc/email_base.rdoc
rodauth-2.20.0 doc/email_base.rdoc
rodauth-2.19.0 doc/email_base.rdoc
rodauth-2.18.0 doc/email_base.rdoc
rodauth-2.17.0 doc/email_base.rdoc