Ambivalent attachment dating site online dating websites relationships

Where a controller generates content like HTML to send back to the client, a Mailer creates a message to be delivered via email.

Here is a quick explanation of the items presented in the preceding method.

For a full list of all available options, please have a look further down at the Complete List of Action Mailer user-settable attributes section. Mailers are really just another way to render a view.

Instead of rendering a view and sending out the HTTP protocol, they are just sending it out through the email protocols instead.

Due to this, it makes sense to just have your controller tell the Mailer to send an email when a user is successfully created. First, let's create a simple now to send emails asynchronously.

Comments