SpOB Low Level Design Email sending module 1/9 INDEX SpOB Low level design .......................................................................................... 3 1) Template creation ......................................................................................... 4 Data Model design ........................................................................................... 4 2) Mail sending module .................................................................................... 6 3) Mail Logs ............................................................................................................. 8 Data Model design ........................................................................................... 8 2/9 SpOB Low level design The module is sub divided into 3 parts 1) Template creation 2) Mail sending module 3) Mail Logs New Folder will be created under master data management called Mail, which contains provision to create template, send mail and view mail logs. 3/9 1)Template creation Data Model design R_Mail ( Additional field to be added) Null Column Data type able Primary Default Key Comments Number templates USECOUNT NUMBER(8,0) No 0 N used. The same feature (Sales Management -> setup -> mail template) is duplicated and Text area “Mail Text “is replaced with the help editing functionality. In addition to this a button called preview mail will generate the preview of sending mail. 4/9 of times being Attachments can be added to this window will be send as an attachment to this mail. 5/9 2) Mail sending module This functionality is changed to the following way. The “OK” button will pop up a new page contains the mail address, subject and provision to edit template. On clicking the send button mails will be send to all the users. This is done using java mail API. 6/9 We need to finalize how to send images. We have 2 provisions # Provision Benefits Drawbacks 1 Inline mail. Even if the server is down Slow Images are or image is not in a commonly sending along accessible location, mail can be with the mail. seen Outline mail, Sending and receiving mails is If the server is down Images will not very Fast as images need not or image is not in a be send with have to transfer commonly accessible 2 the mail. location, mail cannot be seen The “Schedule” button pop up a new page Contains provision to enter date and time. On clicking “schedule mail” button, a process request will be automatically created and mail will be sending on specific date and time. This is done using Process Scheduling functionality. All the sending mail information will be added to mail logs. 7/9 3) Mail Logs Data Model design R_Mail_LOG Null Primary Column Data type able Default Key R_MAIL_LOG_ID VARCHAR2(32 BYTE) No null Y AD_CLIENT_ID VARCHAR2(32 BYTE) No null N AD_ORG_ID VARCHAR2(32 BYTE) No null N ISACTIVE CHAR(1 BYTE) No Y N CREATED DATE No SYSDATE N CREATEDBY VARCHAR2(32 BYTE) No null N UPDATED DATE No SYSDATE N UPDATEDBY VARCHAR2(32 BYTE) No null N EMAIL NVARCHAR2(40 CHAR) No null N Comments 8/9 C_BPARTNER_ID VARCHAR2(32 BYTE) Yes null N SEND_DATE DATE No SYSDATE N STATUS CHAR(1) NO null N Can have value ‘S’,’R’ or ‘F’. S->Send, R->Read, F->sending failed. DATE_OPENING DATE Yes null N If mail is opened by recipient, the date will be added R_MAIL_ID VARCHAR2(32 BYTE) No null N Foreign key for used template. The status of send mail can be seen from this window. Window shows the following information’s 1) E-Mail 2) Business partner (Optional) 3) Send date 4) Status Send, Failed or Read) 5) Date of opening 6) Number of times templates being used. 9/9
© Copyright 2026 Paperzz