[go: up one dir, main page]

CN109639471A - A kind of method and system of automatic transmission Email - Google Patents

A kind of method and system of automatic transmission Email Download PDF

Info

Publication number
CN109639471A
CN109639471A CN201811468456.5A CN201811468456A CN109639471A CN 109639471 A CN109639471 A CN 109639471A CN 201811468456 A CN201811468456 A CN 201811468456A CN 109639471 A CN109639471 A CN 109639471A
Authority
CN
China
Prior art keywords
mail
stmp
client
current
send
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811468456.5A
Other languages
Chinese (zh)
Inventor
郑树锐
张松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811468456.5A priority Critical patent/CN109639471A/en
Publication of CN109639471A publication Critical patent/CN109639471A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种自动发送电子邮件的方法,其基于接收到的外界发来的发邮件请求,先调用预先设置的stmp客户端连接预先配设的邮件服务器发送当前邮件,若邮件发送失败,再检查邮件服务器是否启用了stmp协议的配置的动态调整,并在检查结果为启用了stmp协议的配置的动态调整后,探查stmp客户端连接预先配设的邮件服务器的协议交互,并对应调整stmp客户端的stmp协议的配置,然后再次调用所述的stmp客户端重新发送当前次邮件,若本次邮件依然是发送失败,再调用本地outlook邮箱客户端再次重新发送邮件。本发明还提供了一种与上述自动发送电子邮件的方法相对应的自动发送电子邮件的系统。本发明用于实现电子邮件的自动发送。

The present invention provides a method for automatically sending e-mails. Based on a received e-mail request from the outside world, a preset stmp client is called to connect to a preset e-mail server to send the current e-mail. If the e-mail fails to be sent, Then check whether the mail server has enabled the dynamic adjustment of the configuration of the stmp protocol, and after the check result is that the dynamic adjustment of the configuration of the stmp protocol is enabled, probe the protocol interaction between the stmp client and the pre-configured mail server, and adjust the stmp accordingly. Configure the stmp protocol of the client, and then call the stmp client again to resend the current email. If the email still fails to be sent this time, call the local outlook email client to resend the email again. The present invention also provides a system for automatically sending e-mails corresponding to the above-mentioned method for automatically sending e-mails. The present invention is used to realize automatic sending of electronic mail.

Description

