Browse Source

fixed 增加邮箱发送者名称

pull/314/head
“xxq250” 3 years ago
parent
commit
41fe6efbf3
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/mailers/user_mailer.rb

+ 2
- 1
app/mailers/user_mailer.rb View File

@@ -1,7 +1,8 @@
class UserMailer < ApplicationMailer
# 注意:这个地方一定要和你的邮箱服务域名一致
# default from: 'notification@trustie.org'
default from: 'noreply@gitlink.org.cn'
# default from: 'noreply@gitlink.org.cn'
default from: 'GitLink <noreply@gitlink.org.cn>'

# 用户注册验证码
def register_email(mail, code)


Loading…
Cancel
Save