CN110380949A - Intranet e-mail sending method, device, computer equipment and storage medium - Google Patents

Intranet e-mail sending method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110380949A
CN110380949A CN201910440469.XA CN201910440469A CN110380949A CN 110380949 A CN110380949 A CN 110380949A CN 201910440469 A CN201910440469 A CN 201910440469A CN 110380949 A CN110380949 A CN 110380949A
Authority
CN
China
Prior art keywords
mail
sent
email relaying
request
server
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
CN201910440469.XA
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910440469.XA priority Critical patent/CN110380949A/en
Publication of CN110380949A publication Critical patent/CN110380949A/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/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • 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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • 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/21Monitoring or handling of messages
    • H04L51/226Delivery according to priorities
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention proposes a kind of intranet e-mail sending method, which comprises receives the email relaying request comprising mail to be sent that working environment server is sent;It is requested in response to the email relaying, calls the interface service module in test wrapper overseas barrier;By the interface service module in the test wrapper overseas barrier, by the email relaying to be sent to the mail server, so that the mail to be sent is sent to corresponding target terminal by the mail server.The present invention gets through the mail server in production, test environment service device, Communication between office network by interface service switching technique.

Description

Intranet e-mail sending method, device, computer equipment and storage medium
Technical field
The present invention relates to computer processing technical field more particularly to a kind of intranet e-mail sending methods, device, calculating Machine equipment and storage medium.
Background technique
Currently, each intra-company's mail of industry is all to carry out human-edited's transmission by outlook, it can not be by mail applications It is applied to developing instrument as interface service.
For example, Office Network machine can only be communicated with test environment service device, cannot directly with production environment mail server Communication then cannot achieve in the prior art when Office Network machine will be communicated to production environment mail server, cause mail There are limitations for communication.
In addition, at least there is also following defects in existing technology:
1, when Mail Contents are excessive, it can not send or be less likely to occur success;
2, group can not be supported to send;
3, having a single function for mail is inflexible.
Summary of the invention
The present invention provides a kind of intranet e-mail sending method and corresponding device, mainly realizes 1, is taken by interface It is engaged in switching technique, gets through mail server, test environment service device, Communication between office network in production.
The computer equipment that the present invention also provides a kind of for executing intranet e-mail sending method of the invention and readable Storage medium.
To solve the above problems, the present invention uses the technical solution of following various aspects:
In a first aspect, the present invention provides a kind of intranet e-mail sending method, which comprises
Receive the email relaying request comprising mail to be sent that working environment server is sent;
It is requested in response to the email relaying, calls the interface service module in test wrapper overseas barrier;
By the interface service module in the test wrapper overseas barrier, the email relaying to be sent to the mail is taken Business device, so that the mail to be sent is sent to corresponding target terminal by the mail server.
Specifically, further include:
If the email relaying number of requests received in preset time period is more than preset quantity;
The email relaying is requested successively to be ranked up by receiving time, forms request sequence;
Sequentially respond the email relaying request in the request sequence.
Specifically, further include:
If the email relaying number of requests received in preset time period is more than preset quantity;
It obtains the email relaying and requests corresponding account information;
The corresponding user class of the account information is judged according to the account information;
Email relaying request is ranked up according to the user class, forms Request Priority queue;
According to the email relaying request in request sequence described in the ordinal response of priority from high to low.
Specifically, further including recipient account's information in the email relaying request, the target terminal is the addressee The corresponding terminal of people's account information.
Preferably, before the email relaying request comprising mail to be sent for receiving the transmission of working environment server, Further include:
In preset configuration file, setting supports that the maximum value of the message body size sent is preset maximum value.
Specifically, the interface service module by the test wrapper overseas barrier, by the email relaying to be sent It is wrapped to the mail server so that the mail to be sent is sent to corresponding target terminal by the mail server It includes:
Detect the size of the mail to be sent;
When the size for detecting the mail to be sent is more than the preset maximum value, the mail to be sent is saved To the default file of server;
The download link of the default file is generated, and the download link is sent to the target terminal.
Specifically, the interface service module in the test wrapper overseas barrier calls mail server, and it will be described to be sent Before email relaying to the mail server, comprising:
Request is arranged in the sending instant for receiving the mail to be sent comprising object time, and the object time is arranged For the transmission triggering moment of the mail to be sent, so that the mail server is when the transmission triggering moment arrives, it will The mail to be sent is sent to the target terminal.
Second aspect, the present invention provide a kind of intranet mail sending device, and described device includes:
Receiving module, for receiving the email relaying request comprising mail to be sent of working environment server transmission;
Calling module calls the interface service module in test wrapper overseas barrier for requesting in response to the email relaying;
Sending module turns the mail to be sent for the interface service module by the test wrapper overseas barrier It is sent to the mail server, so that the mail to be sent is sent to corresponding target terminal by the mail server.
The third aspect, the present invention provide a kind of computer readable storage medium, deposit on the computer readable storage medium Computer program is contained, is realized when which is executed by processor internal described in any one of claim first aspect The step of net e-mail sending method.
Fourth aspect, the present invention provide a kind of computer equipment, including memory and processor, store in the memory There is computer-readable instruction, when the computer-readable instruction is executed by the processor, so that the processor executes such as the The step of intranet e-mail sending method described in any one of one side claim.
Compared with the existing technology, technical solution of the present invention at least has following advantage:
1, the present invention provides a kind of intranet e-mail sending method, by receive working environment server send comprising to Send the email relaying request of mail;It is requested in response to the email relaying, calls the interface service mould in test wrapper overseas barrier Block;By the interface service module in the test wrapper overseas barrier, by the email relaying to be sent to the mail server, So that the mail to be sent is sent to corresponding target terminal by the mail server.The present invention is turned by interface service Connection technology gets through mail server, test environment service device, Communication between office network in production.
2, when the email relaying number of requests that the present invention can receive within preset time period is more than preset quantity; The email relaying is requested successively to be ranked up by receiving time, forms request sequence;It sequentially responds in the request sequence Email relaying request.In another embodiment, the email relaying that the present invention can also receive within preset time period When number of requests is more than preset quantity, obtains the email relaying and request corresponding account information;Sentence according to the account information Break the corresponding user class of the account information;Email relaying request is ranked up according to the user class, is formed Request Priority queue;According to the email relaying request in request sequence described in the ordinal response of priority from high to low.This hair Bright to realize default crowd by the mechanism, such as the mail of company management personnel, setting preferentially sends, does not monitor, mail adds The functions such as close realize mail classification, convenient for the differentiated control of mail.
3, the present invention can detecte the size of the mail to be sent;When the size for detecting the mail to be sent is more than When the preset maximum value, the mail to be sent is saved in the default file of server;It generates under the default file Link is carried, and the download link is sent to the target terminal.The present invention realizes intelligent measurement mail with this solution Size first judges whether that body matter is excessive, if excessive, Mail Contents can be saved in file, and this document is protected Be stored under the specified path of server, then give message body send a download link, recipient by click the link from Server downloads the file to local, and solving the problems, such as that Mail Contents are excessive can not send.
4, the present invention can also receive the sending instant setting request of the mail to be sent comprising object time, by institute The transmission triggering moment that object time is set as the mail to be sent is stated, so that the mail server is triggered in the transmission When moment arrives, the mail to be sent is sent to the target terminal.The present invention realizes customized hair with this solution The time is sent, the condition that customized triggering mail is sent promotes user experience so that this programme flexibility is very high.
Detailed description of the invention
Fig. 1 is intranet e-mail sending method flow chart in one embodiment;
Fig. 2 is intranet mail sending device structural block diagram in one embodiment;
Fig. 3 is the internal structure block diagram of computer equipment in one embodiment.
The object of the invention is realized, the embodiments will be further described with reference to the accompanying drawings for functional characteristics and advantage.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and the serial number of operation such as S11, S12 etc. be only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
It will appreciated by the skilled person that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
It will appreciated by the skilled person that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description in which the same or similar labels are throughly indicated same or similar element or has same or like function Element.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this Embodiment in invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, the embodiment of the present invention provides a kind of intranet e-mail sending method, as shown in Figure 1, the method packet Include following steps:
S11, the email relaying request comprising mail to be sent that working environment server is sent is received.
In a kind of possible design, a kind of intranet e-mail sending method provided by the invention is implemented in test environment service In device, executed especially by the interface service module disposed in test environment service device.
In the embodiment of the present invention, the working environment server, the test environment service device and mail server are The set of server with heterogeneous networks permission.Under normal circumstances, since rights concerns cause network obstructed, mail is not It can the intercommunication between working environment server, test environment service device and mail server.
In the embodiment of the present invention, the interface service module of the test environment service device can receive working environment server The email relaying request comprising mail to be sent sent, is requested in response to the email relaying by the email relaying to be sent It, will be described pending will pass through the interface service module in test wrapper overseas barrier to the interface service module in test wrapper overseas barrier Send email relaying to the mail server.
In a kind of possible application scenarios, Office Network machine a can only be communicated with the test environment service device b, Bu Nengzhi It connects and is communicated with mail server c, but the test environment service device b can be communicated with mail server c, therefore, the present invention exists A web project is developed on the test environment service device b, which provides an interface service module, and being used for will be pending It send Mail Contents to be forwarded, realizes the mail between test environment service device, working environment server and mail server Intercommunication.
Preferably, the present invention can also detect that the email relaying number of requests received in preset time period is super When crossing preset quantity;The email relaying is requested successively to be ranked up by receiving time, forms request sequence;It is first according to the time Email relaying request in request sequence described in ordinal response afterwards.
In another embodiment, the present invention can also be asked detecting the email relaying received in preset time period Seeking quantity is more than preset quantity;It obtains the email relaying and requests corresponding account information;Institute is judged according to the account information State the corresponding user class of account information;Email relaying request is ranked up according to the user class, forms request Priority query;According to the email relaying request in request sequence described in the ordinal response of priority from high to low.Specifically, this Inventing the account information can be the email address information of user or the account of mailbox, carry in the email relaying request There is the account information, obtain the corresponding user class of the account information according to the account information calling system address list, The user class can be the information such as the academic title of user or company's position, set the mail according to the user class and turn Send out the priority of request.Wherein, the high priority of the user class is high, and the low priority of user class is low.Further, originally The corresponding email relaying of the invention account information high for priority requests mail treatment, and account that can be high to priority The mail of information such as executes email encryption and does not monitor at the measures.The present invention realizes default crowd, such as company by the mechanism The mail of management level personnel, setting preferentially send, do not monitor, the functions such as email encryption, realization mail classification, convenient for dividing for mail Grade management.
Preferably, the present invention requests it in the email relaying comprising mail to be sent for receiving the transmission of working environment server Before, the request to create of the communication group comprising multiple accounts can also be received;Establish the communication group comprising multiple accounts;It receives The setting request of addressee's format is set, sets the pointed addressee personality of the setting request for addressee's format Formula, wherein addressee's format includes personal or communication group.The present invention provides which and realizes mail communication group Creation can set addressee's format when sending mail as selected communication group.
S12, it is requested in response to the email relaying, calls the interface service module in test wrapper overseas barrier.
In the embodiment of the present invention, the interface service module of the test environment service device is received in the mail to be sent The interface service module of test wrapper overseas barrier dmz is called after appearance, so that the interface service mould in the test wrapper overseas barrier Block is by the mail email relaying to be sent to the mail server.
It further include recipient account's information in the email relaying request, the target terminal is in the embodiment of the present invention The corresponding terminal of recipient account's information.
In addition, the present invention, which can also can customize mail, sends text format, pattern, hypertext format insertion is supported.Tool Body, the mail sends text format and refers to that support is embedded in HTML hypertext pattern in the body of the email, and all HTML styles are equal It can be sent and be shown in message body.
Further, the customized mail of the present invention sends text format, pattern can be realized by following scheme:
In a kind of possible application scenarios, such as want to show a table in message body, then it can be to be sent Edition Contains are in table label.Form is as follows:
Other html tags and pattern are all supported to send and be shown in message body.
S13, by the interface service module in the test wrapper overseas barrier, by the email relaying to be sent to the postal Part server, so that the mail to be sent is sent to corresponding target terminal by the mail server.
In the embodiment of the present invention, in the email relaying comprising mail to be sent that the reception working environment server is sent Before request, further includes:
In preset configuration file, setting supports that the maximum value of the message body size sent is preset maximum value, with Convenient for the monitoring of subsequent mail size.Specifically, the present invention matches in the interface service module of the test environment service device It sets in file, the maximum c ontextSize for sending message body size will be supported to be assigned a value of customized size.As incited somebody to action The preset maximum value is set as 10K, then when message body is greater than 10K, Mail Contents will not be sent as message body, and It is that can first be saved in the file of server, then being linked in message body for downloading is provided.
Specifically, when executing mail transmission, the value for the contextSize that can be configured before first judge whether just Literary content is excessive, if excessive, walks to send the branch of attachment link, if it is not, then walking to send the branch of message body.Its In, send attachment link branch especially by call java file object savefile method, can will with send postal Part content is saved in specified file, specified file is saved under the specified path of server, is generated and is directed toward the specified path Link.Recipient is locally downloading the specified file from server by clicking the link.
In the embodiment of the present invention, the interface service module by the test wrapper overseas barrier will be described to be sent Email relaying is to the mail server, so that the mail to be sent is sent to corresponding target by the mail server Terminal, comprising:
Detect the size of the mail to be sent;When the size for detecting the mail to be sent is more than the default maximum When value, the mail to be sent is saved in the default file of server;Generate the download link of the default file, and by institute It states download link and is sent to the target terminal.
Preferably, the interface service module in test wrapper of the present invention overseas barrier calls mail server, and will be described Before email relaying to be sent to the mail server, the hair of the mail to be sent comprising object time can also be received Setting request constantly is sent, the object time is set to the transmission triggering moment of the mail to be sent, so that the mail Server is sent to the target terminal when the transmission triggering moment arrives, by the mail to be sent.The present invention passes through The program can customize sending time, the condition that customized triggering mail is sent.
Referring to FIG. 2, in another embodiment, the present invention provides a kind of intranet mail sending devices, comprising:
Receiving module 11, for receiving the email relaying request comprising mail to be sent of working environment server transmission.
In a kind of possible design, a kind of intranet e-mail sending method provided by the invention is implemented in test environment service In device, executed especially by the interface service module disposed in test environment service device.
In the embodiment of the present invention, the working environment server, the test environment service device and mail server are The set of server with heterogeneous networks permission.Under normal circumstances, since rights concerns cause network obstructed, mail is not It can the intercommunication between working environment server, test environment service device and mail server.
In the embodiment of the present invention, the interface service module of the test environment service device can receive working environment server The email relaying request comprising mail to be sent sent, is requested in response to the email relaying by the email relaying to be sent It, will be described pending will pass through the interface service module in test wrapper overseas barrier to the interface service module in test wrapper overseas barrier Send email relaying to the mail server.
In a kind of possible application scenarios, Office Network machine a can only be communicated with the test environment service device b, Bu Nengzhi It connects and is communicated with mail server c, but the test environment service device b can be communicated with mail server c, therefore, the present invention exists A web project is developed on the test environment service device b, which provides an interface service module, and being used for will be pending It send Mail Contents to be forwarded, realizes the mail between test environment service device, working environment server and mail server Intercommunication.
Preferably, the present invention can also detect that the email relaying number of requests received in preset time period is super When crossing preset quantity;The email relaying is requested successively to be ranked up by receiving time, forms request sequence;It is first according to the time Email relaying request in request sequence described in ordinal response afterwards.
In another embodiment, the present invention can also be asked detecting the email relaying received in preset time period Seeking quantity is more than preset quantity;It obtains the email relaying and requests corresponding account information;Institute is judged according to the account information State the corresponding user class of account information;Email relaying request is ranked up according to the user class, forms request Priority query;According to the email relaying request in request sequence described in the ordinal response of priority from high to low.Specifically, this Inventing the account information can be the email address information of user or the account of mailbox, carry in the email relaying request There is the account information, obtain the corresponding user class of the account information according to the account information calling system address list, The user class can be the information such as the academic title of user or company's position, set the mail according to the user class and turn Send out the priority of request.Wherein, the high priority of the user class is high, and the low priority of user class is low.Further, originally The corresponding email relaying of the invention account information high for priority requests mail treatment, and account that can be high to priority The mail of information such as executes email encryption and does not monitor at the measures.The present invention realizes default crowd, such as company by the mechanism The mail of management level personnel, setting preferentially send, do not monitor, the functions such as email encryption, realization mail classification, convenient for dividing for mail Grade management.
Preferably, the present invention requests it in the email relaying comprising mail to be sent for receiving the transmission of working environment server Before, the request to create of the communication group comprising multiple accounts can also be received;Establish the communication group comprising multiple accounts;It receives The setting request of addressee's format is set, sets the pointed addressee personality of the setting request for addressee's format Formula, wherein addressee's format includes personal or communication group.The present invention provides which and realizes mail communication group Creation can set addressee's format when sending mail as selected communication group.
Calling module 12 calls the interface service mould in test wrapper overseas barrier for requesting in response to the email relaying Block.
In the embodiment of the present invention, the interface service module of the test environment service device is received in the mail to be sent The interface service module of test wrapper overseas barrier dmz is called after appearance, so that the interface service mould in the test wrapper overseas barrier Block is by the mail email relaying to be sent to the mail server.
It further include recipient account's information in the email relaying request, the target terminal is in the embodiment of the present invention The corresponding terminal of recipient account's information.
In addition, the present invention, which can also can customize mail, sends text format, pattern, hypertext format insertion is supported.Tool Body, the mail sends text format and refers to that support is embedded in HTML hypertext pattern in the body of the email, and all HTML styles are equal It can be sent and be shown in message body.
Further, the customized mail of the present invention sends text format, pattern can be realized by following scheme:
In a kind of possible application scenarios, such as want to show a table in message body, then it can be to be sent Edition Contains are in table label.Form is as follows:
Other html tags and pattern are all supported to send and be shown in message body.
Sending module 13, for the interface service module by the test wrapper overseas barrier, by the mail to be sent It is forwarded to the mail server, so that the mail to be sent is sent to corresponding target end by the mail server End.
In the embodiment of the present invention, in the email relaying comprising mail to be sent that the reception working environment server is sent Before request, further includes:
In preset configuration file, setting supports that the maximum value of the message body size sent is preset maximum value, with Convenient for the monitoring of subsequent mail size.Specifically, the present invention matches in the interface service module of the test environment service device It sets in file, the maximum c ontextSize for sending message body size will be supported to be assigned a value of customized size.As incited somebody to action The preset maximum value is set as 10K, then when message body is greater than 10K, Mail Contents will not be sent as message body, and It is that can first be saved in the file of server, then being linked in message body for downloading is provided.
Specifically, when executing mail transmission, the value for the contextSize that can be configured before first judge whether just Literary content is excessive, if excessive, walks to send the branch of attachment link, if it is not, then walking to send the branch of message body.Its In, send attachment link branch especially by call java file object savefile method, can will with send postal Part content is saved in specified file, specified file is saved under the specified path of server, is generated and is directed toward the specified path Link.Recipient is locally downloading the specified file from server by clicking the link.
In the embodiment of the present invention, the interface service module by the test wrapper overseas barrier will be described to be sent Email relaying is to the mail server, so that the mail to be sent is sent to corresponding target by the mail server Terminal, comprising:
Detect the size of the mail to be sent;When the size for detecting the mail to be sent is more than the default maximum When value, the mail to be sent is saved in the default file of server;Generate the download link of the default file, and by institute It states download link and is sent to the target terminal.
Preferably, the interface service module in test wrapper of the present invention overseas barrier calls mail server, and will be described Before email relaying to be sent to the mail server, the hair of the mail to be sent comprising object time can also be received Setting request constantly is sent, the object time is set to the transmission triggering moment of the mail to be sent, so that the mail Server is sent to the target terminal when the transmission triggering moment arrives, by the mail to be sent.The present invention passes through The program can customize sending time, the condition that customized triggering mail is sent.
In another embodiment, the embodiment of the present invention provides a kind of computer readable storage medium, and the computer can It reads to be stored with computer program on storage medium, inside described in any one technical solution is realized when which is executed by processor Net e-mail sending method.Wherein, the computer readable storage medium include but is not limited to any kind of disk (including floppy disk, Hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS Memory, immediately memory), EPROM (EraSable Programmable Read-Only Memory, erasable programmable Read-only memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, electrically erasable Programmable read only memory), flash memory, magnetic card or light card.It is, storage equipment includes by equipment (for example, calculating Machine, mobile phone) with any medium for the form storage or transmission information that can be read, it can be read-only memory, disk or CD etc..
A kind of computer readable storage medium provided in an embodiment of the present invention is sent, it can be achieved that receiving working environment server Comprising mail to be sent email relaying request;It is requested in response to the email relaying, calling test wrapper, overseas barrier connects Mouth service module;By the interface service module in the test wrapper overseas barrier, by the email relaying to be sent to the postal Part server, so that the mail to be sent is sent to corresponding target terminal by the mail server.The present invention passes through Interface service switching technique gets through mail server, test environment service device, Communication between office network in production.
In addition, the present invention provides a kind of computer equipments, as shown in figure 3, the computer in another embodiment Equipment includes the devices such as processor 303, memory 305, input unit 307 and display unit 309.Those skilled in the art can To understand, the structure devices shown in Fig. 3 do not constitute the restriction to all computer equipments, may include more or more than illustrating Few component, or the certain components of combination.Memory 305 can be used for storing application program 301 and each functional module, processor 303 operations are stored in the application program 301 of memory 305, thereby executing the various function application and data processing of equipment.It deposits Reservoir 305 can be built-in storage or external memory, or including both built-in storage and external memory.Built-in storage can wrap Include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory or random access memory.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape Deng.Memory disclosed in this invention includes but is not limited to the memory of these types.Memory 305 disclosed in this invention As an example rather than as restriction.
Input unit 307 is used to receive the input of signal, and receives the keyword of user's input.Input unit 307 can Including touch panel and other input equipments.Touch panel collects the touch operation of user on it or nearby and (for example uses Family uses the operations of any suitable object or attachment on touch panel or near touch panel such as finger, stylus), and root According to the corresponding attachment device of preset driven by program;Other input equipments can include but is not limited to physical keyboard, function One of key (such as broadcasting control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.Display unit 309 can be used for showing the information of user's input or be supplied to the information of user and the various menus of computer equipment.Display is single The forms such as liquid crystal display, Organic Light Emitting Diode can be used in member 309.Processor 303 is the control centre of computer equipment, benefit With the various pieces of various interfaces and the entire computer of connection, by running or executing the software being stored in memory 303 Program and/or module, and the data being stored in memory are called, perform various functions and handle data.Shown in Fig. 3 One or more processors 303 are able to carry out, realize monitoring modular 11, acquisition module 12 and cue module shown in Fig. 2 13 function.
In one embodiment, the computer equipment includes memory 305 and processor 303, the memory 305 In be stored with computer-readable instruction, when the computer-readable instruction is executed by the processor, so that the processor 303 The step of executing a kind of intranet e-mail sending method described in above embodiments.
A kind of computer equipment provided in an embodiment of the present invention, it can be achieved that receive working environment server send comprising to Send the email relaying request of mail;It is requested in response to the email relaying, calls the interface service mould in test wrapper overseas barrier Block;By the interface service module in the test wrapper overseas barrier, by the email relaying to be sent to the mail server, So that the mail to be sent is sent to corresponding target terminal by the mail server.The present invention is turned by interface service Connection technology gets through mail server, test environment service device, Communication between office network in production.
In another embodiment, the email relaying number of requests that the present invention can receive within preset time period is super When crossing preset quantity;The email relaying is requested successively to be ranked up by receiving time, forms request sequence;Sequentially respond institute State the email relaying request in request sequence.In another embodiment, what the present invention can also receive within preset time period When the email relaying number of requests is more than preset quantity, obtains the email relaying and request corresponding account information;According to institute It states account information and judges the corresponding user class of the account information;According to the user class to the email relaying request into Row sequence, forms Request Priority queue;Turn according to the mail in request sequence described in the ordinal response of priority from high to low Hair request.The present invention realizes default crowd by the mechanism, and such as the mail of company management personnel, preferential send, no is arranged The functions such as monitoring, email encryption realize mail classification, convenient for the differentiated control of mail.
The present invention can detecte the size of the mail to be sent;When the size for detecting the mail to be sent is more than institute When stating preset maximum value, the mail to be sent is saved in the default file of server;Generate the downloading of the default file Link, and the download link is sent to the target terminal.It is big that the present invention realizes intelligent measurement mail with this solution It is small, first judge whether that body matter is excessive, if excessive, Mail Contents can be saved in file, and this document is saved To under the specified path of server, a download link then is sent to message body, recipient is by clicking the link from clothes Business device downloads the file to local, and solving the problems, such as that Mail Contents are excessive can not send.
Above-mentioned intranet e-mail sending method may be implemented in computer readable storage medium provided in an embodiment of the present invention Embodiment, concrete function realize the explanation referred in embodiment of the method, and details are not described herein.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note Recall body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of intranet e-mail sending method, which is characterized in that the described method includes:
Receive the email relaying request comprising mail to be sent that working environment server is sent;
It is requested in response to the email relaying, calls the interface service module in test wrapper overseas barrier;
By the interface service module in the test wrapper overseas barrier, by the email relaying to be sent to the mail service Device, so that the mail to be sent is sent to corresponding target terminal by the mail server.
2. intranet e-mail sending method according to claim 1, which is characterized in that further include:
If the email relaying number of requests received in preset time period is more than preset quantity;
The email relaying is requested successively to be ranked up by receiving time, forms request sequence;
Sequentially respond the email relaying request in the request sequence.
3. intranet e-mail sending method according to claim 2, which is characterized in that further include:
If the email relaying number of requests received in preset time period is more than preset quantity;
It obtains the email relaying and requests corresponding account information;
The corresponding user class of the account information is judged according to the account information;
Email relaying request is ranked up according to the user class, forms Request Priority queue;
According to the email relaying request in request sequence described in the ordinal response of priority from high to low.
4. intranet e-mail sending method according to claim 1, which is characterized in that also wrapped in the email relaying request Recipient account's information is included, the target terminal is the corresponding terminal of recipient account's information.
5. intranet e-mail sending method according to claim 1, which is characterized in that the reception working environment server Before the email relaying request comprising mail to be sent sent, further includes:
In preset configuration file, setting supports that the maximum value of the message body size sent is preset maximum value.
6. intranet e-mail sending method according to claim 5, which is characterized in that it is described by the test wrapper overseas The interface service module in barrier, by the email relaying to be sent to the mail server, so that the mail server The mail to be sent is sent to corresponding target terminal, comprising:
Detect the size of the mail to be sent;
When the size for detecting the mail to be sent is more than the preset maximum value, the mail to be sent is saved in clothes The default file of business device;
The download link of the default file is generated, and the download link is sent to the target terminal.
7. intranet e-mail sending method according to claim 1, which is characterized in that overseas barrier connects the test wrapper Mouth service module calls mail server, and will be before the email relaying to be sent to the mail server, comprising:
Request is arranged in the sending instant for receiving the mail to be sent comprising object time, sets institute for the object time The transmission triggering moment of mail to be sent is stated, so that the mail server is when the transmission triggering moment arrives, it will be described Mail to be sent is sent to the target terminal.
8. a kind of intranet mail sending device, which is characterized in that described device includes:
Receiving module, for receiving the email relaying request comprising mail to be sent of working environment server transmission;
Calling module calls the interface service module in test wrapper overseas barrier for requesting in response to the email relaying;
Sending module, for the interface service module by the test wrapper overseas barrier, extremely by the email relaying to be sent The mail server, so that the mail to be sent is sent to corresponding target terminal by the mail server.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the computer program realize intranet e-mail sending method described in any one of claims 1 to 7 when being executed by processor The step of.
10. a kind of computer equipment, which is characterized in that including memory and processor, be stored with computer in the memory Readable instruction, when the computer-readable instruction is executed by the processor so that the processor execute as claim 1 to Described in any one of 7 claims the step of intranet e-mail sending method.
CN201910440469.XA 2019-05-24 2019-05-24 Intranet e-mail sending method, device, computer equipment and storage medium Pending CN110380949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910440469.XA CN110380949A (en) 2019-05-24 2019-05-24 Intranet e-mail sending method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910440469.XA CN110380949A (en) 2019-05-24 2019-05-24 Intranet e-mail sending method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110380949A true CN110380949A (en) 2019-10-25

