search for: setup_email

Displaying 4 results from an estimated 4 matches for "setup_email".

2006 Jan 26
2
Change email template for Salted Hash Login Generator?
There are a couple of things I''m trying to do with the salted hash login generator. First off I am trying to change the email template to include some other things such as links to the site, instructions and other email goodness. Second I am trying to find where the gem is pulling the app_url from because I changed it to reference my host name, but I have not been able to get it to
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
...ved the forgot_password_en.rhtml template temporarily). Now my application won''t send any email. How can I make ActionMailer recognize these templates and set the appropriate MIMe type? My mailer function looks like this: def forgot_password(member, url=nil) setup_email(member) # Email header info @subject += "Forgotten password notification" # Email body substitutions @body["name"] = "#{member.firstname} #{member.lastname}" @body["login"] = member.login @body["url"] = url...
2007 Feb 16
4
Auto detect URL for ActionMailer?
...? (I don''t want to have to change it every time the hostname is changed - I''d like the application to auto detect what the host is - whether it''s localhost:3000 or my own website... example: class UserNotifier < ActionMailer::Base def signup_notification(user) setup_email(user) @subject += ''Please activate your new account'' @body[:url] = "http://localhost:3000/account/activate/#{user.activation_code}" end I think this has been answered on the forum already, but from the answers I could find, I still can''t figure it...
2009 Nov 04
11
Sending Mails with mutations ä,ü,ö
Hi everyone I am sending mails with rails in German. The Problem is that the German letters ä,ü,ö are arriving correctly at the receiver. When the subject contains the word Für the receiver gets Für Does anybody knows this issue? Thanks in advance. Adam -- Posted via http://www.ruby-forum.com/.