我使用Google Apps作爲我的域名電子郵件,我注意到當我收到來自我的應用程序的電子郵件時它給出了電子郵件域名而不是我的應用程序名稱。例如在Gmail中,用戶[email protected]
接收電子郵件,它表明:如何更改Google Apps電子郵件地址發件人姓名?
Info [email protected]
當我想讓它顯示MyApp [email protected]
我將如何改變谷歌的應用程式發件人名稱?
謝謝。
我使用Google Apps作爲我的域名電子郵件,我注意到當我收到來自我的應用程序的電子郵件時它給出了電子郵件域名而不是我的應用程序名稱。例如在Gmail中,用戶[email protected]
接收電子郵件,它表明:如何更改Google Apps電子郵件地址發件人姓名?
Info [email protected]
當我想讓它顯示MyApp [email protected]
我將如何改變谷歌的應用程式發件人名稱?
謝謝。
這實際上可以使用Ruby on Rails在應用程序內進行管理。雖然不確定Google Apps。無論如何,我通過把我的user_mailer.rb
放在裏面工作:
class UserMailer < ActionMailer::Base
default :from => "'MySite.com' <[email protected]>"
def welcome_email(user)
@user = user
mail(:to => user.email, :subject => "Welcome to MySite")
end
end
AFAIK,Gmail(或Google Apps)不允許您在中繼電子郵件時更改您的姓名。但是,您可能可以進入郵件設置(登錄到Google Apps信息帳戶)並在那裏更改名稱。