feat: 寄送信箱改為 專用域名信箱
This commit is contained in:
@@ -52,16 +52,16 @@ class _ForgetPasswordPageState extends State<ForgetPasswordPage> {
|
||||
|
||||
Future<void> _sendEmail(String recipientEmail, String code) async {
|
||||
final smtpServer = SmtpServer(
|
||||
'smtp.gmail.com',
|
||||
'smtp.mail.me.com',
|
||||
port: 587,
|
||||
username: 'kueikuei8011@gmail.com',
|
||||
password: 'yqns onwf tydq obzl',
|
||||
username: 'ltesr125124015@icloud.com',
|
||||
password: 'vwtp-bruz-xiav-rjee',
|
||||
ssl: false,
|
||||
allowInsecure: false,
|
||||
);
|
||||
|
||||
final message = Message()
|
||||
..from = Address('kueikuei8011@gmail.com', 'Kuei')
|
||||
..from = Address('user_manager@comprehensive-guardian.systems', '全方位照護守護者')
|
||||
..recipients.add(recipientEmail)
|
||||
..subject = '您的臨時密碼'
|
||||
..text = '您的臨時密碼是: $code';
|
||||
|
||||
@@ -78,16 +78,16 @@ class _RegisterPageState extends State<RegisterPage> {
|
||||
|
||||
Future<void> _sendEmail(String recipientEmail, String code) async {
|
||||
final smtpServer = SmtpServer(
|
||||
'smtp.gmail.com',
|
||||
'smtp.mail.me.com',
|
||||
port: 587,
|
||||
username: 'kueikuei8011@gmail.com',
|
||||
password: 'yqns onwf tydq obzl',
|
||||
username: 'ltesr125124015@icloud.com',
|
||||
password: 'vwtp-bruz-xiav-rjee',
|
||||
ssl: false,
|
||||
allowInsecure: false,
|
||||
);
|
||||
|
||||
final message = Message()
|
||||
..from = Address('kueikuei8011@gmail.com', 'Kuei')
|
||||
..from = Address('user_manager@comprehensive-guardian.systems', '全方位照護守護者')
|
||||
..recipients.add(recipientEmail)
|
||||
..subject = '您的驗證碼'
|
||||
..text = '您的驗證碼是: $code';
|
||||
|
||||
Reference in New Issue
Block a user