T4S4  19.1 C8540 A23673
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
addrthe mail address (receiver)
fromthe mail address (sender)
smtpsmtp server (ip or host)
portsmtp server port (default=0)
messagethe text message
orgmail header organisation (default= "")
subjectmail subject
xmailermail header xheader (default= "")
argstcl 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
addrthe mail address (receiver)
fromthe mail address (sender)
smtpsmtp server (ip or host)
portsmtp server port (default=0)
messagethe text message
orgmail header organisation (default= "")
subjectmail subject
xmailermail header xheader (default= "")
argstcl 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
addrthe mail address (receiver)
fromthe mail address (sender)
smtpsmtp server (ip or host)
portsmtp server port (default=0)
messagethe text message
orgmail header organisation (default= "")
subjectmail subject
xmailermail header xheader (default= "")
ttypePLAIN | HTML message format (default= HTML)
priomail priority high | low (default= "")
argstcl 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]