19 Nov 19. november
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 from@email.com-f-k-recipient @ email.com predmet ThisIsTheSubject-body 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. Použitie príkazového riadku vyššie, budem dostávať oznámenia emailom upozornenia vždy, keď server spadne. If I want to receive it in a form of SMS on my mobile, I will need subscribe “email to SMS” service from Ak budem chcieť, aby ho dostali vo forme SMS na môj mobil, budem musieť objednať "e-mail na SMS" služby, od Clickatell Clickatell , , World-Text World-Text or any other provider that offers such service. alebo iného poskytovateľa, ktorý ponúka takéto služby.
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. Nedošlo k žiadnej aktuálne informácie o Blat pre viac ako 2 roky, ale môžem overiť, že to funguje bez problémov na môj webhosting SMTP servera. 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. Avšak ja si nemyslím, že môžete používať Gmail, Hotmail, Yahoo a SMTP posielať e-mailom, pretože to 3 e-mailových služieb si vyžaduje SSL a nemôžem nájsť túto možnosť v Blat. You can try Môžete skúsiť SendEmail SendEmail which supports TLS but you will first need to install the ktorý podporuje TLS, ale budete musieť najprv nainštalovať Net::SSLeay and IO::Socket::SSL Net:: SSLeay a IO:: Socket:: SSL perl modules on Windows. perl moduly pre Windows.
[ [ Visit Blat Official Homepage Navštívte Blat Oficiálna stránka ] ]
Technorati Tags: Technorati Tags: blat blat , , email e-mail , , smtp smtp , , command Príkaz , , spam spam
: Copying this article to your website is strictly NOT allowed. : Kopírovanie tento článok na svojich webových stránkach, je prísne zakázaná. However, if you like this article, you can use the HTML code below to directly link to this article. Avšak, ak sa vám tento článok, môžete použiť HTML kód priamo odkaz na tento článok. 12 Hours of Downtime Today But NO MORE in Future 12 hodín výpadok dnes, ale nie viac do budúcnosti 24 hours website downtime 24 hodín website výpadky Today Only: FREE Command & Conquer Red Alert PC Game for Everyone! Len dnes: ZDARMA Command & Conquer: Red Alert PC hra pre každého! MessengerDiscovery Live – MSN Messenger Addon MessengerDiscovery Live - MSN Posel Addon Get Notified When Unauthorized User Checks Your Webmails Brať Notifikovaný Kedy Neoprávnený Užívateľ Kontroly Váš web-mailových služieb Find Out the Command Line Location When Windows Opens a Window Zistite Kontrolovat Bohatstvo Lokalizácia Kedy Okná Nechránený Okno Find Out What Program are Running at Windows System Tray Zistite si, čo program beží na systéme Windows zásobník
Have computer technical problems? Mať počítač technické problémy? Get FREE help from Raymond.CC FORUM Získajte ZDARMA pomoc od Raymond.CC FORUM
5 Responses for "Sending Email Using Command Line Useful for Downtime Alert Notification" 5 Citlivosť prístroja k "Odosielanie pošty pomocou príkazového riadka Užitočné pre výpadok oznámenie výstrahy"
nice info raymond..:-)..tq príjemný informovať raymond ..:-).. tq
great.. skvelé .. i can use this for my visual basic project. môžem použiť túto pre moje vizuálne základné projekt. thanks. vďaka.
nice info,…thanks Ray nice info, ... vďaka Ray
pls provide me the bit defender key Poskytne mi pls trochu obranca kľúč
@ raymond @ Raymond
You can use blat with gmail, but this is more advance. Môžete použiť blat s gmail, ale toto je viac vopred.
You need to use stunnel locally to do the secure link. Musíte použiť stunnel lokálne robiť bezpečného spojenia.
Here is my batch file example Tu je môj dávkový súbor napríklad
*================================ *================================
@echo off @ Echo off
setlocal enableextensions enabledelayedexpansion setlocale enableextensions enabledelayedexpansion
:: Startup directory where the command is :: Startup adresári, kde je príkaz
cd /d %~dp0 cd / d% ~ dp0
:: Configure Email Options :: Nastavenia Možnosti e-mailu
SET emailfrom=xxx@gmail.com SET Emailfrom = xxx@gmail.com
SET emailto=xxx@gmail.com SET Emailto = xxx@gmail.com
SET password=yyyyy SET password = yyyyy
SET SMTPserver=127.0.0.1:465 SET SMTPServer = 127.0.0.1:465
stunnel\stunnel.exe -install -quiet stunnel \ stunnel.exe-install-quiet
net start stunnel >nul net start 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 "testovaním 1 2 3"-base64-na%% Emailto-f%% Emailfrom-u% Emailfrom-pw%%% password-server% SMTPServer%
:cleanup : Upratovanie
:: Stop stunnel :: Stop stunnel
net stop stunnel >nul net stop stunnel> nul
stunnel\stunnel.exe -uninstall -quiet stunnel \ stunnel.exe-uninstall-quiet
:: Delete vars :: Odstrániť vars
SET emailfrom= SET Emailfrom =
SET emailto= SET Emailto =
SET password= SET password =
SET SMTPserver= SET smtpServer =
rem exit rem exit
Leave a reply Zanechajte odpoveď