Family

ID=68248739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910440469.XA Pending CN110380949A (en) 2019-05-24 2019-05-24 Intranet e-mail sending method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110380949A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526081A (en) * 2020-03-16 2020-08-11 中国平安人寿保险股份有限公司 Mail forwarding method, device, equipment and storage medium
CN112134790A (en) * 2020-09-28 2020-12-25 平安养老保险股份有限公司 Priority-based mail sending method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383784A (en) * 2008-09-28 2009-03-11 腾讯科技(深圳)有限公司 Cross-region remote mail sending method and system
CN103401764A (en) * 2013-08-05 2013-11-20 浪潮(北京)电子信息产业有限公司 Method and device for sending mails
CN106713126A (en) * 2017-02-15 2017-05-24 湖南长城银河科技有限公司 E-mail information unidirectional transmission method and system between intranet and internet
CN109104360A (en) * 2018-09-19 2018-12-28 平安科技(深圳)有限公司 E-mail sending method, system, computer equipment and storage medium
CN109639759A (en) * 2018-10-31 2019-04-16 平安普惠企业管理有限公司 E-mail sending method, device and computer equipment based on cloud transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383784A (en) * 2008-09-28 2009-03-11 腾讯科技(深圳)有限公司 Cross-region remote mail sending method and system
CN103401764A (en) * 2013-08-05 2013-11-20 浪潮(北京)电子信息产业有限公司 Method and device for sending mails
CN106713126A (en) * 2017-02-15 2017-05-24 湖南长城银河科技有限公司 E-mail information unidirectional transmission method and system between intranet and internet
CN109104360A (en) * 2018-09-19 2018-12-28 平安科技(深圳)有限公司 E-mail sending method, system, computer equipment and storage medium
CN109639759A (en) * 2018-10-31 2019-04-16 平安普惠企业管理有限公司 E-mail sending method, device and computer equipment based on cloud transmission

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526081A (en) * 2020-03-16 2020-08-11 中国平安人寿保险股份有限公司 Mail forwarding method, device, equipment and storage medium
CN111526081B (en) * 2020-03-16 2023-07-28 中国平安人寿保险股份有限公司 Mail forwarding method, device, equipment and storage medium
CN112134790A (en) * 2020-09-28 2020-12-25 平安养老保险股份有限公司 Priority-based mail sending method, device, equipment and storage medium
CN112134790B (en) * 2020-09-28 2023-04-14 平安养老保险股份有限公司 Priority-based mail sending method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109388762B (en) Application sharing method and device
CN103810176B (en) A kind of info web prefetches access method and device
CN108319662A (en) Page processing method, device, electronic equipment and readable storage medium storing program for executing
GB2435565A (en) Messaging system
CN105867714A (en) Application downloading method, apparatus and system
EP2433219A1 (en) Presenting information in an instant messaging application
CN104536981A (en) Browser safety achieving method, browser client-side and device
US20040242205A1 (en) Communication terminal
CN114726947B (en) Message display method, device, user terminal and readable storage medium
CN104021016B (en) Method and browser for loading browser plug-in icons
CN106534280B (en) Data sharing method and device
CN110380949A (en) Intranet e-mail sending method, device, computer equipment and storage medium
CN105260421A (en) Webpage loading method and apparatus
CN107122101A (en) A kind of exchange method and device
CN103248697A (en) Information sharing method, system, browser and server
CN105183890A (en) Webpage loading method based on browser and browser device
CN103778012A (en) Method and device for changing terminal operator information
CN107515903A (en) A kind of method and apparatus for loading displaying scene webpage
CN107800611A (en) The method and page layout switch device of a kind of page layout switch
CN104572710B (en) The processing method and processing device of webpage information
CN104375831A (en) Method, device and system realizing communication between webpage and applications on terminal equipment
CN110874165B (en) Information display method, information determination method and system
CN107545413A (en) Event-handling method and device
CN113256240B (en) Message processing method and device and server
CN112306592A (en) Message processing method and device, storage medium and electronic device

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: 20191025