diff options
Diffstat (limited to 'html/app/extends/Send_mail.php')
| -rw-r--r-- | html/app/extends/Send_mail.php | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/html/app/extends/Send_mail.php b/html/app/extends/Send_mail.php index c3ecb66..7dbb50a 100644 --- a/html/app/extends/Send_mail.php +++ b/html/app/extends/Send_mail.php @@ -17,11 +17,11 @@ class Send_mail $mail->SMTPDebug = 3; $mail->IsSMTP(); $mail->Host = MAIL_HOST; - $mail->SMPTAuth = true; + $mail->SMPTAuth = false; $mail->SMTPSecure = MAIL_ENCRYPTION; // $mail->Protocol = 'mail'; - // $mail->Mailer = MAIL_MAILER; + $mail->Mailer = MAIL_MAILER; $mail->Port = MAIL_PORT; $mail->Username = MAIL_USERNAME; $mail->Password = MAIL_PASSWORD; @@ -61,10 +61,9 @@ class Send_mail // It's important not to use the submitter's address as the from address as it's forgery, // which will cause your messages to fail SPF checks. // Use an address in your own domain as the from address, put the submitter's address in a reply-to - $mail->setFrom(NO_REPLY_EMAIL, SITE_TITLE); + $mail->setFrom(NO_REPLY_EMAIL, MAIL_FROM_NAME); $mail->addAddress($envelope['email'], $envelope['name']); - $mail->addReplyTo(REPLY_TO_EMAIL, SITE_TITLE); - $mail->AddBCC("piipiis@gmail.com", "tester"); // notifiation email while testing + $mail->addReplyTo(REPLY_TO_EMAIL, MAIL_FROM_NAME); $mail->Subject = 'Εγγραφή στο Classroom'; $mail->Body = "Χαίρετε,<br> το παρόν αυτοποιημένο email σάς έχει σταλεί γιατί έχει γίνει αίτημα εγγραφής σας στο Classroom.<br> @@ -87,6 +86,10 @@ class Send_mail } } + + + + } @@ -153,5 +156,21 @@ Log event to Email * rU8WEmcHsRcEQaH * rU8WEmcHsRcEQaH * + * mailjet + * piipiis@g + * EN6Xg8!99ZTKaYp7 + * + * + * sendGrid + * piipiis + * EN6Xg899ZTKU8WEmcHsR54321 + * + * + * time4vps... + * https://community.time4vps.com/discussion/75/are-any-ports-blocked-by-time4vps + * + * test activation code: + * ca42d68cfba5fbbafeacc010b8e3a551 + * */
\ No newline at end of file |
