T4S4  18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
SMTP handling

Functions

 sendhtmlmail addr from smtp port message org subject xmailer args
 This function is a Email client. It sends a html mail. More...
 
 sendmail addr from smtp port message org subject xmailer args
 This function is a Email client. It sends a text mail. More...
 
 sendmail2 addr from smtp port message org subject xmailer ttype prio args
 This function is a Email client. It sends a text and html mail. More...
 

Detailed Description

Function Documentation

◆ sendhtmlmail()

EMail::sendhtmlmail   addr from smtp port message org subject xmailer args  

This function is a Email client. It sends a html mail.

Parameters
addr: the mail address (receiver)
from: the mail address (sender)
smtp: smtp server (ip or host)
port: smtp server port (default=0)
message: the text message
org: mail header organisation (default= "")
subject: mail subject
xmailer: mail header xheader (default= "")
args: tcl list of attached files
Returns
none
1 ::EMail::sendhtmlmail jwendt@tesis.de nirvana@tesis.de gzpc.tesis.de 25 "My Test Message" "" "test" "" [list file1.xml file2.xml]

◆ sendmail()

EMail::sendmail   addr from smtp port message org subject xmailer args  

This function is a Email client. It sends a text mail.

Parameters
addr: the mail address (receiver)
from: the mail address (sender)
smtp: smtp server (ip or host)
port: smtp server port (default=0)
message: the text message
org: mail header organisation (default= "")
subject: mail subject
xmailer: mail header xheader (default= "")
args: tcl list of attached files
Returns
none
1 ::EMail::sendmail jwendt@tesis.de nirvana@tesis.de gzpc.tesis.de 25 "My Test Message" "" "test" "" [list file1.xml file2.xml]

◆ sendmail2()

EMail::sendmail2   addr from smtp port message org subject xmailer ttype prio args  

This function is a Email client. It sends a text and html mail.

Parameters
addr: the mail address (receiver)
from: the mail address (sender)
smtp: smtp server (ip or host)
port: smtp server port (default=0)
message: the text message
org: mail header organisation (default= "")
subject: mail subject
xmailer: mail header xheader (default= "")
ttype: PLAIN | HTML message format (default= HTML)
prio: mail priority high | low (default= "")
args: tcl list of attached files
Returns
none
1 ::EMail::sendmail2 jwendt@tesis.de nirvana@tesis.de gzpc.tesis.de 25 "My Test Message" "" "test" "" PLAIN low [list file1.xml file2.xml]

References tpwrite().