Family Ties | Home Comfort Authorization pilot
1. In cPanel File Manager, upload fam/rr-pilot.pdf and fam/submit/send.php under the document root for www.wxa.org, preserving the fam layout. Leave the existing rr.pdf online during testing.
2. Put private/familyties-mail.php in a private directory one level ABOVE the domain document root. For /home/USER/public_html use /home/USER/private. If that would be publicly accessible through another domain, use a private directory in the account home and set $configPath in send.php to its absolute path. Use owner-only file permissions compatible with the PHP handler (typically 0600). Never extract the whole ZIP into a public folder.
3. In the private config enter an SMTP2GO API key permitted to send email and a verified sender address. Pilot destination is sisrael@familyplumbing.com. Change recipient to forms@familytieshvacp.com when ready.
4. Use PHP 8.x with cURL and outbound HTTPS to api.smtp2go.com. Under cPanel > Directory Privacy protect fam/submit and add a pilot advisor login. Check that a signed-out browser opening the HTTPS send.php address prompts for credentials. After sign-in, GET should display the instruction to open the PDF. A 403 after sign-in means the host must expose the authenticated REMOTE_USER to PHP. Keep the check enabled.
5. Open https://www.wxa.org/fam/rr-pilot.pdf in PDF Expert on one iPad. Use fictitious customer data. Enter 3 years, 1000 repair, 2000 future repairs, 200 annual maintenance, 2 SEER points, and 10000 replacement. Expected monthly savings $40, net monthly investment $100, additional cost of waiting $5,940.
6. Save a working copy offline. Reconnect. Tap Send Completed Form and authenticate if prompted. Verify SMTP2GO acceptance AND open the received PDF in the mailbox to check all entered and calculated values. Some iPad readers may not support full-PDF POST, authentication prompts, or displaying the response. If inconclusive, check SMTP2GO Activity before retrying. Each successful submission sends an email; identical file bytes share a reference for duplicate checks.
7. After pilot acceptance, publish the tested PDF as fam/rr.pdf to retain the existing Intune URL. Replace previously downloaded offline templates as needed. The SMTP2GO route delivers to email only.
