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> <ReplyToName>Biuro obsługi klienta</ReplyToName> <!-- opcjonalne --> <ReplyToMail>biuro@ostrog.net</ReplyToMail> <Recipient>klient@test.pl</Recipient> <Message>Tresc wiadomosci email</Message> <Attachment>/home/pdf/faktura.pdf</Attachment> <!-- opcjonalne --> <!-- nazwa pliku zalacznika --> </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//