Project

General

Profile

SendEmail » History » Version 2

Soh Keong, 08/22/2022 04:01 PM

1 1 Soh Keong
h1. SendEmail
2
3
h2. Steps
4
5 2 Soh Keong
h3. Prepare class file
6
7 1 Soh Keong
1. https://www.tpmserver.tk:9093/TestPage/page/email/email.jsp
8
2. Paste content to Email Content column
9
3. Click on the "Source" button.
10
!1.png!
11
12
4. Copy the html content from Email Content column
13
5. Paste the content to Notepad++
14
6. Remove empty line --> Edit -> Line Operations -> Remove empty lines
15
7. Replace '"' with '\"'
16
8. Replace '^(.+)$' with 'sb.append\("\1"\);' using Search Mode'Regular expression'
17
!2.png!
18
19
9. Copy and paste to 'Stockist_batch.com.ecosway.stockist.main.EmailSend'
20 2 Soh Keong
10. Compile and upload to path '/usr/ecosway/EMAIL'
21
22
h3. Prepare email List
23
24
11. Copy email to csv file. 
25
12. Open with Notepad++ 
26
13. Mark all the text (CTRL+A)
27
14. Remove duplicate email --> Edit -> Line Operations -> Remove Duplicate Lines
28
29
h3. Prepare script file
30
31
15