https://github.com/linkorb/zorgmail-soap-client
Zorgmail SOAP client library
https://github.com/linkorb/zorgmail-soap-client
Last synced: about 1 month ago
JSON representation
Zorgmail SOAP client library
- Host: GitHub
- URL: https://github.com/linkorb/zorgmail-soap-client
- Owner: linkorb
- License: mit
- Created: 2018-03-23T10:41:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T11:17:06.000Z (about 7 years ago)
- Last Synced: 2025-04-17T14:13:51.053Z (about 1 month ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Zorgmail SOAP client
====================Simple Client library for Zorgmail SOAP service. It just handles the transport,
no message parsing/generation is being performed by this library.## Testing and development
Copy the `.env.dist` file to `.env` and adjust to your liking.
You can now run the examples from the `example/` directory.
## Notes
* This library is using a cached version of the WSDL as the [original](https://lms.lifeline.nl/mailwebservice/inline/ems-mailwebservice-inline.wsdl) requires basic auth to read.
* In order to send XML formatted EDI messages such as MEDVRI, MEDLAB, etc, you
need to use `[email protected]` as the recipient, and address
the final recipient in the XML message (envelope).
* Sending `text/plain` message to a (test) box will result in it being sent to a Secure Email box instead.
* Sending `text/xml` (even if it's just ) will deliver the message in the edi box as planned.
* Sending to self (test accounts) works.
* During send, messageIds need to be in format `<[email protected]>`, or an exception will be thrown.
* The SOAP client won't want for a response on one-way calls (like `Send`) unless `SOAP_WAIT_ONE_WAY_CALLS` features flag is set during client instantiation. This way you'll receive status codes or exceptions on invalid input.## License
MIT. Please refer to the [license file](LICENSE) for details.
## Brought to you by the LinkORB Engineering team
Check out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).Btw, we're hiring!