Hi All,
First of all, this is not a direct ASP .net probelm. This is something I encouter when I write some backend stuff for my application.
Here is the problem. I want to send a fax when. So I wrote the following code.
private void sendFax
try
{
FaxServer faxServer = new FaxServerClass();
faxServer.Connect(Environment.MachineName);
//faxServer.
FaxDoc faxDoc = (FaxDoc)faxServer.CreateDocument(@"C:\TestDoc1.txt");
faxDoc.FileName = @"C:\TestDoc.txt";
faxDoc.SendCoverpage = 1;
faxDoc.CoverpageName = @"C:\TestDoc.txt";
faxDoc.CoverpageSubject = "Test Fax";
string bodyText = "This is a test" + Environment.NewLine;
bodyText += "list of products" + Environment.NewLine;
...
Go to the complete details ...