This is a more advanced .Net code sample to show how to retrieve information for a specific inbound fax, resend the email notifications for this fax and mark this fax as "unread". This code sample is based on the .Net library for InterFAX available on Github.
If the user preferences are set to do so, InterFAX will send out email notifications to the user when a new inbound fax is received in the system.
This sample demonstrates how to retrieve the information regarding a specific inbound fax by using its fax ID (You can retrieve the fax ID by using the sample code for checking on inbound faxes or by integrating the inbound callback) and then resending the email notifications for this fax and finally, marking the fax as "unread" (new).
Once a fax is marked as "unread" (new), the fax will keep showing up when querying the list of new inbound faxes.
// given an InterFAX fax ID var faxId = 12345; // resend the email await interfax.Inbound.Resend(faxId); // mark as unread await interfax.Inbound.MarkUnread(faxId);
- Compare the differences between polling for fax status and receiving status by callback.