Project

General

Profile

SendEmail » History » Revision 2

Revision 1 (Soh Keong, 08/22/2022 03:16 PM) → Revision 2/3 (Soh Keong, 08/22/2022 04:01 PM)

h1. SendEmail 

 h2. Steps 

 h3. 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. 
 !1.png! 

 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' 
 !2.png! 

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

 h3. 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 

 h3. Prepare script file 

 15