MailSend
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Priority>10</Priority> <Request> <Type>MailSend</Type> <MailSend> <SenderName>System</SenderName> <!-- opcjonalne --> <SenderMail>system@ostrog.net</SenderMail> <Recipient>klient@test.pl</Recipient> <!-- moze wystapic wiecej niz 1 raz --> <Title>Temat</Title> <Message>Tresc wiadomosci email</Message> <!-- moze wystapic wiecej niz 1 raz --> <Attachment><!-- opcjonalne --> <!-- moze wystapic wiecej niz 1 raz --> <FileName>faktura.pdf</FileName> <Type>application/pdf</Type> <Binary>hdsrtbdh5he5gh5eh53h4rhn54hn456n4n456n46hn46n45hn34hb</Binary> </Attachment> </MailSend> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>MailSend</Type> <MailSend> <Message>Done</Message> </MailSend> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>E-mail cannot be send</Error> </Request> </Net47> //BEGINEND//