19 Nov Nobyembre 19
blat.exe -f from@email.com -to recipient@email.com -subject ThisIsTheSubject -body ThisIsTheBody -server smtp.server.com:25 -u SMTPUserLogin -pw SMTPUserPass blat.exe-f from@email.com-sa-recipient@email.com subject ThisIsTheSubject-katawan ThisIsTheBody-server smtp.server.com: 25-u SMTPUserLogin-pw SMTPUserPass
Using the command line above, I will receive an email notification alert whenever the server goes down. Gamit ang mga command na linya sa itaas, ako ay tumanggap ng isang email alert abiso kapag server ay pumunta pababa. If I want to receive it in a form of SMS on my mobile, I will need subscribe “email to SMS” service from Kung gusto kong makatanggap ng mga ito sa isang anyo ng SMS sa aking mobile, ay ko na kailangan mag-subscribe sa "email sa SMS na" serbisyo mula sa Clickatell Clickatell , , World-Text World-Text or any other provider that offers such service. o anumang ibang provider na nagbibigay ng ganitong serbisyo.
There hasn't been any updates on Blat for more than 2 years but I can verify that it works without any problems on my webhosting SMTP server. May ay hindi sa anumang mga update sa Blat para sa higit pa sa 2 taon ngunit maaari ko mapatunayan na gumagana ito nang walang anumang mga problema sa aking webhosting SMTP server. However I don't think you can use Gmail, Hotmail, and Yahoo SMTP to send out email because this 3 email service requires SSL and I can't find this option in Blat. Subalit hindi ko isipin maaari mong gamitin ang Gmail, ang Hotmail, Yahoo at SMTP sa magpadala ang email na ito dahil ito 3 serbisyo sa email ay nangangailangan ng SSL at hindi ko mahanap ang opsyon na ito sa Blat. You can try Maaari mong subukan ang SendEmail SendEmail which supports TLS but you will first need to install the na kung saan ay sumusuporta sa TLS ngunit kailangan muna ninyong i-install ang Net::SSLeay and IO::Socket::SSL Net:: SSLeay at io:: Socket:: SSL perl modules on Windows. Perl modules sa Windows.
[ [ Visit Blat Official Homepage Bisitahin ang Blat Official Homepage ] ]
Technorati Tags: Technorati Tags: blat blat , , email email , , smtp SMTP , , command utos , , spam spam
: Copying this article to your website is strictly NOT allowed. : Ang pagkopya ng artikulong ito sa iyong website ay mahigpit na HINDI pinahihintulutan. However, if you like this article, you can use the HTML code below to directly link to this article. Subalit, kung iyong nais na artikulo na ito, maaari mong gamitin ang HTML code sa ibaba upang direktang link sa artikulong ito. 12 Hours of Downtime Today But NO MORE in Future 12 Oras ng Downtime Today Subalit NO MORE sa Hinaharap 24 hours website downtime 24 oras website na downtime Today Only: FREE Command & Conquer Red Alert PC Game for Everyone! Today lamang: FREE Command & lupigin Red Alert PC Game para sa bawat tao'y! MessengerDiscovery Live – MSN Messenger Addon MessengerDiscovery Live - MSN Messenger Addon Get Notified When Unauthorized User Checks Your Webmails Kumuha ng maabisuhan kapag Di-awtorisadong User tseke iyong Webmails Find Out the Command Line Location When Windows Opens a Window Maghanap ng mga Out ang Command Line Location Kapag Windows Magbubukas ng isang Window Find Out What Program are Running at Windows System Tray Maghanap ng mga Out Ano Program ay Tumatakbo sa Windows System Tray
Have computer technical problems? Nakarating na computer sa mga teknikal na problema? Get FREE help from Raymond.CC FORUM Kumuha ng LIBRENG ng tulong mula sa Raymond.CC FORUM
5 Responses for "Sending Email Using Command Line Useful for Downtime Alert Notification" 5 Responses para sa "Pagpapadala ng mga email sa Paggamit ng Command Line na kapakipakinabang para sa Downtime Alert Notipikasyon"
nice info raymond..:-)..tq nice info raymond ..:-).. tq
great.. dakilang .. i can use this for my visual basic project. ako maaaring gamitin ito para sa aking mga visual na mga pangunahing proyekto. thanks. salamat.
nice info,…thanks Ray nice info, ... thanks Ray
pls provide me the bit defender key pls magbigay sa akin ang susi bit defender
@ raymond @ Raymond
You can use blat with gmail, but this is more advance. Maaari mong gamitin ang blat sa gmail, ngunit ito ay mas maaga.
You need to use stunnel locally to do the secure link. Kailangan mong gamitin ang stunnel lokal na para gawin ang mga secure na link.
Here is my batch file example Ito ang aking halimbawa batch file
*================================ *================================
@echo off @ echo off
setlocal enableextensions enabledelayedexpansion setlocal enableextensions enabledelayedexpansion
:: Startup directory where the command is :: Startup directory kung saan ang mga utos ay
cd /d %~dp0 cd / d% ~ dp0
:: Configure Email Options :: I-configure ang Opsyon Email
SET emailfrom=xxx@gmail.com Set emailfrom = xxx@gmail.com
SET emailto=xxx@gmail.com Set emailto = xxx@gmail.com
SET password=yyyyy Set ang password = yyyyy
SET SMTPserver=127.0.0.1:465 Set SMTPserver = 127.0.0.1:465
stunnel\stunnel.exe -install -quiet stunnel \ stunnel.exe-i-install-tahimik
net start stunnel >nul net simulan stunnel> nul
::sendfiles :: sendfiles
blat\blat.exe test-email.txt -q -s “testing 1 2 3″ -base64 -to %emailto% -f %emailfrom% -u %emailfrom% -pw %password% -server %SMTPserver% blat \ blat.exe test-email.txt-q-s "testing 1 2 3"-base64-sa% emailto%-f% emailfrom%-u% emailfrom%-pw% password%-server% SMTPserver%
:cleanup : paglilinis
:: Stop stunnel :: Itigil stunnel
net stop stunnel >nul net itigil stunnel> nul
stunnel\stunnel.exe -uninstall -quiet stunnel \ stunnel.exe-uninstall-tahimik
:: Delete vars :: Tanggalin vars
SET emailfrom= Set emailfrom =
SET emailto= Set emailto =
SET password= Set ang password =
SET SMTPserver= Set SMTPserver =
rem exit rem exit
Leave a reply Mag-iwan ng reply