你可以参考如何从 Windows 2000 上的 ASP 页中发送传真 http://support.microsoft.com/kb/303647/zh-cnISAPI Extension for sending faxes http://www.codeproject.com/KB/ISAPI/aspfax.aspxThe Fax service extended COM API is provided in a file called fxscomex.dll which can be installed from the Platform SDK. Below are the steps:1) Install the Core SDK from Platform SDK 2) Search in your Windows folder for a file named 'fxscomex.dll' (please note, there should be another file called fxsapi.dll in the same folder), and run command "regsvr32" on it to register. 3) In your ASP.NET project, add a COM reference to "Microsoft Fax Service Extended COM Type Library"C#大致写法using FAXCOMEXLib; ....FaxServer faxsrv = null; try { faxsrv = new FaxServerClass(); faxsrv.Connect( "" ); // localhost FaxDocument faxdoc = new FaxDocumentClass(); faxdoc.Body = filename; faxdoc.DocumentName = "Fax Transmission"; faxdoc.Recipients.Add( faxnumber , "Recipient" ); System.Array JobIDs = (System.Array)faxdoc.ConnectedSubmit( faxsrv ); } finally { if ( faxsrv != null ) { faxsrv.Disconnect(); } }请注意权限。 更详细的内容请自己研究吧
http://support.microsoft.com/kb/303647/zh-cnISAPI Extension for sending faxes
http://www.codeproject.com/KB/ISAPI/aspfax.aspxThe Fax service extended COM API is provided in a file called fxscomex.dll
which can be installed from the Platform SDK. Below are the steps:1) Install the Core SDK from Platform SDK
2) Search in your Windows folder for a file named 'fxscomex.dll' (please
note, there should be another file called fxsapi.dll in the same folder),
and run command "regsvr32" on it to register.
3) In your ASP.NET project, add a COM reference to "Microsoft Fax Service
Extended COM Type Library"C#大致写法using FAXCOMEXLib;
....FaxServer faxsrv = null;
try
{
faxsrv = new FaxServerClass();
faxsrv.Connect( "" ); // localhost
FaxDocument faxdoc = new FaxDocumentClass();
faxdoc.Body = filename;
faxdoc.DocumentName = "Fax Transmission";
faxdoc.Recipients.Add( faxnumber , "Recipient" );
System.Array JobIDs = (System.Array)faxdoc.ConnectedSubmit( faxsrv );
}
finally
{
if ( faxsrv != null )
{
faxsrv.Disconnect();
}
}请注意权限。
更详细的内容请自己研究吧