SOAP uses HTTP for sending request to server, but can't used over SMTP, FTP why ?
FTP and SMTP can be used to send SOAP messages, it is just most common to send it over HTTP, see other post on this matter:
Why does a SOAP message have to be sent over HTTP?
Related
All the examples I've seen on using MimeKit/MailKit to send an email has the SMTP client logging into a SMTP server and sending the email through that server. Is it possible to have MimeKit/MailKit send the email directly to the recipient?
In other words, if my app wishes to send an email to friend#hisdomain.com, is it possible to get the MailKit SMTP client to communicate directly to the SMTP server at hisdomain.com and send the email without having to go through my SMTP server? Or, if I have an app programmed to send me the daily whatever, to send the email to my SMTP server without having to actually log into the SMTP server.
My Web-server sends emails to one of our clients who uses Mimecast.com enforced TLS. We Send our emails to our client via gmail.com using secure TLS via our web server. Our SSL certificate is up to date and so is the client we are sending emails to. Delivery is successful but when the client sends us any emails Mimecast turns that message into secure message. Basically you have to log into their secure email web-app and access the emails from there.
This is not convenient for us.
It appears that my TLS is working correctly, but every time they send me an email it uses their secure mail web-app (as if my TLS is not working). MimeCast declined to help. How do I ensure that my email-servers TLS will work with mimecast's email server?
I found that the sort of SSL/TSL that was allowed on my web server was not compatible because it was too new. I updated the webserver to allow older protocols.
I am adding support for HTTP CONNECT request to a client and I can't seem to handle the tunnel properly.
I am able to send a CONNECT request to the proxy which response with a status code of 200. This RFC tell me that the tunnel has been formed with the end server.
How do I use this tunnel from a socket perspective?
On the client side, the socket I opened receives the 200 response from proxy initially. After checking the response should I just send more data into that socket?
I tried this approach and the client just hangs. The data doesn't seem to reach the final server. How to use this socket to do normal HTTP(S) after the tunnel is created?
After checking the response should I just send more data into that socket?
Yes. If you are speaking HTTPS you now start a TLS handshake and then send a properly formed HTTP request and read the response, both via TLS.
I tried this approach and the client just hangs. The data doesn't seem to reach the final server.
So either your handshake was wrong or your HTTP was malformed.
How can we use SAAJ API for creating and sending SOAP response to client .most examples in the net are for sending request from client to server
Here's an example I found in the net:
http://itdoc.hitachi.co.jp/manuals/3020/30203Y2310e/EY230155.HTM#ID00260
How to send emails in Visual Basic 6 with SSL option enabled?
You could use the webdav protocol to send the email via an IXMLHTTPRequest. An example showing how to do this can be found here.
To send via a server that has an SSL certificate just remember to include the https:// at the beginning of the URL.