A method of transmitting fax messages from at least one fax message sending device (22, 24, 26) to at least one fax message receiving device, the method being implemented in a fax communication device driver being configured to be in communication with a fax communication device of a fax server, a cloud fax provider arranged remote from the fax server, and a fax server software module, the method comprising the steps of: receiving, from the fax server software module, fax data associated with a fax message to be transmitted from a fax message sending device (22, 24, 26) to a fax message receiving device, wherein the fax data comprise fax metadata and fax image data; comparing at least one fax data parameter derivable from the fax metadata with at least one routing rule, on the fax server, pre-defined by a user or an administrator, wherein the at least one fax data parameter comprises a fax number of the fax message receiving device, and the at least one pre-defined routing rule defines that the fax massage shall be routed to the cloud fax provider if the fax number indicates that the fax message is to be transmitted in a country different from the country where the fax server resides, or into a specific country; based on the comparison result, deciding whether to route the fax data to the fax communication device or to the cloud fax provider; and based on the decision result, selectively routing the fax data to the fax communication device or to the cloud fax provider for transmission to the fax message receiving device, wherein a connection with the cloud fax provider is established and the fax is routed to the cloud fax provider, if it has been decided to transmit the fax message via the cloud fax provider to the message receiving device, and wherein the method further comprises: routing the fax image data to the fax communication device, if it has been decided to transmit the fax message via the fax communication device to the fax message receiving device; receiving a final transmission status from the fax communication device or cloud fax provider after the fax message has been transmitted to the fax message receiving device, and returning the final transmission status to the fax server software module; closing the established connection between the cloud fax provider and the fax communication device driver after the fax data has been routed to the cloud fax provider; and polling the final transmission status until the final transmission status is returned from the cloud fax provider or a connection timeout is reached. receiving, from the fax server software module, fax data associated with a fax message to be transmitted from a fax message sending device (22, 24, 26) to a fax message receiving device, wherein the fax data comprise fax metadata and fax image data; comparing at least one fax data parameter derivable from the fax metadata with at least one routing rule, on the fax server, pre-defined by a user or an administrator, wherein the at least one fax data parameter comprises a fax number of the fax message receiving device, and the at least one pre-defined routing rule defines that the fax massage shall be routed to the cloud fax provider if the fax number indicates that the fax message is to be transmitted in a country different from the country where the fax server resides, or into a specific country; based on the comparison result, deciding whether to route the fax data to the fax communication device or to the cloud fax provider; and routing the fax image data to the fax communication device, if it has been decided to transmit the fax message via the fax communication device to the fax message receiving device; receiving a final transmission status from the fax communication device or cloud fax provider after the fax message has been transmitted to the fax message receiving device, and returning the final transmission status to the fax server software module; closing the established connection between the cloud fax provider and the fax communication device driver after the fax data has been routed to the cloud fax provider; and polling the final transmission status until the final transmission status is returned from the cloud fax provider or a connection timeout is reached.