A kind of method and system of automatic transmission Email
Technical field
The present invention relates to mails to send field, the method and system of specifically a kind of automatic transmission Email, for soft Part application system, for sending Email automatically.
Background technique
With the development of science and technology with the demand of work, mailing system has been applied directly to more and more more and more In more application systems.
In application system, the automatic Email that sends can bring the promotion of working efficiency.However in the prior art still The solution not occurred.
For this purpose, being asked the present invention provides a kind of automatic method and system for sending Email for solving above-mentioned technology Topic.
Summary of the invention
The technical problem to be solved by the invention is to provide a kind of automatic method and system for sending Email, are used for Realize the automatic transmission of Email.
In order to solve the above technical problems, the present invention provides a kind of automatic methods for sending Email, comprising steps of
S1, the extraneous hair mail requests sent are received;The hair mail requests include mail element, the mail element packet Include mail matter topics, message body, mail sender, mail recipient's list;
After s2, the hair mail requests described in receiving, pre-set stmp client connection is called to be arranged in advance automatically Mail server sends current mail, if mail is sent successfully then executes step s5, otherwise continues to execute step s3;
S3, check whether the mail server enables the dynamic adjustment of the configuration of stmp agreement, if inspection result is to enable The dynamic adjustment of the configuration of stmp agreement, then detect the mail server that the connection of stmp client is arranged in advance in step s2 Protocol interaction, and according to probe result and the corresponding configuration for adjusting the stmp client of pre-set configuration strategy, so It calls the stmp client to retransmit when previous mail again afterwards, if this mail is sent successfully, then executes step Otherwise rapid s5 then continues to execute step s4;
S4, call pre-set local outlook mailbox client to retransmit current mail again, if this transmission at Function then continues to execute step s5, otherwise then executes step s6;
S5, current mail transmission terminate, and be current mail mark its transmission result be to send successfully;
S6, current mail transmission terminate, and be current mail mark its send result be send fail.
Wherein, in step s3, the stmp client in step s2 of detecting connects the mail server being arranged in advance Protocol interaction, authorization type, encryption type and port numbers including the mail server.
Wherein, which is realized based on Java language, wherein the stmp client is adopted With the library javaMail, the outlook mailbox client is based on com component automatic technology and is controlled.
Wherein, the mail element further includes mail CC list.
In addition, the present invention also provides a kind of automatic systems for sending Email, comprising:
Stmp client;
Outlook mailbox client;
Mail requests receiving unit, for receiving the extraneous hair mail requests sent;The hair mail requests include that mail is wanted Element, the mail element include mail matter topics, message body, mail sender, mail recipient's list;
First processing units are connected with the mail requests receiving unit and stmp client respectively, described in receiving After sending out mail requests, the mail server for calling pre-set stmp client connection to be arranged in advance automatically sends current postal Part;
The second processing unit is connected with the first processing units, presets for calling automatically in first processing units The mail server that is arranged in advance of stmp client connection send current mail failure after, whether check the mail server The dynamic adjustment of the configuration of stmp agreement is enabled, if testing result is the dynamic adjustment for the configuration for enabling stmp agreement, The protocol interaction for the mail server that the connection of stmp client described in first processing units is arranged in advance is detected, and foundation is detected As a result and pre-set configuration strategy corresponds to the configuration for adjusting the stmp client, then calls the stmp again Client retransmits current mail;
Third processing unit is connected with described the second processing unit and outlook mailbox client respectively, at second After reason cell call stmp client sends mail failure again, the outlook mailbox client is called to send out again again Send current mail;
Fourth processing unit is connected with the first processing units, the second processing unit and third processing unit respectively, is used for The mail server that first processing units call pre-set stmp client connection to be arranged in advance automatically sends current mail When success, when the second processing unit calls stmp client to send current mail success again and in third processing unit When the outlook mailbox client being called to retransmit current mail success again, it is respectively used to as current mail label It is to send successfully that it, which sends result,;It is also used to call the outlook mailbox client again again in third processing unit Send current mail failure when, be current mail mark its send result be send fail.
Wherein, the mail clothes that the connection of stmp client described in the first processing units that second unit detects is arranged in advance The protocol interaction of business device, authorization type, encryption type and port numbers including the mail server.
Wherein, which is realized based on Java language, wherein the stmp client is adopted With the library javaMail, the outlook mailbox client is based on com component automatic technology and is controlled.
Wherein, mail element described in mail requests receiving unit further includes mail CC list.
Compared with the prior art, the advantages of the present invention are as follows:
(1) method of automatic transmission Email of the present invention, based on the hair mail requests that the external world received is sent, The mail server for first calling pre-set stmp client connection to be arranged in advance sends current mail, loses if mail is sent It loses, whether re-inspection mail server enables the dynamic adjustment of the configuration of stmp agreement, and is to enable in inspection result After the dynamic adjustment of the configuration of stmp agreement, the protocol interaction for the mail server that the connection of stmp client is arranged in advance is detected, And the configuration of the stmp agreement of corresponding adjustment stmp client, then call the stmp client to retransmit again current Secondary mail recalls local outlook mailbox client and retransmits mail again if this mail is still transmission failure, It can be seen that the present invention is not only able to achieve the automatic transmission of Email, but also it can not only send stmp mail, can also send Outlook mail, it is seen that the present invention can be suitable for a variety of transmission scenes, more practical.
(2) system of automatic transmission Email of the present invention, the side with the automatic transmission Email Method is corresponding, and all advantages of the method with the automatic transmission Email are not repeating herein.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is the method flow schematic diagram of the method for automatic transmission Email of the present invention.
Fig. 2 is the structural block diagram schematic diagram of the system of automatic transmission Email of the present invention.
Specific embodiment
To keep technical solution of the present invention and advantage clearer, below in conjunction with attached drawing, to technical solution of the present invention It is clearly and completely described.
Fig. 1 is a kind of specific embodiment of the method for automatic transmission Email of the present invention.In present embodiment In, this sends the method for Email automatically, includes the following steps s1-s6, for realizing the automatic transmission of Email.
S1, the extraneous hair mail requests sent are received.
Wherein, the hair mail requests include mail element, the mail element include mail matter topics, mail just Text, mail sender, mail recipient's list and mail CC list.
Wherein, in the present embodiment, each " external world " involved in the present invention, refer to using of the present invention The application system of the automatic method for sending Email, when specifically used, the application system is periodically or mail described in timing acquiring The corresponding each content of element simultaneously automatically initiates hair mail requests.
After s2, the hair mail requests described in receiving, pre-set stmp client connection is called to match in advance automatically If mail server send current mail, if mail is sent successfully transfer execution step s5, otherwise continue to execute step s3.
Wherein, Stmp client is directly interacted with mail server, and mail server is first center for depositing mail Address, stmp client send mail dependent on mail server.Mail on mail server is labeled with mail receipts Mail can be carried out forwarding appropriate using the information of mail recipient by part people's information, mail server.
Wherein, stmp client before the use, needs to be arranged its corresponding mail server, the content packet of setting in advance Include address and the port numbers of mail server.
In the present embodiment, which is realized based on Java language, wherein described Stmp client uses the library javaMail.
S3, check whether the mail server enables the dynamic adjustment of the configuration of stmp agreement, if inspection result is The dynamic adjustment for enabling the configuration of stmp agreement then detects stmp client in step s2 and connects the mail service being arranged in advance The protocol interaction of device, and corresponded to according to probe result and pre-set configuration strategy and adjust matching for the stmp client It sets, then calls the stmp client to retransmit when previous mail again, if this mail is sent successfully, then hold Otherwise row step s5 then continues to execute step s4.
Wherein, there are three kinds of following (1)-(3) situations for the configuration strategy of the stmp client based on the library javamail:
(1) basic connection is configured with user name, password, coding mode etc..
Mail.stmp.user=your_name
Mail.stmp.password=your_password
defaultEncoding=utf-8
Mail.stmp.auth=true
(2) if mail server has used the domain window authentication mode, ntmp is needed to configure, and username and password will be changed to The username and password used when the login of windows the machine.
Mail.stmp.user=your_computer_name
Mail.stmp.password=your_computer_password
Mail.stmp.auth=ntmp
(3) mail server having can configure cipher mode, have two kinds of cipher modes of ssl and starttls, add when being configured to ssl When close mode, the configuration parameter that needs are as follows:
mail.stmp.socketfactory.class=javax.net.ssl.SSLSockeFactory;
mail.stmp.socketfactory.fackback=true;
mail.stmp.socketfactory.port=465;
mail.stmp.port=465.
If mail server configuration is startttls cipher mode, increased be configured that is needed
Mail.starttls.enable=true
Mail.stmp.port=587
So far as it can be seen that the configuration based on mail server, selects corresponding configuration parameter as the configuration parameter of stmp client.
In step s3, the agreement for detecting the mail server that the connection of stmp client is arranged in advance in step s2 Interaction, authorization type, encryption type and port numbers including the mail server.
Further, the present invention can also analyze stmp client by way of program debug by telnet tool The protocol interaction for the mail server that end connection is arranged in advance, detects out the configuration parameter of mail server, including mail service Authorization type, encryption type and the port numbers of device.
For example, the interactive process that stmp protocol interaction starts has indicated that rough configuration mode, it is as follows:
EHLO server_host
250-xxx.server_host Hello [xxx.xx.xx.x]
250-SIZE 52469760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH GSSAPI NTLM
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250-XRDST
250 XSHADOW
This time interaction is shown, and stmp client needs to be logged in the domain windows authentication mode, and needs to be added with starttls Close mode.
S4, pre-set local outlook mailbox client is called to retransmit current mail again, if this sends Success, then continue to execute step s5, otherwise then executes step s6.
The outlook mailbox client is based on com component automatic technology and is controlled.
Wherein, the mode that Com component automation mode completes mail needs a few step preparations, firstly, in windows sheet Corresponding configuration is completed on machine, and outlook mailbox is enable normally to send mail;Then it obtains jacob.jar packet and corresponds to Jacob.dll, and jacob.jar is put into class.path, is put into jaob.dll under the bin catalogue of jre.So far, The java code of the transmission outlook mail based on Variant and Dispatch interface is write in windows the machine.
Wherein, Jacob.dll is the realization of window com component automated server, and jacob.jar packet passes through jni skill Art calls the interface in jacob.dll.Jacob.jar can manipulate all com components, including outlook mailbox client.
S5, current mail transmission terminate, and be current mail mark its transmission result be to send successfully.
S6, current mail transmission terminate, and be current mail mark its send result be send fail.
To sum up, the method for automatic transmission Email of the present invention, the hair postal sent based on the external world received Part request, the mail server for first calling pre-set stmp client connection to be arranged in advance sends current mail, if mail Failure is sent, whether re-inspection mail server enables the dynamic adjustment of the configuration of stmp agreement, and is to open in inspection result After dynamic adjustment with the configuration of stmp agreement, the agreement for detecting the mail server that the connection of stmp client is arranged in advance is handed over Mutually, and the configuration for adjusting the stmp agreement of stmp client is corresponded to, the stmp client is then called to retransmit again When previous mail, if this mail is still transmission failure, recalls local outlook mailbox client and retransmit postal again Part, it is seen that the present invention is not only able to achieve the automatic transmission of Email, but also it can not only send stmp mail, can also send Outlook mail, it is seen that the present invention can be suitable for a variety of transmission scenes, more practical.
In addition, referring to fig. 2, the present invention also provides a kind of automatic system for sending Email, the system and it is above-mentioned from The dynamic method for sending Email is corresponding, comprising:
Stmp client;
Outlook mailbox client;
Mail requests receiving unit, for receiving the extraneous hair mail requests sent;The hair mail requests include that mail is wanted Element, the mail element include mail matter topics, message body, mail sender, mail recipient's list and mail CC people List;
First processing units are connected with the mail requests receiving unit and stmp client respectively, described in receiving After sending out mail requests, the automatic mail server for calling the stmp client connection to be arranged in advance sends current mail;
The second processing unit is connected with the first processing units, described for calling automatically in first processing units After the mail server that the connection of stmp client is arranged in advance sends current mail failure, check whether the mail server opens It is visited with the dynamic adjustment of the configuration of stmp agreement if testing result is the dynamic adjustment for the configuration for enabling stmp agreement The protocol interaction for the mail server that the connection of stmp client described in first processing units is arranged in advance is looked into, and foundation detects knot Fruit and the corresponding configuration for adjusting the stmp client of pre-set configuration strategy, then call the stmp visitor again Family end retransmits current mail;
Third processing unit is connected with described the second processing unit and outlook mailbox client respectively, at second After reason cell call stmp client sends mail failure again, the outlook mailbox client is called to send out again again Send current mail;
Fourth processing unit is connected with the first processing units, the second processing unit and third processing unit respectively, is used for First processing units call the stmp client to connect the mail server being arranged in advance automatically and send current mail success When, the second processing unit call stmp client send again current mail success when and third processing unit call When the outlook mailbox client retransmits current mail success again, it is respectively used to mark its hair for current mail Sending result is to send successfully;It is also used to call the outlook mailbox client to retransmit again in third processing unit Current mail fail when, be current mail mark its send result be send fail.
Wherein, in the present embodiment, each " external world " involved in the present invention, refer to using of the present invention The application system of the automatic method for sending Email, when specifically used, the application system is periodically or mail described in timing acquiring The corresponding each content of element simultaneously automatically initiates hair mail requests.
Wherein, Stmp client is directly interacted with mail server, and mail server is first center for depositing mail Address, stmp client send mail dependent on mail server.Mail on mail server is labeled with mail receipts Mail can be carried out forwarding appropriate using the information of mail recipient by part people's information, mail server.
Wherein, stmp client before the use, needs to be arranged its corresponding mail server, the content packet of setting in advance Include address and the port numbers of mail server.The mail server being arranged in advance is to match in advance in the stmp client If mail server.
Wherein, second unit detects the first processing list telnet tool (by way of can also be by program debug) The protocol interaction for the mail server that the connection of stmp client described in member is arranged in advance, probe result include the mail service Authorization type, encryption type and the port numbers of device.
Wherein, which is realized based on Java language, wherein the stmp client is adopted With the library javaMail.
Wherein, the configuration strategy of the stmp client based on the library javamail, referring to above-mentioned automatic transmission Email Three kinds of (1)-(3) situation in the embodiment of method, details are not described herein.
In the present embodiment, the outlook mailbox client is controlled based on com component automatic technology.
Wherein, the mode that Com component automation mode completes mail needs a few step preparations, firstly, in windows sheet Corresponding configuration is completed on machine, and outlook mailbox is enable normally to send mail;Then it obtains jacob.jar packet and corresponds to Jacob.dll, and jacob.jar is put into class.path, is put into jaob.dll under the bin catalogue of jre.So far, The java code of the transmission outlook mail based on Variant and Dispatch interface is write in windows the machine.
Wherein, Jacob.dll is the realization of window com component automated server, and jacob.jar packet passes through jni skill Art calls the interface in jacob.dll.Jacob.jar can manipulate all com components, including outlook mailbox client.
To sum up, the system of automatic transmission Email of the present invention when in use, passes through mail requests receiving unit The extraneous hair mail requests sent are received, the hair mail that mail requests receiving unit is sent is received by first processing units and asks It asks, and after receiving the hair mail requests, first processing units call the stmp client to connect automatically (should In stmp client) mail server that is arranged in advance sends current mail;Later by the second processing unit, in the first processing After unit calls the stmp client to connect the mail server transmission current mail failure being arranged in advance automatically, institute is checked The dynamic adjustment whether mail server enables the configuration of stmp agreement is stated, if testing result is to enable matching for stmp agreement The dynamic adjustment set, then detect the agreement for the mail server that the connection of stmp client described in first processing units is arranged in advance Interaction, and according to probe result and the corresponding configuration for adjusting the stmp client of pre-set configuration strategy, then again Stmp client described in secondary calling retransmits current mail;Later by third processing unit, in the second processing unit tune After sending mail failure again with stmp client, pre-set local outlook mailbox client is called to send out again again Send current mail.Wherein, the stmp client is called to connect the mail service being arranged in advance automatically in first processing units When device sends current mail success, the stmp client is called to send current mail success again in the second processing unit When, and when third processing unit calls the outlook mailbox client to retransmit current mail success again, point Not by fourth processing unit be current mail mark its send result be to send successfully.In addition, being called in third processing unit It is current mail by fourth processing unit when the outlook mailbox client retransmits current mail failure again It is marked to send result to send failure.
As it can be seen that the present invention is not only able to achieve the automatic transmission of Email, but also stmp mail can be sent but also sent Outlook mail, it is seen that it is suitable for a variety of transmission scenes and uses, it is more practical.
Embodiment of above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned implementation Invention is explained in detail for mode, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are repaired Change or replaces, the range for each embodiment technical solution of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (8)

