source/email.tcl
Procedure Summary |
popClose { popsock } Close an open connection with a POP3 |
popCount { popsock } Return the number of new/unread emails in the |
popDelete { popsock index } Delete an email from the POP3 |
popOpen { server port username password } Open a connection with a POP3 |
popRead { popsock } Retrieve all new emails via |
smtpSend { sender recipients subject body server port {username {}} {password {}} } Send an email via |
Procedure Detail |
proc popClose { popsock }
popsock
- An open POP3 socket as returned by the popOpen command.
@error
proc popCount { popsock }
popsock
- An open POP3 socket as returned by the popOpen command.
proc popDelete { popsock index }
popsock
- An open POP3 socket as returned by the popOpen command.
index
- The index of the email to delete.
@error
proc popOpen { server port username password }
server
- POP3 Server hostname or IP address.
username
- Account name.
password
- Password.
proc popRead { popsock }
popsock
- An open POP3 socket as returned by the popOpen command.
proc smtpSend { sender recipients subject body server port {username {}} {password {}} }
sender
- Self-documenting.
recipients
- A list. Self-documenting.
subject
- Self-documenting.
body
- Self-documenting.
server
- Self-documenting.
username
- Optional. Self-documenting.
password
- Optional. Self-documenting.
port
- Self-documenting.