Configurable e-mail sending system based on Nginx

Through the Nginx-based configurable email sending system, the problem that traditional email services cannot achieve data and file network isolation is solved, the system configurability and security is improved, and the user's diverse email processing needs are met.

CN119835245APending Publication Date: 2025-04-15CHINA TELECOM DIGITAL INTELLIGENCE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411856902.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

Traditional email services cannot achieve network isolation between data and files, resulting in network congestion and performance degradation, increasing email sending delays, and accompanying security risks. At the same time, the functions are single, and it cannot meet users' diverse email processing needs.

Method used

The configurable email sending system based on Nginx is adopted, including the mail configuration module, the mail sending task module and the Nginx mail proxy server. The email information is configured through the mail configuration module. The mail sending task module assembles the mail messages and sends them to the Nginx mail proxy server to realize mail forwarding and network isolation.

Benefits of technology

It improves the configurability and flexibility of the email sending system, meets the delivery needs of different groups of people, enhances human-computer interaction performance, and ensures data security through network isolation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835245A_ABST
    Figure CN119835245A_ABST
Patent Text Reader

Abstract

The invention discloses a configurable E-mail sending system based on Nginx, which comprises an E-mail configuration module, an E-mail sending task module and an Nginx E-mail proxy server, and is characterized in that the E-mail configuration module is used for configuring E-mail information and realizing man-machine interaction and storage of the E-mail information; the email sending task module assembles email data into an email message according to the email information configured by the email configuration module, and sends the assembled email message to the Nginx email proxy server; and the Nginx mail proxy server sends the assembled mail message in real time. According to the invention, sending services and mails can be flexibly configured through the mail configuration module, so that the flexibility of the sending services is improved, the sending requirements of different crowds can be met, and the man-machine interaction performance is enhanced; meanwhile, the Nginx mail proxy server only forwards the mail and does not store the data, and the data is stored in mail configuration, so that the security of the data is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of email, and in particular to a configurable email sending system based on Nginx. Background Art

[0002] With the popularization of the Internet, email has become a widely used communication method. In order to meet the email sending needs of a large number of users, server technology has developed rapidly and has the ability to handle concurrent requests and store large amounts of email data. At the same time, with the continuous updating and optimization of programming languages, it has become easier to develop efficient and stable email sending systems, and the maturity of database technology has also provided reliable support for the email system to manage user information, email content, etc.

[0003] However, traditional email services require the assembly of email content and the sending of attachments to an interface machine, where email sending is implemented. Network isolation of data and files cannot be achieved. The transmission of large amounts of data and files will occupy network bandwidth, leading to network congestion and performance degradation, increasing email sending delays and accompanying security risks. At the same time, traditional email services only support basic email sending, receiving and storage functions, which cannot meet users' diverse email processing needs, making the email sending system single in function and poor in configuration flexibility, reducing user experience. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention provides a configurable email sending system based on Nginx, which can flexibly configure the email sending system and improve the security of data transmission in the email sending system.

[0005] To achieve the above technical objectives, the present invention adopts the following technical scheme: a configurable email sending system based on Nginx, comprising: a mail configuration module, a mail sending task module and an Nginx mail proxy server, wherein the mail configuration module is used for configuring email information to realize human-computer interaction and storage of email information; the mail sending task module assembles email data into email messages according to the email information configured by the mail configuration module, and sends the assembled email messages to the Nginx mail proxy server; the Nginx mail proxy server sends the assembled email messages in real time.

[0006] Furthermore, the mail configuration module adopts BS architecture, including: a mail configuration server and a mail configuration client, both of which need to perform sending service configuration, mail configuration and sending log configuration.

[0007] Furthermore, the sending service configuration includes: configuring multiple email sending types based on Nginx, configuring the sending server address and the sending service port number, and dynamically configuring a unique virtual domain name according to the sending server address and the sending service port number.

