Reply Email & cover Page

6 posts / 0 new
Last post
#1 Sat, 10 Sep 2005 01:47
Anonymous (not verified)

Reply Email & cover Page

Hi,
I need ur help.I am using InterFax in my webservices.After sending fax i am getting a confirmation email id.But what i need is i want the fax confirmation emails 2 one to my email id and other to helpdesk@gmail.com.I declaring one variable in web.config file and i am calling that through my class as follows

 
private int SendFax(ReportRequest reportRequest)
{
if (!Settings.AllowFax) return 0;
try
{
FaxSender faxSender = new FaxSender( Settings.FaxUserID, Settings.FaxPassword );
faxSender.ReplyEmailAddress = Settings.FaxNotify;
faxSender.Subject = Settings.FaxSubject;
faxSender.AddAttachment( reportRequest.FilePath );
XmlUtilities xmlUtilities = new XmlUtilities();
foreach ( XmlNode nodeFax in reportRequest.FaxNumbers)
{
faxSender.Faxnumber = Settings.FaxPrefix + nodeFax.InnerText.Replace("-","");
faxSender.SendFax();
}
return reportRequest.FaxNumbers.Count;

.How can i receive email confirmation of fax to help@gmail.com.can i get email confirmation to other mail id too????

one more question i need to add cover page to my fax..How can i do that?Plz help me..i am using the following code.
Thankyou so much.

public long SendFax()
		{		
			DateTime var_dtCurrentday=DateTime.Now;
			string var_strErrorMessage="";
			long var_lReturnCode=0;

			var_lReturnCode = objFaxMessage.SendfaxEx_2(g_strUserid,g_strPassword,g_strFaxnumber,g_strContacts,g_bFileData,g_strFiletypes,g_strFilesSize,g_dtPostpone,g_iRetriesToPerform,g_strCSID,g_strPageHeader,g_strJobID,g_strSubject,g_strReplyEmailAddress,g_strPageSize,g_strPageOrientation,g_bIsHighResolution, g_bIsFineRendering);
			if(var_lReturnCode<0)
			{
				var_strErrorMessage=GetErrorText(var_lReturnCode);
				throw new Exception(var_strErrorMessage);
			}
			else
			{
				g_lTransactionID=var_lReturnCode;
			}

			return var_lReturnCode;
		}



public long SendfaxEx_2(
                    string Username, 
                    string Password, 
                    string FaxNumbers, 
                    string Contacts, 
                    [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] System.Byte[] FilesData, 
                    string FileTypes, 
                    string FileSizes, 
                    System.DateTime Postpone, 
                    int RetriesToPerform, 
                    string CSID, 
                    string PageHeader, 
                    string JobID, 
                    string Subject, 
                    string ReplyAddress, 
                    string PageSize, 
                    string PageOrientation, 
                    bool IsHighResolution, 
                    bool IsFineRendering) {
            object[] results = this.Invoke("SendfaxEx_2", new object[] {
                        Username,
                        Password,
                        FaxNumbers,
                        Contacts,
                        FilesData,
                        FileTypes,
                        FileSizes,
                        Postpone,
                        RetriesToPerform,
                        CSID,
                        PageHeader,
                        JobID,
                        Subject,
                        ReplyAddress,
                        PageSize,
                        PageOrientation,
                        IsHighResolution,
                        IsFineRendering});
            return ((long)(results[0]));
        }
Sat, 10 Sep 2005 08:15
Adam M

In response to your questions:

How can i receive email confirmation of fax to help@gmail.com.can i get email confirmation to other mail id too?

It is not possible to have your confirmation emails sent to more than one destination. But since you are using the web service, you could simply do this: poll Interfax for the status of your fax; once the fax has completed (status code >= 0), simply send an email notification to as many email addresses as you need.

i need to add cover page to my fax..How can i do that?

Simply add a first page to your fax, formatting it like a cover page.

Wed, 26 Sep 2012 17:19
rpunna (not verified)

i am doing that currently but how can i specify the total number of pages in cover page. currently i can get it only after sending the fax.

Wed, 26 Sep 2012 17:20
rpunna (not verified)

i am doing that currently but how can i specify the total number of pages in cover page. currently i can get it only after sending the fax.

Wed, 26 Sep 2012 17:20
rpunna (not verified)

i am doing that currently but how can i specify the total number of pages in cover page. currently i can get it only after sending the fax.

Fri, 15 May 2015 09:16
sunfish (not verified)

Hi,
meanwhile the report can be sent to multiple semicolon separated e-mail addresses.
Example: $params->ReplyAddress = 'first@example.com;helpdesk@gmail.com';

Or if you have a default email recipient of feedback emails, you can input multiple addresses at PREFERENCES/Outgoing/Feedback/Default Reply Email

Nice an easy feature. Thanks interfax.

Log in or register to post comments

Contact us today

Talk to a member of our team about the benefits InterFAX can bring to your organization's communications processes.

Contact us today