19 Nov 19 noiembrie
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-la-recipient@email.com ThisIsTheSubject obiectul-ThisIsTheBody corp-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. Folosind linia de comanda de mai sus, voi primi o alertă e-mail de notificare de fiecare dată când serverul este în jos. If I want to receive it in a form of SMS on my mobile, I will need subscribe “email to SMS” service from Dacă vreau să-l primească într-o formă de SMS pe mobil, am avea nevoie de subscrie "e-mail la SMS" serviciu de la Clickatell Clickatell , , World-Text World-Text or any other provider that offers such service. sau orice alt furnizor care oferă un astfel de serviciu.
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. Acolo nu a fost nici o actualizări pe Blat pentru mai mult de 2 ani, dar nu pot verifica dacă funcţionează fără probleme pe serverul meu webhosting SMTP. 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. Cu toate acestea nu cred că puteţi folosi Gmail, Hotmail, Yahoo şi SMTP pentru a trimite e-mail, deoarece acest serviciu de e-mail 3 necesită SSL şi nu pot găsi această opţiune în Blat. You can try Puteţi încerca să SendEmail SendEmail which supports TLS but you will first need to install the care susţine TLS, dar va trebui mai întâi să instalaţi Net::SSLeay and IO::Socket::SSL Net:: SSLeay si IO:: Socket:: SSL perl modules on Windows. module Perl pe Windows.
[ [ Visit Blat Official Homepage Vizitaţi Blat Oficial Homepage ] ]
Technorati Tags: Technorati Tags: blat blat , , email de e-mail , , smtp SMTP , , command Comanda , , spam spam-ul
: Copying this article to your website is strictly NOT allowed. : Copierea acest articol pentru site-ul dvs. este strict nu sunt permise. However, if you like this article, you can use the HTML code below to directly link to this article. Cu toate acestea, dacă vă place acest articol, puteţi folosi codul HTML de mai jos pentru a lega direct la acest articol. 12 Hours of Downtime Today But NO MORE in Future 12 ore de azi Downtime dar nu mai mult, în viitor, 24 hours website downtime 24 oră de downtime site-ul web Today Only: FREE Command & Conquer Red Alert PC Game for Everyone! Astăzi doar: GRATUIT Command & Conquer: Red Alert PC Games pentru toată lumea! MessengerDiscovery Live – MSN Messenger Addon MessengerDiscovery Live - MSN Messenger Addon Get Notified When Unauthorized User Checks Your Webmails Ia notificat când neautorizate de utilizator Controale Webmails dvs. Find Out the Command Line Location When Windows Opens a Window A afla linia de comanda Locatia Când Windows deschide o fereastră Find Out What Program are Running at Windows System Tray Aflaţi ce program se execută în Windows System Tray
Have computer technical problems? De computere au probleme tehnice? Get FREE help from Raymond.CC FORUM Ia DRUM LIBER ajutor de la Raymond.CC FORUM
5 Responses for "Sending Email Using Command Line Useful for Downtime Alert Notification" 5 Rãspuns pentru "Trimiterea e-mail utilizând Command Line utile pentru Downtime Alert de notificare"
nice info raymond..:-)..tq info Nisa raymond ..:-).. TQ
great.. .. mare i can use this for my visual basic project. i a putea folosi acest lucru pentru meu proiect Visual Basic. thanks. mulţumesc.
nice info,…thanks Ray info Nisa, ... Mulþumiri Ray
pls provide me the bit defender key pls a-mi oferi cheie Bit Defender
@ raymond @ Raymond
You can use blat with gmail, but this is more advance. Puteţi utiliza blat cu Gmail, dar acest lucru este avans mai mult.
You need to use stunnel locally to do the secure link. Ai nevoie de a utiliza stunnel la nivel local pentru a face pe link-ul securizat.
Here is my batch file example Aici este exemplul meu batch dosar
*================================ *================================
@echo off @ echo off
setlocal enableextensions enabledelayedexpansion enabledelayedexpansion setlocal enableextensions
:: Startup directory where the command is :: Directorul de pornire în cazul în care comanda este
cd /d %~dp0 cd / d% ~ dp0
:: Configure Email Options :: Configurare Opţiuni de e-mail
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 stunnel net start> 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 "testarea 1 2 3"-la-base64%% Emailto-f%% Emailfrom-u%% Emailfrom-pw%% parolă-server% SMTPserver%
:cleanup : cleanup
:: Stop stunnel :: Stop stunnel
net stop stunnel >nul stunnel net stop> nul
stunnel\stunnel.exe -uninstall -quiet stunnel \ stunnel.exe-uninstall-quiet
:: Delete vars :: Şterge vars
SET emailfrom= SET Emailfrom =
SET emailto= SET Emailto =
SET password= SET password =
SET SMTPserver= SET SMTPserver =
rem exit de ieşire rem
Leave a reply Lasă un răspuns