Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add :file option as a new delivery_method for mails #1285

Merged
merged 3 commits into from May 15, 2013
Merged

Add :file option as a new delivery_method for mails #1285

merged 3 commits into from May 15, 2013

Conversation

wikimatze
Copy link
Member

I was searching for all possible options for sending mails and stumbled upon the edgerails guide which mentioned methods which aren't still part of the documentation.

I updated the mailer.rb.tt template with an example.

Matthias

@dariocravero
Copy link

It's brilliant @matthias-guenther!! Thanks! :)

What I'd change on it so that it's not that confusing is the path. See the comment on the code. Could you rephrase that? Thanks!

# or storing emails locally:
#
# set :delivery_method, :file => {
# :location => "emails",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of emails we could use #{Padrino.root}/tmp/emails, thoughts?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will try it out locally and if it's working fine, I will make the changes, so that it can be merged!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!.. Thanks (as a side note, I did and it worked out fine in here :))

@ghost ghost assigned dariocravero May 15, 2013
@dariocravero
Copy link

Amazing stuff! Thanks! :)

dariocravero pushed a commit that referenced this pull request May 15, 2013
Add :file option as a new delivery_method for mails
@dariocravero dariocravero merged commit 4c4ac54 into padrino:master May 15, 2013
@wikimatze
Copy link
Member Author

I'm glad to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants