IAttachmentManger::Transport Property

[propget] HRESULT Transport([out, retval] ISOAPTransport ** theTransport);
[propput] HRESULT Transport([in] ISOAPTransport * theTransport);

Use this property to specify which transport to send the attachments over. currently only the HTTP transport supports attachments


Return Values

The transport object


Sample Code

dim mgr, t
set mgr = CreateObject("pocketSOAP.Attachments")
set t = CreateObject("PocketSOAP.HTTPTransport")
t.SetProxy "proxy.corp.net", 7575
t.ProxyAuthentication "MyUserName", "secret"
set mgr.Transport = t 

mgr.Send "http://services.anothercorp.com/soap.asp", e.serialize
e.parse mgr


See Also

The IAttachmentManger Interface | 




Copyright © Simon Fell, 2000-2004. All rights reserved.