[How to] Fax with C# in Windows Fax Service Environment
透過 Windows Fax Service,以程式方式發送傳真
- 使用語言: C#
- 加入參考 ( FXSRESM.dll ) 路徑在: C:\windows\system32\FXSRESM.dll
- Code 如下:
FaxServer faxServer = new FaxServer();
//IP是Fax Server IP faxServer.Connect("192.168.1.1"); FaxDocument aDoc = new FaxDocument();
//要FAx的檔案 aDoc.Body = "C:\\Temp\\1.docx";
aDoc.ReceiptAddress = "stace@xxx";
//收傳真的電話 aDoc.Recipients.Add("88880000", "Recp"); aDoc.ConnectedSubmit(faxServer);
- 就這樣就可以發Fax出去, Stupid and simple! Good!
- 其他傳真的封面/封底/Server傳送的狀態還需要再詳細看SDK與 COM Object的其他method! 基本上應該還要確認一下對方是否有傳成功,就類似人為動作一樣..
- Using the Fax Service SDK http://msdn.microsoft.com/en-us/library/windows/desktop/ms693392(v=vs.85).aspx
- Fax Service Extended COM Objects http://msdn.microsoft.com/en-us/library/windows/desktop/ms693456(v=vs.85).aspx
Harrah's Cherokee Casino & Hotel - Mapyro
回覆刪除Harrah's Cherokee Casino & 양산 출장안마 Hotel is 세종특별자치 출장샵 in 남원 출장마사지 North Carolina, a 15-minute drive from Asheville International Airport. This 4-star hotel is 부산광역 출장샵 7.9 mi (15.8 km) Rating: 6.3/10 · 2,060 reviews · 의정부 출장샵 Price range: $$