Third Part Mail Server Integration for GitHub Pages

This post provides a detailed guide on how to configure the backend mail server for GitHub Pages or other web services that only support frontend pages. It covers steps such as generating an HTML mail template, registering a domain email account and setting up an SMTP server, using EmailJS for the email backend service, utilizing Backblaze B2 OBS bucket for image storage, and finally deploying the website.

type
status
date
slug
summary
tags
category
icon
password
Here is the detailed step about how to configure the backend mail server for GitHub Pages (or other web services that only support frontend pages).
  1. Generate HTML Mail Template (Postcards)
    1. After editing the contents, export as a ZIP file with the images and HTML files together.
  1. Domain Email Account Registration and SMTP Server Setting
  1. Use EmailJS for Email Backend Service
    1. Basic Setting
      REST API Documentation
      Note:
      • SMTP.js only supports elasticemail as its backend SMTP mail server, no third-party SMTP server is supported.
      • The limitation of the content body of EmailJS is no more than 50kb, be sure the size of the HTML file is less than the threshold.
  1. Backblaze B2 OBS Bucket for Image Storage
    1. We need to upload the images extracted from the downloaded ZIP file to the OBS bucket and replace all of the image paths from the relative path to the HTTPS path, which can be obtained through the detailed property of the file in the OBS bucket.
  1. Website Deployment
Loading...