1. a kind of automatic method for sending Email, which is characterized in that comprising steps of
S1, the extraneous hair mail requests sent are received;The hair mail requests include mail element, the mail element packet Include mail matter topics, message body, mail sender, mail recipient's list;
After s2, the hair mail requests described in receiving, pre-set stmp client connection is called to be arranged in advance automatically Mail server sends current mail, if mail is sent successfully then executes step s5, otherwise continues to execute step s3;
S3, check whether the mail server enables the dynamic adjustment of the configuration of stmp agreement, if inspection result is to enable The dynamic adjustment of the configuration of stmp agreement, then detect the mail server that the connection of stmp client is arranged in advance in step s2 Protocol interaction, and according to probe result and the corresponding configuration for adjusting the stmp client of pre-set configuration strategy, so It calls the stmp client to retransmit when previous mail again afterwards, if this mail is sent successfully, then executes step Otherwise rapid s5 then continues to execute step s4;
S4, call pre-set local outlook mailbox client to retransmit current mail again, if this transmission at Function then continues to execute step s5, otherwise then executes step s6;
S5, current mail transmission terminate, and be current mail mark its transmission result be to send successfully;
S6, current mail transmission terminate, and be current mail mark its send result be send fail.
2. the method for automatic transmission Email according to claim 1, which is characterized in that described in step s3 The protocol interaction for detecting the mail server that the connection of stmp client is arranged in advance in step s2, including the postal being arranged in advance Authorization type, encryption type and the port numbers of part server.
3. the method for automatic transmission Email according to claim 1 or 2, which is characterized in that this sends electronics automatically The method of mail is realized based on Java language, wherein the stmp client uses the library javaMail, the outlook postal Case client is based on com component automatic technology and is controlled.
4. the method for automatic transmission Email according to claim 1 or 2, which is characterized in that the mail element It further include mail CC list.
5. a kind of automatic system for sending Email characterized by comprising
Stmp client;
Outlook mailbox client;
Mail requests receiving unit, for receiving the extraneous hair mail requests sent;The hair mail requests include that mail is wanted Element, the mail element include mail matter topics, message body, mail sender, mail recipient's list;
First processing units are connected with the mail requests receiving unit and stmp client respectively, described in receiving After sending out mail requests, the mail server for calling the stmp client connection to be arranged in advance automatically sends current mail;
The second processing unit is connected with the first processing units, described for calling automatically in first processing units After the mail server that the connection of stmp client is arranged in advance sends current mail failure, check whether the mail server opens It is visited with the dynamic adjustment of the configuration of stmp agreement if testing result is the dynamic adjustment for the configuration for enabling stmp agreement The protocol interaction for the mail server that the connection of stmp client described in first processing units is arranged in advance is looked into, and foundation detects knot Fruit and the corresponding configuration for adjusting the stmp client of pre-set configuration strategy, then call the stmp visitor again Family end retransmits current mail;
Third processing unit is connected with described the second processing unit and outlook mailbox client respectively, at second After reason cell call stmp client sends mail failure again, the outlook mailbox client is called to send out again again Send current mail;
Fourth processing unit is connected with the first processing units, the second processing unit and third processing unit respectively, is used for The mail server that first processing units call pre-set stmp client connection to be arranged in advance automatically sends current mail When success, when the second processing unit calls stmp client to send current mail success again and in third processing unit When the outlook mailbox client being called to retransmit current mail success again, it is respectively used to as current mail label It is to send successfully that it, which sends result,;It is also used to call the outlook mailbox client again again in third processing unit Send current mail failure when, be current mail mark its send result be send fail.
6. the system of automatic transmission Email according to claim 5, which is characterized in that second unit detect The protocol interaction for the mail server that the connection of stmp client described in one processing unit is arranged in advance, including the mail service Authorization type, encryption type and the port numbers of device.
7. the system of automatic transmission Email according to claim 5 or 6, which is characterized in that this sends electronics automatically The system of mail is realized based on Java language, wherein the stmp client uses the library javaMail, the outlook postal Case client is based on com component automatic technology and is controlled.
8. the system of automatic transmission Email according to claim 5 or 6, which is characterized in that mail requests receive single Mail element described in member further includes mail CC list.
CN201811468456.5A 2018-12-03 2018-12-03 A kind of method and system of automatic transmission Email Pending CN109639471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811468456.5A CN109639471A (en) 2018-12-03 2018-12-03 A kind of method and system of automatic transmission Email

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811468456.5A CN109639471A (en) 2018-12-03 2018-12-03 A kind of method and system of automatic transmission Email

