CSG FINANCIAL — SMTP EMAIL DELIVERY SETUP

Configured sender identity
  Display name: CSG Financial
  From address: noreply@csglobalfinancial.com
  Reply-To:     contactus@csglobalfinancial.com
  Domain:       csglobalfinancial.com

The website now supports authenticated SMTP delivery through PHPMailer. It keeps
HTML email previews in the administrator portal and attempts delivery to the
customer's registered email for account creation, card requests and card-status
updates. Password-reset messages are also sent when the matching account is found.

WHAT IS STILL REQUIRED FROM YOUR EMAIL/HOSTING PROVIDER
  1. SMTP hostname (for example, the provider's documented outgoing mail server).
  2. SMTP port (usually 587 with TLS or 465 with SSL; use the provider's value).
  3. Confirm that noreply@csglobalfinancial.com exists and can send mail.
  4. Mailbox password or app password. Do not send this password in ChatGPT.
  5. Ensure SPF and DKIM are published for csglobalfinancial.com; configure DMARC
     according to your provider's instructions.

INSTALLATION
  1. Install PHPMailer on the hosting account using Composer:
       composer require phpmailer/phpmailer
     This creates vendor/autoload.php, which the API loads automatically.
  2. Copy mail-config.example.php to mail-config.php in this same csglobal folder.
  3. Fill in the actual SMTP host, port, encryption and mailbox password in mail-config.php.
  4. Set enabled to true only after the provider details are entered.
  5. Protect mail-config.php from public download and restrict file permissions.
  6. Test using an inbox you control. Check inbox, spam and the hosting/PHP error log.

IMPORTANT
  - The visible From name is CSG Financial; the From address is noreply@csglobalfinancial.com.
  - Replies go to contactus@csglobalfinancial.com.
  - The email content identifies this as an independent digital prototype.
  - Email delivery depends on valid SMTP credentials, domain authentication and provider
    acceptance. The API reports preview-only/not-sent if delivery cannot be completed.
  - Do not place mailbox credentials in JavaScript, HTML, public files or chat messages.
