Email: bknpk@hotmail.com Phone: +972-54-7649119
V

 

ASIC/FPGA Design and Verification Out Source Services

Sending Mail Via Your ISP Mail Account

This doc shows an example how to send mail with your ISP mail account. I am connected via BEZEQ in Israel. The following script gets an info string and puts it both in the subject and data section, but it can be easily modified.A few notes:

  1. You must authenticate. Both user name and password must be encoded with base64.
  2. You must have a real account with ISP (at least this is the case with BEZEQ).
  3. {
    #echo HELO bezeq.co.il
    #sleep 1
    echo AUTH LOGIN
    sleep 1
    echo user name encoded with base64
    sleep 1
    echo password encoded with base64
    sleep 1
    echo "mail from:must have a real account@bezeqint.net"
    sleep 1
    echo "rcpt to: bknpk@hotmail.com"
    sleep 1
    echo DATA
    sleep 1
    echo Subject: bezeq mail $1
    sleep 1
    echo $1
    sleep 1
    #echo
    echo .
    #echo
    echo quit
    sleep 5
    } | telnet out.bezeqint.net 25
    #telnet out.bezeqint.net 25
    #telnet mail.bezeqint.net 25

  ...


Home

Download Area

A simple script to measure the time for a job pending in lsf.






Search This Site


Feedback This Site




new pages on this site