Contact Form 7 to Fax Machine Using Twilio

Here is code for contact form 7 message sent on your Fax machine in real time by using Twilio

Signup for a Twilio account and download the Twillio PHP Helper library to your theme’s main folder (public_html/wp-content/themes/your-theme/twilio_php_master).

$sid – Get your account ID on Twilio’s dashboard
$token – Get your account token in the same place

Then Download FPDF.

For converting data to PDF, Click here.

Add FPDF Library to theme’s main folder (public_html/wp-content/themes/your-theme/twilio_php_master).

Then, modify your functions.php file and add the following 3 lines after <?php

Add above code in your funcion.php then add hook in your funcion.php file which is given below –


Sharing is caring!

Hello There! I am NAVAL DABRAL and coding is my passion that I have turned into my profession. I have been coding for over 3 years and have a vast experience in this field.

Leave a Reply

Notify of