|
|
@@ -1,7 +1,8 @@ |
|
|
class UserMailer < ApplicationMailer |
|
|
class UserMailer < ApplicationMailer |
|
|
# 注意:这个地方一定要和你的邮箱服务域名一致 |
|
|
# 注意:这个地方一定要和你的邮箱服务域名一致 |
|
|
# default from: 'notification@trustie.org' |
|
|
# 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) |
|
|
def register_email(mail, code) |
|
|
|