Created
February 12, 2010 17:38
-
-
Save notbrain/302783 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This works | |
def welcome_email(email) | |
recipients email.email | |
subject "Welcome to PeerPong!" | |
sent_on Time.now | |
body :email => email.email | |
from "peerpong@peerpong.com" | |
reply_to "peerpong@peerpong.com" | |
end | |
# This doesn't work | |
def welcome_email(email) | |
recipients email.email | |
subject "Welcome to PeerPong!" | |
sent_on Time.now | |
body :email => email.email | |
from "PeerPong <peerpong@peerpong.com>" # <-- only thing different | |
reply_to "peerpong@peerpong.com" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment