Displaying 2 results from an estimated 2 matches for "welcome_email".
2013 Jun 06
1
Introducing MailJack: autogenerate querystring parameters that are appended to links in your emails
...nd lets you specify a
parameter where MailJack will stash a base64 encoded string of your
parameters.
In the trackable block, you can specify any number of parameters that you
want to appear in the appended query string.
So here''s an example. For the following mailer:
UserNotifier#welcome_email, all links in that email will have the following
appended
?campaign=welcome_email&campaign_group=UserNotifier
Actually, since we have the encode_to parameter specified, it would
actually appear as:
?utm_source=Y2FtcGFpZ249d2VsY29tZV9lbWFpbCZjYW1wYWlnbl9ncm91cD1Vc2VyTm90aWZpZXI=
Ok, I ho...
2011 Jul 07
0
Rails3 Mailer html / text versions order
...xt version first and not the html ( need
to switch to an alternative version ..)
I guess I missed a point but which one ?
thanks for your help
RAILS DOC ========
class UserMailer < ActionMailer::Base
default :from => "notifications-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org"
def welcome_email(user)
@user = user
@url = "http://example.com/login"
mail(:to => user.email,
:subject => "Welcome to My Awesome Site") do |format|
format.html { render ''another_template'' }
format.text { render ''another_template&...