[0008] Furthermore, the email configuration includes: configuring sender and receiver mailboxes, configuring the subject, content and attachments of the email, and configuring the email sending method according to the configured multiple email sending types.

[0009] Furthermore, the sending log configuration includes: configuring the sender, configuring the sending time and configuring the email sending status.

[0010] Furthermore, the workflow of the email sending task module is as follows: scan the scheduled sending tasks configured by the email configuration module, and when the sending time is reached, assemble the email message according to the configured email, and push the assembled email message to the Nginx mail proxy server according to the configured email sending method, and record it according to the configured sending log.

[0011] Furthermore, the configuration process of the Nginx mail proxy server is: deploy the Nginx proxy service in the mail interface machine service, and add the stream module to monitor the sending service port number and the unique virtual domain name in the sending service, so as to realize the proxy forwarding of emails between the mail sending task module and the Nginx mail proxy server through the external network.

[0012] Furthermore, the Nginx mail proxy server also needs to read the outgoing service port number to implement dynamic address mapping.

[0013] Compared with the prior art, the present invention has the following beneficial effects: the configurable email sending system based on Nginx of the present invention can flexibly configure the sending service and emails by configuring the email configuration module, especially realizes the configurability of the sending service, can freely select and add different sending email servers, improves the flexibility of the sending service, can meet the sending needs of different groups of people, and enhances the human-computer interaction performance; at the same time, the Nginx mail proxy server in the present invention only forwards emails and does not store data. The data is stored in the email configuration. The network isolation of the email sending service and email data is realized through the Nginx mail proxy server, thereby ensuring the security of the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a framework diagram of a configurable email sending system based on Nginx of the present invention;

[0015] Figure 2 This is a schematic diagram of the mail configuration module in the present invention;

[0016] Figure 3 A flowchart of the email sending task module in the present invention for sending emails;

[0017] Figure 4 This is an architecture diagram of the Nginx mail proxy server in the present invention. DETAILED DESCRIPTION

[0018] The technical solution of the present invention is further explained below in conjunction with the accompanying drawings.

[0019] like Figure 1 The framework diagram of the configurable email sending system based on Nginx of the present invention is shown. The configurable email sending system includes: a mail configuration module, a mail sending task module and an Nginx mail proxy server. The mail configuration module is used for configuring email information to realize human-computer interaction and storage of email information; the mail sending task module assembles email data into email messages according to the email information configured by the mail configuration module, and sends the assembled email messages to the Nginx mail proxy server; the Nginx mail proxy server sends the assembled email messages in real time, and Nginx can effectively handle high concurrent email traffic, provide load balancing, DDoS protection, SSL encryption, content filtering and monitoring functions, simplify configuration and optimize the performance of the mail proxy server. The present invention realizes a configurable email sending service based on the Nginx mail proxy service, configures the sending and receiving service and email content through the mail configuration module, executes the sending service by the mail sending task module, and then calls the Nginx mail proxy server to forward emails, so as to realize the dynamic calling and configuration of multiple mail servers.

[0020] like Figure 2The mail configuration module in the present invention adopts BS architecture, including: mail configuration server and mail configuration client, both of which need to perform sending service configuration, mail configuration and sending log configuration. The sending service configuration includes: configuring multiple email sending types based on Nginx, configuring the sending server address and the sending service port number, and dynamically configuring a unique virtual domain name according to the sending server address and the sending service port number, wherein the email sending types include: pop3, smtp and exchange. The mail configuration includes: configuring the sender and receiver mailboxes, including: displaying the name of the email, the recipient account, the cc account, and the blind sender account of the email; configuring the subject, content and attachments of the email, wherein the content configuration of the email supports basic style editing and uploading of multiple attachments; and configuring the email sending method according to the configured multiple email sending types, including: real-time and scheduled sending. The sending log configuration includes: configuring the sender, configuring the sending time, and configuring the email sending status. By configuring the mail configuration module, you can flexibly configure the sending service and mails. In particular, the sending service is configurable, and different sending mail servers can be freely selected and added. This improves the flexibility of the sending service, can meet the sending needs of different groups of people, and enhances the human-computer interaction performance.

