Fax From ASP

Discussion in 'ASP General' started by Max, Mar 13, 2006.

  1. Max

    Max Guest

    Hello
    I've installed MSSOAP Toolkit 3.0 and a fax modem on my Windows 2000 Server
    The Fax Service is running
    I've tried ASP code as shown
    <%
    Set objSoap = Server.CreateObject("MSSOAP.SOAPClient30")
    objSoap.ClientProperty("ServerHTTPRequest") = True
    objSoap.mssoapinit("http://ws.interfax.net/dfs.asmx?wsdl")
    SendFaxResult = objSoap.SendCharFax("username","password","+123 456
    65432100", "This is a sample Fax", "txt") '
    If SendFaxResult <> "0" Then
    Response.Write "Error sending fax. Return code: " & SendFaxResult
    Else
    Response.Write "Fax submitted. Transaction ID: " & SendFaxResult
    End If
    %>

    I always get an -1003 error
    What does it mean?and how do I solve it?
     
    Max, Mar 13, 2006
    #1
    1. Advertising

  2. Max

    Max Guest

    OK, forget about it
    The answer is pretty simple
    "I Don't have an acount of InterFAX"
    so I alter my question
    "How do I send a fax from ASP?"

    "Max" <max@work> ¼¶¼g©ó¶l¥ó·s»D:e$...
    > Hello
    > I've installed MSSOAP Toolkit 3.0 and a fax modem on my Windows 2000
    > Server
    > The Fax Service is running
    > I've tried ASP code as shown
    > <%
    > Set objSoap = Server.CreateObject("MSSOAP.SOAPClient30")
    > objSoap.ClientProperty("ServerHTTPRequest") = True
    > objSoap.mssoapinit("http://ws.interfax.net/dfs.asmx?wsdl")
    > SendFaxResult = objSoap.SendCharFax("username","password","+123 456
    > 65432100", "This is a sample Fax", "txt") '
    > If SendFaxResult <> "0" Then
    > Response.Write "Error sending fax. Return code: " & SendFaxResult
    > Else
    > Response.Write "Fax submitted. Transaction ID: " & SendFaxResult
    > End If
    > %>
    >
    > I always get an -1003 error
    > What does it mean?and how do I solve it?
    >
    >
    >
     
    Max, Mar 13, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike B

    ASP to send a Fax

    Mike B, Aug 8, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    429
  2. ravikiran

    Fax from ASP.Net

    ravikiran, Oct 23, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    472
    AdamM
    Oct 28, 2003
  3. Patrice
    Replies:
    0
    Views:
    433
    Patrice
    Sep 21, 2004
  4. jcvoon

    Fax in an asp.net page

    jcvoon, Oct 11, 2005, in forum: ASP .Net
    Replies:
    11
    Views:
    5,795
  5. aaaaaForum

    sending fax using asp.net

    aaaaaForum, Apr 26, 2006, in forum: .NET
    Replies:
    0
    Views:
    3,862
    aaaaaForum
    Apr 26, 2006
Loading...

Share This Page