Publications (1)

Publication Number Publication Date
CN109639471A true CN109639471A (en) 2019-04-16

Family

ID=66070664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811468456.5A Pending CN109639471A (en) 2018-12-03 2018-12-03 A kind of method and system of automatic transmission Email

Country Status (1)

Country Link
CN (1) CN109639471A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737782A (en) * 2020-05-25 2020-10-02 广东职业技术学院 Auxiliary design system of ceramic product

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0491367A2 (en) * 1990-12-19 1992-06-24 Bull HN Information Systems Inc. A queue managing method for an electronic mail system
CN1191439A (en) * 1996-12-20 1998-08-26 索尼株式会社 Method and device for automatically sending e-mail and automatic sending control program providing media
CN1305168A (en) * 2000-12-28 2001-07-25 英业达集团(南京)电子技术有限公司 Method for automatic timing transmission of e-mails
CN101083788A (en) * 2006-06-02 2007-12-05 华为技术有限公司 Method and system for automatic selecting mail transmitting account
CN101442498A (en) * 2007-11-19 2009-05-27 上海新纳广告传媒有限公司 Method for self-timing transmission of e-mail
WO2011095198A1 (en) * 2010-02-03 2011-08-11 Sony Ericsson Mobile Communications Ab Communication method for users using multiple communication devices and corresponding devices
CN102546449A (en) * 2010-12-16 2012-07-04 金蝶软件(中国)有限公司 Method and device for automatically sending mails
CN103607339A (en) * 2013-09-11 2014-02-26 北京京东尚科信息技术有限公司 Method and system based on content automatic adjustment mail sending strategy
CN104348916A (en) * 2014-10-31 2015-02-11 北京奇虎科技有限公司 Automatic login method for mail client and device
CN104394068A (en) * 2014-12-15 2015-03-04 中国船舶重工集团公司第七二二研究所 Short wave E-mail transmitting, receiving and communication method based on commercial client
CN104660493A (en) * 2015-02-10 2015-05-27 深圳市中兴移动通信有限公司 Connection processing method and device for mailbox client and email server
CN104734937A (en) * 2013-12-23 2015-06-24 林涛 System and method for automatically sending e-mail on basis of third party
CN107888484A (en) * 2017-11-29 2018-04-06 北京明朝万达科技股份有限公司 A kind of email processing method and system
CN108712318A (en) * 2018-04-10 2018-10-26 广东睿江云计算股份有限公司 A method of enhancing mail delivery success rate
CN108833150A (en) * 2018-06-04 2018-11-16 郑州云海信息技术有限公司 A kind of warning method and device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0491367A2 (en) * 1990-12-19 1992-06-24 Bull HN Information Systems Inc. A queue managing method for an electronic mail system
CN1191439A (en) * 1996-12-20 1998-08-26 索尼株式会社 Method and device for automatically sending e-mail and automatic sending control program providing media
CN1305168A (en) * 2000-12-28 2001-07-25 英业达集团(南京)电子技术有限公司 Method for automatic timing transmission of e-mails
CN101083788A (en) * 2006-06-02 2007-12-05 华为技术有限公司 Method and system for automatic selecting mail transmitting account
CN101442498A (en) * 2007-11-19 2009-05-27 上海新纳广告传媒有限公司 Method for self-timing transmission of e-mail
WO2011095198A1 (en) * 2010-02-03 2011-08-11 Sony Ericsson Mobile Communications Ab Communication method for users using multiple communication devices and corresponding devices
CN102546449A (en) * 2010-12-16 2012-07-04 金蝶软件(中国)有限公司 Method and device for automatically sending mails
CN103607339A (en) * 2013-09-11 2014-02-26 北京京东尚科信息技术有限公司 Method and system based on content automatic adjustment mail sending strategy
CN104734937A (en) * 2013-12-23 2015-06-24 林涛 System and method for automatically sending e-mail on basis of third party
CN104348916A (en) * 2014-10-31 2015-02-11 北京奇虎科技有限公司 Automatic login method for mail client and device
CN104394068A (en) * 2014-12-15 2015-03-04 中国船舶重工集团公司第七二二研究所 Short wave E-mail transmitting, receiving and communication method based on commercial client
CN104660493A (en) * 2015-02-10 2015-05-27 深圳市中兴移动通信有限公司 Connection processing method and device for mailbox client and email server
CN107888484A (en) * 2017-11-29 2018-04-06 北京明朝万达科技股份有限公司 A kind of email processing method and system
CN108712318A (en) * 2018-04-10 2018-10-26 广东睿江云计算股份有限公司 A method of enhancing mail delivery success rate
CN108833150A (en) * 2018-06-04 2018-11-16 郑州云海信息技术有限公司 A kind of warning method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737782A (en) * 2020-05-25 2020-10-02 广东职业技术学院 Auxiliary design system of ceramic product

