Search.../

getFax( )

Gets the fax number used for notifications of activities on your site.

Description

The getFax() function returns a Promise that resolves to the site's fax number information.

The retrieved fax number is the fax number that has been entered in the General Info section of your site's Dashboard.

Syntax

function getFax(): Promise<string>

getFax Parameters

This function does not take any parameters.

Returns

Fulfilled - An object containing the site fax number information. Rejected - Error message.

Return Type:

Promise<string>

Was this helpful?

Get the fax number used for notifications of activities on your site

Copy Code
1import { Permissions, webMethod } from 'wix-web-module';
2import wixSiteBackend from 'wix-site-backend';
3
4export const getFax = webMethod(Permissions.Anyone, () => {
5 return wixSiteBackend.generalInfo.getFax(); // "+ 555-55-5556"
6});