Project

General

Profile

Actions

Wiki

Sample file

Sample File Download

Steps

1 Test SMS content in DEVELOPMENT to determine is ONE Sms.

Sample Script:

Malaysia:
$JAVA_PATH/java -Dprogram.name=SendSmsByFile -classpath $CP SendSmsByFile siugeng.csv "COSWAY: Your membership is now auto-renewed. Get a FREE Gift & RM20 eVoucher. Your MEMBER ID is the voucher code. Valid till 31/1/22. Shop now. T&C apply." 

Brunei: 
$JAVA_PATH/java -Dprogram.name=SendSmsByFileBR -classpath $CP SendSmsByFile siugeng.csv "COSWAY: Your membership is now auto-renewed. Get a FREE Gift & RM20 eVoucher. Your MEMBER ID is the voucher code. Valid till 31/1/22. Shop now. T&C apply." 

Singapore: 
$JAVA_PATH/java -Dprogram.name=SendSmsByFileSG -classpath $CP SendSmsByFile siugeng.csv "COSWAY:Your membership is now auto-renewed.Enjoy Loyalty Rewards & get your CURRENCY_SIGN10 eVoucher. Your MEMBER ID is the voucher code.Valid till 31/1/22.T&C apply." 

Note:
Parameter 1; shopper mobile no.list(siugeng.csv using Siu Geng Mobile no.) ; format: mobile_no,shopper_ref_no
Parameter 2; SMS content

For Singapore SMS with display currency by “CURRENCY_SIGN” instant “$”

  • Avoid special Character in content

Run script:

“Parts” : 1 = 1 SMS

Check with CM gen report from ginata account portal, to confirm cost (0.0176) = 1 SMS

2 Copy a mobile no. list to from EXCEL to text file.

3. Copy txt file to src-cosway class path At LIVE;

4. Run script

$JAVA_PATH/java -Dprogram.name=GetShopperRefNoForSmsByFile -classpath $CP GetShopperRefNoForSmsByFile "AUTO_RENEWAL_FOR_LOYALTY_SET_MY_phone_only.txt"

Return bottom unwant data, just want mobile_no & shopper_ref_no

5. Copy the output file to class path.

6.

Sample run script:

Malaysia:
$JAVA_PATH/java -Dprogram.name=SendSmsByFile -classpath $CP SendSmsByFile "AUTO_RENEWAL_FOR_LOYALTY_SET_MY.txt" "COSWAY: Your membership is now auto-renewed. Get a FREE Gift & RM20 eVoucher. Your MEMBER ID is the voucher code. Valid till 31/1/22. Shop now. T&C apply." 

Brunei: 
$JAVA_PATH/java -Dprogram.name=SendSmsByFileBR -classpath $CP SendSmsByFileBR "AUTO_RENEWAL_FOR_LOYALTY_SET_BR.txt" "COSWAY: Your membership is now auto-renewed. Get a FREE Gift & RM20 eVoucher. Your MEMBER ID is the voucher code. Valid till 31/1/22. Shop now. T&C apply." 

Singapore: 
$JAVA_PATH/java -Dprogram.name=SendSmsByFileSG -classpath $CP SendSmsByFileSG "AUTO_RENEWAL_FOR_LOYALTY_SET_SG.txt" "COSWAY:Your membership is now auto-renewed.Enjoy Loyalty Rewards & get your CURRENCY_SIGN10 eVoucher. Your MEMBER ID is the voucher code.Valid till 31/1/22.T&C apply." 

Updated by Soh Keong over 2 years ago · 2 revisions