Similar Documents

Publication Publication Date Title
US9048428B2 (en) Enabling communication between source and target mail transfer agents
US7487217B2 (en) Network domain reputation-based spam filtering
US7529802B2 (en) Method for performing multiple hierarchically tests to verify identity of sender of an email message and assigning the highest confidence value
US20060168057A1 (en) Method and system for enhanced electronic mail processing
CN105681160B (en) A method and device for correcting disorder of conversation messages in an instant messaging system
US20060004896A1 (en) Managing unwanted/unsolicited e-mail protection using sender identity
US8769262B2 (en) VPN connection system and VPN connection method
US20060200527A1 (en) System, method, and computer program product for communications management
CN101529399B (en) Proxy server and proxy method
CN102571637A (en) Message processing method and device
CN108390818A (en) Method, device, equipment and storage medium for interaction of instant messaging and mails
CN102801644B (en) Method and device for blocking mail behavior and gateway
CN106856448B (en) Mailbox configuration method, configuration system based on high in the clouds and cloud server
CN109379276A (en) A kind of method and system carrying out instant messaging based on mail protocol
JP4633842B2 (en) Notification system and method using messenger
US9021043B2 (en) Message gateway with hybrid proxy/store-and-forward logic
CN109639471A (en) A kind of method and system of automatic transmission Email
US8331964B1 (en) Suppression of short message service communications from a trusted domain
Sureswaran et al. Active e-mail system SMTP protocol monitoring algorithm
CN105141526A (en) Virtual network communication method and device
CN106789993A (en) TCP agent method and device
US20110106893A1 (en) Active Email Spam Prevention
US7539761B1 (en) System and method for detecting and defeating IP address spoofing in electronic mail messages
CN104348637B (en) A kind of method that TCP connection is kept in failover
CN108810012B (en) Communication method and device based on SIP protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190416