Form Mail Sending Locally (Not using AWS Account)

1 reply · opened May 28, 2024

AadventdesignllcMay 28, 2024

Hello,

I have a form mail set up with an AWS account. The SMTP settings are configured correctly in the action file, and the form functions. However, upon checking the form, it seems to be sending it locally rather than using the AWS account.

We have a several symptoms:

  1. The email fails to show in some inboxes. Upon testing, these results came back for deliverability, 6.7/10 (https://www.mail-tester.com/test-s6j7zv84v&reloaded=1)
  2. The records for the AWS account show no emails being sent with the AWS account

We need to fix this issue so that the template sends email notifications from the AWS account.

FORM ACTION FILE SMTP CREDENTIALS: "contact-form-test.php"

$mail->Host = 'smtp.zeptomail.com'; // Set the SMTP server to send through
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'emailappsmtp.2b64ab45'; // SMTP username
$mail->Password = 'suhpL0W8nCVr'; // SMTP password
$mail->SMTPSecure = 'TLS'; // Enable TLS encryption
$mail->Port = 587;

Here is the form code:

<main class="postcontent col-lg-8">
<div class="form-widget">
<div class="form-result"></div>

							&lt;form class="mb-0" id="template-contactform" name="template-contactform" action="&lt;?=$relative?&gt;include/contact-form-test.php" method="post"&gt;

								&lt;div class="form-process"&gt;
									&lt;div class="css3-spinner"&gt;
										&lt;div class="css3-spinner-scaler"&gt;&lt;/div&gt;
									&lt;/div&gt;
								&lt;/div&gt;

								&lt;div class="row"&gt;
									&lt;div class="col-md-4 form-group"&gt;
										&lt;label for="template-contactform-name"&gt;Name &lt;small&gt;*&lt;/small&gt;&lt;/label&gt;
										&lt;input type="text" id="template-contactform-name" name="template-contactform-name" value="" class="form-control required" required="true"&gt;
									&lt;/div&gt;

									&lt;div class="col-md-4 form-group"&gt;
										&lt;label for="template-contactform-email"&gt;Email &lt;small&gt;*&lt;/small&gt;&lt;/label&gt;
										&lt;input type="email" id="template-contactform-email" name="template-contactform-email" value="" class="required email form-control" required="true"&gt;
									&lt;/div&gt;

									&lt;div class="col-md-4 form-group"&gt;
										&lt;label for="template-contactform-phone"&gt;Phone&lt;/label&gt;
										&lt;input type="text" id="template-contactform-phone" name="template-contactform-phone" value="" class="form-control"&gt;
									&lt;/div&gt;

									&lt;div class="w-100"&gt;&lt;/div&gt;

									&lt;div class="col-12 form-group"&gt;
										&lt;label for="template-contactform-message"&gt;Message&lt;/label&gt;
										&lt;textarea class="required form-control" id="template-contactform-message" name="template-contactform-message" rows="6" cols="30"&gt;&lt;/textarea&gt;
									&lt;/div&gt;

									&lt;div class="col-12 form-group d-none"&gt;
										&lt;input type="text" id="template-contactform-botcheck" name="template-contactform-botcheck" value="" class="form-control"&gt;
									&lt;/div&gt;

									&lt;!-- hCAPTCHA token container --&gt;
									&lt;div class="h-captcha" data-sitekey="a421f472-0fd9-493e-bc83-1c78eda98141"&gt;&lt;/div&gt;

									&lt;div class="col-12 form-group"&gt;
										&lt;button class="button button-3d m-0" type="submit" id="template-contactform-contact" name="template-contactform-contact" value="contact"&gt;Let's Talk&lt;/button&gt;
									&lt;/div&gt;
								&lt;/div&gt;

								&lt;input type="hidden" name="prefix" value="template-contactform-"&gt;

							&lt;/form&gt;
						&lt;/div&gt;

					&lt;/main&gt;
AadventdesignllcMay 31, 2024

Hello? Please respond.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard