-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update email receiver address and name in contact form template
- Loading branch information
Showing
9 changed files
with
19,793 additions
and
415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ | |
if( ! empty( $_POST['email'] ) ) { | ||
|
||
// Enable / Disable SMTP | ||
$enable_smtp = 'no'; // yes OR no | ||
$enable_smtp = 'yes'; // yes OR no | ||
|
||
// Email Receiver Address | ||
$receiver_email = 'info@domain.com'; | ||
$receiver_email = 'iamanubhavgain+mranv@gmail.com'; | ||
|
||
// Email Receiver Name for SMTP Email | ||
$receiver_name = 'Your Name'; | ||
$receiver_name = 'Anubhav Gain Sent using Github Actions'; | ||
|
||
// Email Subject | ||
$subject = 'Contact form details'; | ||
|
@@ -88,7 +88,7 @@ | |
<body> | ||
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0"> | ||
<tr> | ||
<td colspan="2" align="center" valign="top"><img style="margin-top: 15px;" src="http://www.yourdomain.com/images/logo-email.png" ></td> | ||
<td colspan="2" align="center" valign="top"><img style="margin-top: 15px;" src="http://mranv.github.io/assets/images/logo.png" ></td> | ||
</tr> | ||
<tr> | ||
<td width="50%" align="right"> </td> | ||
|
@@ -136,10 +136,10 @@ | |
$mail = new PHPMailer\PHPMailer\PHPMailer(); | ||
|
||
$mail->isSMTP(); | ||
$mail->Host = 'YOUR_SMTP_HOST'; // Your SMTP Host | ||
$mail->Host = 'smtp.gmail.com'; // Your SMTP Host | ||
$mail->SMTPAuth = true; | ||
$mail->Username = 'YOUR_SMTP_USERNAME'; // Your Username | ||
$mail->Password = 'YOUR_SMTP_PASSWORD'; // Your Password | ||
$mail->Username = '[email protected]'; // Your Username | ||
$mail->Password = 'bmxusovnkxbftiod'; // Your Password | ||
$mail->SMTPSecure = 'ssl'; // Your Secure Connection | ||
$mail->Port = 465; // Your Port | ||
$mail->setFrom( $fields['Email'], $fields['Name'] ); | ||
|
Oops, something went wrong.