0
我有一個usermailer如下:如何在UserMailer中輸出圓括號?
mail(:from => "#{@user.full_name} \(Site.com\) <[email protected]>",
:to => @recipient_email,
:subject => "Hello World"
)
我想這是輸出:
from = "Full Name (Site.com) <[email protected]>"
問題是,它始終是:
from = "Full Name <[email protected]>"
我試圖逃避括號但不工作。爲什麼我不能輸出括號?
感謝
這不正是任擇議定書表示沒有工作? – 2012-11-13 04:48:36