rightfax

How to generate a fax and send it in code

青春壹個敷衍的年華 提交于 2019-12-17 19:04:26
问题 I have a business requirement to generate a fax and send it to the recipient. I know the recipients name and fax number and there is a PDF that will be attached. This process will run daily and consist of 100 records to process each time. I was under the impression that this could be done by sending an email to the fax machine and a quick test in Outlook worked just fine. However, if I were to try and do the same thing in code, I get an error about the mail address being invalid. MailMessage

How to generate a fax and send it in code

纵饮孤独 提交于 2019-11-28 09:32:59
I have a business requirement to generate a fax and send it to the recipient. I know the recipients name and fax number and there is a PDF that will be attached. This process will run daily and consist of 100 records to process each time. I was under the impression that this could be done by sending an email to the fax machine and a quick test in Outlook worked just fine. However, if I were to try and do the same thing in code, I get an error about the mail address being invalid. MailMessage msg = new MailMessage(); msg.To.Add(new MailAddress("[Fax:myUser@5555555555]")); What are my options