Project

General

Profile

Actions

SendEmail » History » Revision 2

« Previous | Revision 2/3 (diff) | Next »
Soh Keong, 08/22/2022 04:01 PM


SendEmail

Steps

Prepare class file

1. https://www.tpmserver.tk:9093/TestPage/page/email/email.jsp
2. Paste content to Email Content column
3. Click on the "Source" button.

4. Copy the html content from Email Content column
5. Paste the content to Notepad++
6. Remove empty line --> Edit -> Line Operations -> Remove empty lines
7. Replace '"' with '\"'
8. Replace '^(.+)$' with 'sb.append\("\1"\);' using Search Mode'Regular expression'

9. Copy and paste to 'Stockist_batch.com.ecosway.stockist.main.EmailSend'
10. Compile and upload to path '/usr/ecosway/EMAIL'

Prepare email List

11. Copy email to csv file.
12. Open with Notepad++
13. Mark all the text (CTRL+A)
14. Remove duplicate email --> Edit -> Line Operations -> Remove Duplicate Lines

Prepare script file

15

Updated by Soh Keong over 2 years ago · 2 revisions