|
smtpInteracts with an SMTP server to perform the following functions: connect, verify and sendmail. You can force the connection to use TLS mode by setting the local variable smtptls to "Y", e.g.: set smtptls="Y" If the server doesn't doesn't support TLS, the connection will fail. usage: smtp [sendmail [from] [to] [subject] [msg]] [verify [address]] [user] [password]parameters:
examplessmtp sendmail "joe@alertra.com" "holly@alertra.com" "Test Message" "This is a test message" This example will send a message to holly@alertra.com from joe@alertra.com with the subject Test Message and contents of This is a test message. smtp sendmail $FROM_ADDR "julie@alertra.com" "Test Message" $MSG_TEXT "joe" "passpass" Send a message to julie@alertra.com from the address defined in the variable FROM_ADDRESS with the subject Test Message, the contents of MSG_TEXT as the text of the message and logging in as joe with the password passpass. smtp verify "tom@alertra.com" Connects to the SMTP server and verifies the address tom@alertra.com is valid. Alertra Script Language: Language Reference |
Not logged in. |
|
Web Site Monitoring · Security Scan · Features · FAQ · Pricing · About Us · Contact Us · Site Map |
|
Copyright © 2000-2008 Alertra, Inc. All rights reserved. Please read our privacy statement and our terms of service.