Pre-requisites for this tutorial
1ow OHW’s sHH how you FDn LPpOHPHnW Wwo-sWHp YHULfiFDWLon in your Java applications. In order to cook this recipe, you wLOO nHHG WhH IoOOowLnJ LnJUHGLHnWs: Dn 606 JDWHwDy DFFounW, -DYD 6D. 6 oU DboYH, 1HWBHDns 7.0 oU DboYH DnG WhH -DYD Mail API. I will cover some of these in brief below.
AFFoUGLnJ Wo :LNLpHGLD, Dn 606 JDWHwDy Ls “…D telecommunications network service that is used for sending oU UHFHLYLnJ 6hoUW 0HssDJH 6HUYLFH (606) PHssDJHs Wo oU IUoP D WHOHFoPPunLFDWLons nHWwoUN WhDW suppoUWs 606.” 5HDG PoUH DW http://en.wikipedia.org/wiki/SMS_gateway. )oU WhLs HxHUFLsH, ,’OO bH usLnJ D DLUHFW-Wo-606C (HPDLO Wo 606) JDWHwDy, whLFh PHDns WhDW you FDn sHnG Dn 606 YLD email. To understand this more clearly, let’s work through a simple exercise.
Browse to www.way2sms.com, which allows you to sHnG IUHH 606, DnG FUHDWH Dn DFFounW. 2nFH LW’s GonH, OoJ in and click on Mail Alerts and click Activate (if it’s not activated). It’ll create an ID for your account (something OLNH 12345678@wDy2sPs.FoP) Wo whLFh you FDn IoUwDUG PDLOs, DnG you’OO bH noWLfiHG oI WhHLU DUULYDO YLD 606 on your registered mobile number. vou can also send an email to this ID, and the subject of that email will be GLspODyHG Ln WhH 606 you receive. vou will bH usLnJ WhLs :Dy2606 ID later, so note it down somewhere. There are innumerable for-pay gateway services, but what other free gateway options have we got? Did you know that many mobile operators provide a free DirectWo-606C JDWHwDy? -usW YLsLW http:// en. wikipedia. org/ wiki/ List_of_SMS_gateways and find out your operator’s emailWo-606-DOHUW DGGUHss.
Though free gateways will do for college projects or small applications, those developing a commercial application must opt for a paid service since there are ‘no free lunches’! Free 606 JDWHwDys hDYH FHUWDLn OLPLWDWLons OLNH: WhH 606 FDnnoW bH sHnW Wo D1D subsFULbHUs, WhH 606 PLJhW bH GHOLYHUHG ODWH oU noW DW DOO, D OLPLWDWLon Wo WhH nuPbHU oI 606s WhDW FDn bH sent per day, and so on.