developer email added
This commit is contained in:
parent
3f230cd307
commit
0bbe32b785
@ -46,13 +46,13 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
|||||||
$userMail->isSMTP();
|
$userMail->isSMTP();
|
||||||
$userMail->Host = 'smtp.gmail.com';
|
$userMail->Host = 'smtp.gmail.com';
|
||||||
$userMail->SMTPAuth = true;
|
$userMail->SMTPAuth = true;
|
||||||
$userMail->Username = 'noreply.nclex.email@gmail.com';
|
$userMail->Username = $sending_email;
|
||||||
$userMail->Password = 'gmbe nypd ofcl vpmi';
|
$userMail->Password = $app_password;
|
||||||
$userMail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
$userMail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
||||||
$userMail->Port = 587;
|
$userMail->Port = 587;
|
||||||
|
|
||||||
// User Email Configuration
|
// User Email Configuration
|
||||||
$userMail->setFrom('noreply.nclex.email@gmail.com', $support_name);
|
$userMail->setFrom($sending_email, $support_name);
|
||||||
$userMail->addAddress($user_email);
|
$userMail->addAddress($user_email);
|
||||||
$userMail->isHTML(true);
|
$userMail->isHTML(true);
|
||||||
$userMail->Subject = "Thank you for contacting ". $support_name;
|
$userMail->Subject = "Thank you for contacting ". $support_name;
|
||||||
@ -129,12 +129,12 @@ HTML;
|
|||||||
$adminMail->isSMTP();
|
$adminMail->isSMTP();
|
||||||
$adminMail->Host = 'smtp.gmail.com';
|
$adminMail->Host = 'smtp.gmail.com';
|
||||||
$adminMail->SMTPAuth = true;
|
$adminMail->SMTPAuth = true;
|
||||||
$adminMail->Username = 'noreply.nclex.email@gmail.com';
|
$adminMail->Username = $sending_email;
|
||||||
$adminMail->Password = 'gmbe nypd ofcl vpmi';
|
$adminMail->Password = $app_password;
|
||||||
$adminMail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
$adminMail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
||||||
$adminMail->Port = 587;
|
$adminMail->Port = 587;
|
||||||
|
|
||||||
$adminMail->setFrom('noreply.nclex.email@gmail.com', $support_name);
|
$adminMail->setFrom($sending_email, $support_name);
|
||||||
$adminMail->addAddress($company_email);
|
$adminMail->addAddress($company_email);
|
||||||
$adminMail->addReplyTo($user_email, $name);
|
$adminMail->addReplyTo($user_email, $name);
|
||||||
$adminMail->isHTML(true);
|
$adminMail->isHTML(true);
|
||||||
|
@ -26,13 +26,13 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
|||||||
$userMail->isSMTP();
|
$userMail->isSMTP();
|
||||||
$userMail->Host = 'smtp.gmail.com';
|
$userMail->Host = 'smtp.gmail.com';
|
||||||
$userMail->SMTPAuth = true;
|
$userMail->SMTPAuth = true;
|
||||||
$userMail->Username = 'noreply.nclex.email@gmail.com';
|
$userMail->Username = $sending_email;
|
||||||
$userMail->Password = 'gmbe nypd ofcl vpmi';
|
$userMail->Password = $app_password;
|
||||||
$userMail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
$userMail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
||||||
$userMail->Port = 587;
|
$userMail->Port = 587;
|
||||||
|
|
||||||
// User Email Configuration
|
// User Email Configuration
|
||||||
$userMail->setFrom('noreply.nclex.email@gmail.com', $support_name);
|
$userMail->setFrom($sending_email, $support_name);
|
||||||
$userMail->addAddress($user_email);
|
$userMail->addAddress($user_email);
|
||||||
$userMail->isHTML(true);
|
$userMail->isHTML(true);
|
||||||
$userMail->Subject = "Thank you for contacting " . $support_name;
|
$userMail->Subject = "Thank you for contacting " . $support_name;
|
||||||
@ -96,12 +96,12 @@ HTML;
|
|||||||
$adminMail->isSMTP();
|
$adminMail->isSMTP();
|
||||||
$adminMail->Host = 'smtp.gmail.com';
|
$adminMail->Host = 'smtp.gmail.com';
|
||||||
$adminMail->SMTPAuth = true;
|
$adminMail->SMTPAuth = true;
|
||||||
$adminMail->Username = 'noreply.nclex.email@gmail.com';
|
$adminMail->Username = $sending_email;
|
||||||
$adminMail->Password = 'gmbe nypd ofcl vpmi';
|
$adminMail->Password = $app_password;
|
||||||
$adminMail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
$adminMail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
||||||
$adminMail->Port = 587;
|
$adminMail->Port = 587;
|
||||||
|
|
||||||
$adminMail->setFrom('noreply.nclex.email@gmail.com', $support_name);
|
$adminMail->setFrom($sending_email, $support_name);
|
||||||
$adminMail->addAddress($company_email);
|
$adminMail->addAddress($company_email);
|
||||||
$adminMail->addReplyTo($user_email, $name);
|
$adminMail->addReplyTo($user_email, $name);
|
||||||
$adminMail->isHTML(true);
|
$adminMail->isHTML(true);
|
||||||
|
@ -5,3 +5,5 @@ $support_name= 'Bohara Rental Support';
|
|||||||
$company_address = 'Kathmandu, Nepal';
|
$company_address = 'Kathmandu, Nepal';
|
||||||
$company_email = 'subedigokul119@gmail.com';
|
$company_email = 'subedigokul119@gmail.com';
|
||||||
$company_phone = +9779800000000;
|
$company_phone = +9779800000000;
|
||||||
|
$sending_email = 'noreply.notification.developer@gmail.com';
|
||||||
|
$app_password= 'uuky rjvm expm notx';
|
Loading…
x
Reference in New Issue
Block a user