Is Google rejecting your mail forwarded from your domain?

Method 1: Fetching & Sending Your Domain Email in Your Free Gmail (POP3)

  1. Get Hosting Details: Log into your web host (cPanel/hosting) and find your POP/IMAP & SMTP server addresses, ports (usually 995 for POP, 465/587 for SMTP), and password for your domain email.
  2. Open Gmail Settings: In your personal Gmail, click the gear icon (⚙️) > See all settings > Accounts and Import.
  3. Add Mail Account: Under “Check mail from other accounts (using POP3),” click Add a mail account.
  4. Enter Domain Email: Type your you@yourdomain.com address and click Next.
  5. Enter Server Info: Use the details from your host:
    • Username: Your full domain email address.
    • Password: Your domain email password.
    • POP Server: Your incoming mail server address (e.g., mail.yourdomain.com).
    • Port: Usually 995, check “Always use a secure connection (SSL)”.
    • Check “Leave a copy…” if you want emails on the server too.
  6. Add SMTP (Sending): Click Yes, I want to be able to send mail as… when prompted and enter your SMTP details (server, port, login info) from your host.
  7. Verify: Gmail sends a confirmation code to your domain email; enter it to finish setup. 

PHPMailer

Host disables mail() function on your shared server?

Install PHPMailer & update all of your forms

https://www.inmotionhosting.com/support/website/using-phpmailer-to-send-mail-through-php/

https://help.dreamhost.com/hc/en-us/articles/360031174411-PHPMailer-Installing-on-a-shared-server

set debug to 0 so it does not show in your browser

Add your variables at the top and place your html for the email recipient in the body tag

And add the html for the thank you page at the bottom

Google Analytics Mandatory Move to G4

Add a Google Analytics 4 property (to a site that already has Analytics)

If your website builder/CMS does not use the gtag.js tag, and your current tag is analytics.js.
You will need to create a new property. Make sure to use “enhanced measurement” to keep your prior data.

Goto G4 Setup Assistant
Click Data Stream & click on the G4 listing
Configure tag settings
Install Instructions
Install manually
Copy the gtag.js and add it to your site header pages

Google reCaptcha v3 on NON-WP sites

  1. Make sure you are logged in to your gMail
  2. Register your website & get your key
    GoTo: http://www.google.com/recaptcha/admin
    Click the + in top right to create new
    Type in the Website Name
    Choose v3
    Type in the Domain
    You will be admin
    Agree to Terms
    Submit
  3. You now have a site key & secret key
  4. In form html page header:
    <script src=”https://www.google.com/recaptcha/api.js?render= put your site key here “></script><script>    grecaptcha.ready(function () {        grecaptcha.execute(‘ put your site key here ‘, { action: ‘contact’ }).then(function (token) {            var recaptchaResponse = document.getElementById(‘recaptchaResponse’);            recaptchaResponse.value = token;        });    });</script>
  5. In form html page above </form>
    <input type=”hidden” name=”recaptcha_response” id=”recaptchaResponse”>
  6. In your php processing script:

<?php // Check if form was submitted:
if ($_SERVER[‘REQUEST_METHOD’] === ‘POST’ && isset($_POST[‘recaptcha_response’])) {

// Build POST request:
$recaptcha_url = 'https://www.google.com/recaptcha/api/siteverify';
$recaptcha_secret = 'Your secret key here';
$recaptcha_response = $_POST['recaptcha_response'];

// Make and decode POST request:
$recaptcha = file_get_contents($recaptcha_url . '?secret=' . $recaptcha_secret . '&response=' . $recaptcha_response);
$recaptcha = json_decode($recaptcha);

// Take action based on the score returned:
if ($recaptcha->score >= 0.5) {
  // multiple recipients
  $to  = 'mary@dossdesigns.com' . ', '; // note the comma
  // if you want to cc others $to .= 'email@yahoo.com';

  // subject
  $subject = 'Website Inquiry Form';

  // get variables from form
  $email = $_REQUEST ['email'];
  $name = $_REQUEST ['name'];
  $street = $_REQUEST ['street'];
  $city = $_REQUEST ['city'];
  $state = $_REQUEST ['state'];
  $zip = $_REQUEST ['zip'];
  $phone = $_REQUEST ['phone'];
  $comments = $_REQUEST ['comments'];



  // message
  $message = '
  Name:    '.$name.'

  Email    '.$email.'

  Address:    '.$street.', '.$city.', '.$state.'  '.$zip.'

  Phone    '.$phone.'

  Comments    '.$comments.'

  ';

//Put your html for your thank you below here


Most From: https://codeforgeek.com/google-recaptcha-v3-tutorial/

Captcha

Register Domain at Google. https://contactform7.com/recaptcha/

Using Contact 7 form on WordPress, goto integration and enter the site key & secret key you created above.

Done!

Welcome!

Thank you for visiting Doss Designs.

We offer a wide range of services. If you do not see a category in the top menu that fits your interest, please email your question to mary@dossdesigns.com and I will personally respond – normally within 24 hours.

Feel free to browse our blog full of helpful information about many different CMS platforms and marketing suggestions.

receipt of .us domain mail intermittent mainly from cell phones

Check your .us domain out here:

https://intodns.com/

If you get this error, your DNS was not set up properly, but .com domains don’t seem to care.

ERROR: Some of your DNS servers do not have A records at all. I could not find any A records for the following DNS servers:
ns1.nameserverdomain.com
ns2.nameserverdomain.com

You must have A records for all of your nameservers.

Also…the IP will be missing:
Nameserver records returned by the parent servers are:

ns1.nameserverdomain.com. [] (NO GLUE) [TTL=7200]
ns2.nameserverdomain.com. [] (NO GLUE) [TTL=7200]

a.cctld.us was kind enough to give us that information.

Should look like this:

Nameserver records returned by the parent servers are:

ns70.domaincontrol.com. [‘208.109.255.45’] (NO GLUE) [TTL=3600]
ns69.domaincontrol.com. [‘216.69.185.45’] (NO GLUE) [TTL=3600]

a.cctld.us was kind enough to give us that information.

How do you fix?

– Login to your cPanel/WHM
– Search for Edit DNS Zone
– Select the domain that you set as host/nameserver
– Add New Entries Below this Line
ns1 –> 14400 –> A –> YourServerIP
ns2 –> 14400 –> A –> YourServerIP

Save

Hopefully that will fix the problem.