in Search
 
Home Forums Marketplace Files
 
 
 

E-mail Send Error

Last post 07-14-2009, 12:45 AM by junr. 6 replies.
Sort Posts: Previous Next
  •  12-14-2007, 11:46 AM 13455

    E-mail Send Error

    I'm using the COM API v9 to create emails on rightfax server. The item ends up in status 'E-mail Send Error'. It's not clear to me whether the Integration module is required.

    Anyone know ?

  •  12-14-2007, 2:48 PM 13460 in reply to 13455

    Re: E-mail Send Error

    You should be able to send emails without the integration module. Have you configured your eTransport module?

    There were previous forum threads discussing the same issue. Can you post your code?

    Thanks.

    Arjuna

  •  12-17-2007, 6:05 AM 13465 in reply to 13460

    Re: E-mail Send Error

    I assume that the eTransport module is correctly configured because I can send emails using FaxUtil.

    My code snippet is below. 

     

    RFCOMAPILib.FaxServer fs = new RFCOMAPILib.FaxServerClass();
                    fs.ServerName = "SERVERNAME";
                    fs.UseNTAuthentication = RFCOMAPILib.BoolType.False;
                    fs.AuthorizationUserID = "XXX";
                    fs.Protocol = RFCOMAPILib.CommunicationProtocolType.cpTCPIP;
                   
                    RFCOMAPILib.Fax fx = fs.Users["AAA"].Faxes.Create;
                    fx.HasCoversheet = RFCOMAPILib.BoolType.False;
                    fx.EmailSubject = "TEST";
                    fx.FromName = "FROM@DEST";
                    fx.ToName = "To The Person";
                    fx.ToEmailAddress = "TO@DEST";
                    fx.ToFaxNumber = "TO@DEST";
                    fx.IsINLJob = RFCOMAPILib.BoolType.True;
                    fx.Attachments.Add("x.pdf", RFCOMAPILib.BoolType.False);

                    fx.IsProductionFax = RFCOMAPILib.BoolType.True;
                    fx.Send();

     

    When I do 'Show History' in faxutil, I see the following error msg:

    Resulting status code (801): Not Emailed
     >>There is not a valid email address in the cmddata file

     

  •  12-17-2007, 8:26 AM 13467 in reply to 13465

    Re: E-mail Send Error

    Hi,

    Can you try the following code snippet? Ensure the user XXX has an email address specified in the user identification section in EFM.

                    RFCOMAPILib.FaxServer fs = new RFCOMAPILib.FaxServerClass();
                    fs.ServerName = "SERVERNAME";
                    fs.UseNTAuthentication = RFCOMAPILib.BoolType.False;
                    fs.AuthorizationUserID = "XXX";
                    fs.Protocol = RFCOMAPILib.CommunicationProtocolType.cpTCPIP;
                    RFCOMAPILib.Fax fx = (Fax) fs.get_CreateObject(CreateObjectType.coFax);
                    //RFCOMAPILib.Fax fx = fs.Users["AAA"].Faxes.Create;
                    fx.HasCoversheet = RFCOMAPILib.BoolType.False;
                    fx.EmailSubject = "TEST";
                    fx.FromName = fs.AuthorizationUserID;  //"FROM@DEST";
                    fx.ToName = "To The Person";
                    fx.ToEmailAddress = "TO@DEST";
                    //fx.ToFaxNumber = "TO@DEST";

                    fx.EnableSendViaSecureDocs(BoolType.False, BoolType.False, "");
                    //fx.IsINLJob = RFCOMAPILib.BoolType.True;
                    fx.Attachments.Add("x.pdf", RFCOMAPILib.BoolType.False);

                    //fx.IsProductionFax = RFCOMAPILib.BoolType.True;
                    fx.Send();

    Thanks.

    Arjuna

  •  12-17-2007, 11:43 AM 13470 in reply to 13467

    Re: E-mail Send Error

    I verified that the Rightfax user as a valid email address.

    I tried your code but I get the same result.

    Any other ideas?

     

  •  06-23-2009, 4:23 PM 14741 in reply to 13470

    Re: E-mail Send Error

    I had the same problem and here's how I solved it... I noticed that the version of RFCOMAPI.dll that I was using was 9.0.2.254.  I upgraded to our latest version, 9.3.2.665 and it works!

    Sherri Sneed

  •  07-14-2009, 12:45 AM 14772 in reply to 14741

    Re: E-mail Send Error

    Just a quick question, will the API version 9.3 work on Fax server 8.5? Thanks

View as RSS news feed in XML
  Privacy    Site Terms   Contact Administrator