Request Example
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:smt="http://MonTier/SMTPSender/">
<soapenv:Header/>
<soapenv:Body>
<smt:SMTPRequest>
<smt:ServerAddress>172.17.100.102</smt:ServerAddress>
<smt:ServerPort>25</smt:ServerPort>
<smt:To>kokomoko@gmail.com</smt:To>
<smt:From>user1@montier.com</smt:From>
<smt:Subject>mail test</smt:Subject>
<smt:Body ><smt:/Body>
<smt:Domain>montier.com</smt:Domain>
<smt:FileName>Book1.xlsx</smt:FileName>
<smt:AttachmentType>application/vnd.ms-excel</smt:AttachmentType>
<smt:FileContent>UEsDBBQABgAIAAAAIQB8bJgWbAEAAKAFAAATAAgCW0NvbnRlbnRfVHlwZXNdLnh...axwAAGRvY1Byb3BzL2NvcmUueG1sUEsFBgAAAAAMAAwADAMAAOEeAAAAAA==</smt:FileContent>
</smt:SMTPRequest>
</soapenv:Body>
</soapenv:Envelope> |
Response Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:smt="http://MonTier/SMTPSender/">
<soapenv:Header />
<soapenv:Body>
<smt:SMTPRequest>
<smt:Body />
<smt:Domain>montier.com</smt:Domain>
<smt:FileName>Book1.xlsx</smt:FileName>
<smt:AttachmentType>application/vnd.ms-excel</smt:AttachmentType>
<smt:FileContent>UEsDBBQABgAIAAAAIQB8bJgWbAEAAKAFAAATAAgCW0NvbnRlbnRfVHlwZXNdLnh... ... axwAAGRvY1Byb3BzL2NvcmUueG1sUEsFBgAAAAAMAAwADAMAAOEeAAAAAA==</smt:FileContent>
</smt:SMTPRequest>
</soapenv:Body>
</soapenv:Envelope> |