Simple Mail Transfer Protocol (SMTP) is an Internet standard for email transmission that is used by millions of mail servers throughout the world and is supported by Microsoft, Google, and Yahoo.
Vtiger CRM is the fastest, most powerful, easiest to use customer relationship management (CRM) software for small businesses and organizations. Vtiger makes it easy to manage contacts, leads, customers, public records, support tickets—and more—all in one place.
Vtiger IntegrationsVtiger + SMTP by Connect
Send Email in SMTP by Connect when New Contact is created in Vtiger Read More...Vtiger + SMTP by Connect
Send Email in SMTP by Connect when New Product is created in Vtiger Read More...Vtiger + SMTP by Connect
Send Email in SMTP by Connect when New Event is created in Vtiger Read More...Vtiger + SMTP by Connect
Send Email in SMTP by Connect when New Case is created in Vtiger Read More...Vtiger + SMTP by Connect
Send Email in SMTP by Connect when New Organization is created in Vtiger Read More...It's easy to connect SMTP by Connect + Vtiger without coding knowledge. Start creating your own business flow.
Triggers when a new lead is created or existing lead is updated.
Triggers when a new Case created.
Triggers when a new Contact created.
Triggers when a new Event created.
Triggers when a new Invoice is created.
Triggers when a new Lead is created.
Triggers when a new Organization created.
Triggers when a new Product created.
Triggers when a new Service created.
Triggers when a new Ticket is created.
Triggers when a new todo is created.
Sends a plaintext email from a specific SMTP server.
Creates a new Case.
Create a new Event in Vtiger.
Creates a new Organization/Account/Company.
Creates a new Product in Vtiger.
Creates a new project.
Creates a new Service item in Vtiger.
Creates a new Ticket.
Create a new To do in Vtiger.
Triggers when a new contact is created or existing lead is updated.
Creates or updates lead.
Creates a new product or updates an existing product in Vtiger.
Updates an existing project in Vtiger.
Update a selected todo in vtiger.
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
SMTP by Connect is a PHP library for sending and receiving emails via the SMTP protocp. This library is very easy to install and use.
Vtiger is a popular open source CRM software that is very flexible and customizable. It is written in PHP and allows you to manage your contacts, accounts, tasks, projects, leads, opportunities etc. It also supports many third party integrations.
SMTP by Connect is very useful in sending emails from your website. You can use it to send out newsletters or notifications to all your users. The fplowing example will show you how to send an email when someone registers on your website using Vtiger.
First create a cron job in the root of your website directory to handle the email notification. The cron job should be named “smtp-connect-vtiger” and it should be scheduled to run every minute. The fplowing code shows how to do this:
Then create a file in the root of your website directory called “smtp-connect-vtiger.php” with the fplowing code:
<php define('CONNECT_HOST', 'smtp.yourdomain.com'); // Define SMTP Host define('CONNECT_PORT','25'); // Define SMTP Port define('CONNECT_USERNAME','yourusername'); // Define SMTP Username define('CONNECT_PASSWORD','yourpassword'); // Define SMTP Password $to = $_POST['email']; // Get Email Address From POST $subject = "New User Registration"; // Set Subject $message = '<html><head></head><body>New User Registration</body></html>'; $headers = "From. {$_POST['email']}<br> Message-ID. <{$_POST['email']}> <br> X-Mailer. PHP/".phpversion(); $fp = fsockopen(CONNECT_HOST, CONNECT_PORT, $errno, $errstr, 30); if (!$fp. { echo "Connect failed. " . $errstr; } else { fputs($fp, "HELO {$_SERVER['HTTP_HOST']}rn"); fputs($fp, "MAIL FROM. <{$_POST['email']}>rn"); fputs($fp, "RCPT TO. <{$to}>rnrn"); fputs($fp, "DATArnrn"); while (!feof($fp). { $line = fgets($fp, 128); if ($line == "rn". { break; } echo "<pre>"; echo $line; echo "</pre>"; } fputs($fp, "rnrn"); fputs($fp, "QUITrnrn"); fclose($fp); } > 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 <php define ( 'CONNECT_HOST' , 'smtp.yourdomain.com' . ; // Define SMTP Host define ( 'CONNECT_PORT' , '25' . ; // Define SMTP Port define ( 'CONNECT_USERNAME' , 'yourusername' . ; // Define SMTP Username define ( 'CONNECT_PASSWORD' , 'yourpassword' . ; // Define SMTP Password $to = $_POST [ 'email' ] ; // Get Email Address From POST $subject = "New User Registration" ; // Set Subject $message = '<html><head></head><body>New User Registration</body></html>' ; $headers = "From. {$_POST['email']}<br> Message-ID. <{$_POST['email']}> <br> X-Mailer. PHP/".phpversion(); $fp = fsockopen ( CONNECT_HOST , CONNECT_PORT , $errno , $errstr , 30 . ; if ( ! $fp . { echo "Connect failed. " . $errstr ; } else { fputs ( $fp , "HELO {$_SERVER['HTTP_HOST']}rn" . ; fputs ( $fp , "MAIL FROM. <{$_POST['email']}>rn" . ; fputs ( $fp , "RCPT TO. <{$to}>rnrn" . ; fputs ( $fp , "DATArnrn" . ; while ( ! feof ( $fp . . { $line = fgets ( $fp , 128 . ; if ( $line == "rn" . { break ; } echo "<pre>" ; echo $line ; echo "</pre>" ; } fputs ( $fp , "rnrn" . ; fputs ( $fp , "QUITrnrn" . ; fclose ( $fp . ; } >
The code above will check to make sure that the user has registered on your site using Vtiger. If they have not registered yet, it will redirect them to the Vtiger registration page. If they have however already registered with Vtiger then it will send them an email with the subject line that you specified above.
You can now test this by logging into your Vtiger account and clicking on “Registration”, which you can find under “Users” on the left hand side menu. Once here you can register yourself as a new user and then click on “Submit” at the bottom of the page. Then go back to your cron job page where you should see an email being sent with the subject line that you specified above.
Integrating SMTP by Connect with Vtiger allows you to send emails to users without having to worry about setting up an email server or running mailman daemons etc.. This integration also allows you to schedule emails to be sent at specific times or intervals that you specify. These are just some of the many benefits that this integration provides.
The process to integrate SMTP by Connect and Vtiger may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.