Skip to content

Commit

Permalink
xc-sends-mail:modemu -> modemu2k
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Sep 6, 2018
1 parent c489f98 commit eb69528
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xc-sends-mail
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/local/bin/xc -s

# Modemu + xc sample script: "Xc talks SMTP and sends you a mail."
# Modemu2k + xc sample script: "Xc talks SMTP and sends you a mail."
# Usage:
# modemu -c 'xc -l tty%s -s xc-sends-mail'
# modemu2k -c 'xc -l tty%s -s xc-sends-mail'

assign HOST eq `hostname`
assign TOADR eq $LOGNAME
Expand Down Expand Up @@ -35,10 +35,10 @@ if ! waitfor "354" 10; then exit; endif

transmit "From: "
transmit $LOGNAME
transmit " (A satisfied modemu user :)^M"
transmit "Subject: Sample mail for modemu demo^M"
transmit " (A satisfied modemu2k user :)^M"
transmit "Subject: Sample mail for modemu2k demo^M"
transmit "^M"
transmit "This mail was sent to you by modemu + xc.^M"
transmit "This mail was sent to you by modemu2k + xc.^M"

transmit "^M.^M"
#250 Mail accepted
Expand Down

0 comments on commit eb69528

Please sign in to comment.