ApplicationMailer default from title not email address?

default from works with an email address, but when a recipient receives an email I want the title to be "Live to Challenge" not "livetochallenge.com"

class ApplicationMailer < ActionMailer::Base
  default from: "livetochallenge.com@gmail.com" #This Line Needs An Email Address to Work
  layout 'mailer'
end

How can Action Mailer send with livetochallenge.com@gmail.com, but be shown as "Live to Challenge"?

Answers


default from: '"Live to Challenge" <livetochallenge.com@gmail.com>'

class ApplicationMailer < ActionMailer::Base
  default from: "Live to Challenge <livetochallenge.com@gmail.com>"
  layout 'mailer'
end

Need Your Help

draw dynamically positioned image on top of a RelativeLayout - android

android image draw

I am trying to draw a image at dynamic positions on top of a RelativeLayout that has other elements. I tried creating a class that extends View and add this view to the RelativeLayout but the image...

How to upload local library (aar) as part of dependency to Bintray

android gradle bintray

I have 3 transitively dependent projects to upload to bintray from gradle, project 1 &amp; 2 are jar, while project 3 is aar that uses another local aar that we can't put in public repository.