[0021] like Figure 3 The workflow of the mail sending task module in the present invention is as follows: scan the scheduled sending task configured by the mail configuration module, assemble the mail message according to the configured mail when the sending time is reached, push the assembled mail message to the Nginx mail proxy server according to the configured email sending method, and record it according to the configured sending log. The present invention isolates the mail configuration from the mail sending task module, which can better control the sending process. If an abnormality occurs in the sending, the sending service can be stopped in full or in part in time without affecting the use of other functions of the system.

[0022] like Figure 4 The configuration process of the Nginx mail proxy server in the present invention is as follows: deploy the Nginx proxy service in the mail interface machine service, add the stream module, monitor the mail service port number and the unique virtual domain name in the mail service, realize the proxy forwarding of emails between the mail sending task module and the Nginx mail proxy server through the external network, the Nginx mail proxy server only forwards mails and does not store data, the data is stored in the mail configuration, and the network isolation of the mail sending service and mail data is realized through the Nginx mail proxy server, ensuring the security of the data. In addition, the Nginx mail proxy server also needs to read the mail service port number to realize dynamic address mapping, thereby realizing the configurability of the mail service.

[0023] The configurable email sending system based on Nginx of the present invention can greatly improve the configurability of email sending, has high scalability and multiple application scenarios, greatly improves the initiative of business, and improves the work efficiency of users.

[0024] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. A configurable email sending system based on Nginx, characterized in that: include: Mail configuration module, mail sending task module and Nginx mail proxy server, the mail configuration module is used for configuring email information, realizing human-computer interaction and storage of email information; The mail sending task module assembles the email data into a mail message according to the email information configured by the mail configuration module, and sends the assembled mail message to the Nginx mail proxy server; the Nginx mail proxy server sends the assembled mail message in real time.

2. A configurable email sending system based on Nginx according to claim 1, characterized in that: The mail configuration module adopts BS architecture, including: a mail configuration server and a mail configuration client, both of which need to perform sending service configuration, mail configuration and sending log configuration.

3. A configurable email sending system based on Nginx according to claim 2, characterized in that: The sending service configuration includes: configuring multiple email sending types based on Nginx, configuring the sending server address and the sending service port number, and dynamically configuring a unique virtual domain name according to the sending server address and the sending service port number.

4. The configurable email sending system based on Nginx according to claim 3, characterized in that: The email configuration includes: configuring the sender and receiver mailboxes, configuring the subject, content and attachments of the email, and configuring the email sending method according to the configured multiple email sending types.

5. The configurable email sending system based on Nginx according to claim 4, characterized in that: The sending log configuration includes: configuring the sender, configuring the sending time and configuring the email sending status.

6. A configurable email sending system based on Nginx according to claim 5, characterized in that: The workflow of the mail sending task module is as follows: scan the scheduled sending tasks configured by the mail configuration module, and when the sending time is reached, assemble the mail message according to the configured mail, and push the assembled mail message to the Nginx mail proxy server according to the configured email sending method, and record it according to the configured sending log.

7. The configurable email sending system based on Nginx according to claim 6, characterized in that: The configuration process of the Nginx mail proxy server is as follows: deploy the Nginx proxy service in the mail interface machine service, add the stream module, monitor the sending service port number and the unique virtual domain name in the sending service, and realize the proxy forwarding of emails between the mail sending task module and the Nginx mail proxy server through the external network.

8. The configurable email sending system based on Nginx according to claim 7, characterized in that: The Nginx mail proxy server also needs to read the outgoing service port number to implement dynamic address mapping.

Citation Information

Patent Citations

  • Method and system for realizing self-adaption mail configuration

    CN101800953A

  • Agent mail gateway, system and method for supporting receiving and sending mails of multiple email boxes

    CN101951349A