Question Invoke a soap-request from remote email server?

tombond

New member
Joined
Jul 9, 2009
Messages
1
Programming Experience
10+
Hi, all experts!

I am in the middle of creating a VB.NET-program that
sends email to those recipients who have joined in our
distribution list. Nothing new and exciting about that,
but the thing is, that when email arrives at destination
mail server, we'd like to have an notification that the mail
has reached the endpoint server.(Point for this is our recent
system which tends to leave some messages unsent and we don't
have a clue which ones and why. So, we'd like to get rid of that)

To achieve this I thought that I could use SOAP-requests.
I'm able to create the SOAP-request and send it just as
plain SOAP-request. I do have already an webservice which
responds successfully to that SOAP-request. (Webservices
function is to keep track of sent email and mark them as
delivered as SOAP-requests keep coming from email servers)

The problem here is that I can't get the SOAP-message
"packaged" into the email message so that it would be carried
to the email server. I know that SOAP-messages can be trans-
ported over smtp, there is whitepapers at w3c.org stating this.

Additional problem is that what headers do I need in the SOAP
message AND the email message to get remote email server to
execute the SOAP-request. I understand that not all email servers
in the world are SOAP-capable. But I assume that quite many
modern servers do know how to handle SOAP-messages.

I'm using VS2008, .NET 3.5, WSE 3.0 and VB.NET.

Please, could you point me to some light here? Even better if
you have some code to play with..

Thanks in advance!
 
Back
Top