{"id":21152097,"url":"https://github.com/mailjet/drupal-mailjet-module-apiv3","last_synced_at":"2026-02-03T05:34:20.289Z","repository":{"id":30127435,"uuid":"33677423","full_name":"mailjet/drupal-mailjet-module-apiv3","owner":"mailjet","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-17T13:37:18.000Z","size":1225,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-19T02:56:53.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mailjet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-09T15:38:27.000Z","updated_at":"2019-09-17T13:36:06.000Z","dependencies_parsed_at":"2022-08-17T18:50:22.554Z","dependency_job_id":null,"html_url":"https://github.com/mailjet/drupal-mailjet-module-apiv3","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/mailjet/drupal-mailjet-module-apiv3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailjet%2Fdrupal-mailjet-module-apiv3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailjet%2Fdrupal-mailjet-module-apiv3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailjet%2Fdrupal-mailjet-module-apiv3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailjet%2Fdrupal-mailjet-module-apiv3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mailjet","download_url":"https://codeload.github.com/mailjet/drupal-mailjet-module-apiv3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailjet%2Fdrupal-mailjet-module-apiv3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262545035,"owners_count":23326660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T10:24:31.273Z","updated_at":"2026-02-03T05:34:15.258Z","avatar_url":"https://github.com/mailjet.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mailjet for Drupal 7.x module\n===========================\n\nMailjet APIv3 module for Drupal\n\nThis module for Drupal 7.x. provides complete control of Drupal Email \nsettings with Mailjet and also adds specific Drupal Commerce email marketing \nfunctionality such as triggered marketing emails and marketing campaign revenue statistics.\n\nThe Mailjet Module for Drupal 7.x configures your default Drupal SMTP \nsettings to use Mailjet's SMTP relay with enhanced deliverability and \ntracking. The module also provides the ability to synchronise your Drupal \nopt-in contacts and send bulk and targeted emails to them with real time \nstatistics including opens, clicks, geography, average time to click, unsubs, etc. \n\nMailjet is a powerful all-in-one email service provider used to get maximum \ninsight and deliverability results from both  marketing and transactional \nemails. Our analytics tools and intelligent APIs give senders the best \nunderstanding of how to maximize benefits for each individual contact and \ncampaign email after email. \n\nRequirements\n------------\n  * Views (https://www.drupal.org/project/views)\n  * Views Bulk Operations (https://www.drupal.org/project/views_bulk_operations)\n  * Entity (https://www.drupal.org/project/entity)\n  * Chaos tool suite (ctools) (https://www.drupal.org/project/ctools)\n\nRecommended modules\n-------------------\n  The following modules are not strictly required but it is nice to install them to get the full capability of the Mailjet features.\n  * commerce (https://www.drupal.org/project/commerce)\n  For the stats sub module to enable the ROI feature install:\n  * views_date_format_sql (https://www.drupal.org/project/views_date_format_sql)\n  * charts (https://www.drupal.org/project/charts)\n  For the list module you need to install:\n  * viewfield (https://www.drupal.org/project/viewfield)\n\n\nPrerequisites\n-------------\n\nThe Mailjet plugin relies on the PHPMailer v5.2.21 for sending emails.\n\nTo install PHPMailer via composer use:\n\n```\ncomposer require phpmailer/phpmailer=~5.2\n```\n\nTo install PHPMailer manually:\n1) Get the PHPMailer v5.2.22 from GitHub here:\nhttp://github.com/PHPMailer/PHPMailer/archive/v5.2.22.zip\n2) Extract the archive and rename the folder \"PHPMailer-5.2.22\" to \"phpmailer\".\n3) Upload the \"phpmailer\" folder to your server inside\nDRUPAL_ROOT/sites/all/libraries/.\n4) Verify that the file class.phpmailer.php is correctly located at this path: DRUPAL_ROOT/sites/all/libraries/phpmailer/class.phpmailer.php\n* Note: Libraries API can be used to move the library to an alternative location, if needed, e.g. for use in a distribution.\n\nInstallation\n------------\n\n1. Download the latest release from https://www.drupal.org/project/mailjet.\n2. Upload the module in your Drupal sites/all/modules/ directory.\n3. Log in as administrator in Drupal.\n4. Enable the Mailjet settings module on the Administration \u003e Modules page.\n5. Fill in required settings on the Administration \u003e Configuration \u003e Mailjet\n settings page.\n6. You will be required to enter API key and Secret Key from your Mailjet account. If you do not have an account yet, please [create one](https://app.mailjet.com/signup?aff=drupalmj). \n\nConfiguration\n-------------\n\n1. The site can be set up to use the Mailjet module as an email gateway, this can be easily configured, by clicking on the Settings tab =\u003e your_site/admin/config/system/mailjet, and then selecting the checkbox on the top, \"Send emails through Mailjet\", click \"Save Settings\" button on the bottom of the page. You can test that feature by sending a test email, just click the button on the top of the page \"Send test email\" in Settings tab.\n2. If you want to enable the Campaign feature, you should enable the mailjet_campaign module, you can do that from Administration \u003e Site building \u003e Modules page (your_site/admin/modules)\n3. Enabling the campaign sub module will create additional menu item in your administration menu, the new menu is called \"Campaign\" (your_site/admin/mailjet/campaign). \n4. Clicking this menu item will display all the campaigns created by the administrator, from this point you will be able to create new campaigns as well, the same way you do that on app.mailjet.com.\n5. If you want to create a campaign simply go to the Campaigns page =\u003e your_site/admin/mailjet/campaign\n6. If you enable the stats module 2 menu items will appear Dashboard where you can see the results of the mail campaigns and the Mailjet ROI stats, clicking the ROI stats you can see the actual conversion of your campaigns. This feature will display a view which will present the campaign name, number of orders made by users who clicked on the link of your site in your email campaign.\n7. My account menu item will redirect you to the Mailjet logging page.\n8. Upgrade menu link will redirect you to the pricing list of Mailjet where you can pick up a plan and upgrade your account.\n9. The contacts menu item allows you to create lists that can be used for your campaigns. New lists can be created and contacts can be  import  in several ways: Upload from CSV, Copy/Paste from Excel, Copy/Paste from TXT, CSV, RTF.\n10. If you want to enable the trigger_examples sub-module you need to enable the views_bulk_operations module and apply the following patch to it: https://www.drupal.org/files/issues/views-vbo-patch-anon-users.patch\n      \nAuthor\n------\nMailjet SAS\nplugins@mailjet.com\n\nChangelog\n---------\n\n#### 7.x-2.22 13 September 2019\n* Fix Drupal account custom fields sync to Mailjet\n\n#### 7.x-2.21 27 August 2019\n* Add possibility to sync custom profile fields along with the user's `name` either on initial and single contact sync\n\n#### 7.x-2.20 22 August 2019\n* Bugfixes and internal improvements regarding single contact sync\n\n#### 7.x-2.19 18 February 2019\n* Bugfixes and internal improvements regarding contacts sync, subscription and unsibscription of contacts\n* Updated texts and translations\n\n#### 7.x-2.18 6 June 2018\n* Fix issue when Stats module enabled and Campaign module disabled\n* Fix \"Send emails through Mailjet\" unchecked overrides non-default Mail system\n* Fix redirecting regular users to the Mailjet Settings\n* Add config setting for user property syncing\n* Fix subscription form issue\n* Fix an issue if campaings module is not installed\n\n#### 7.x-2.17 17 April 2018\n* Update the tracking parameter\n\n#### 7.x-2.16 5 December 2017\n* New feature: added creation of a subscription block\n* Various bugfixes and improvements\n\n#### 7.x-2.15 16 October 2017\n* Bug fix: The callback parameter is temporarily removed\n\n#### 7.x-2.14 1 June 2017\n* Bug fix: Messages improved\n* Bug fix: Validate add domain field\n* Bug fix: Unable to synchronize a new user if the Drupal contact list already exists\n\n#### 7.x-2.13 6 Mar 2017\n* Bug fix: Unable to send more than 1 mail per request when using Libraries API in a non default directory\nhttps://www.drupal.org/node/2853496\n\n#### 7.x-2.12 13 Feb 2017\n* Feature: Support autoload for PHPMailer\nhttps://www.drupal.org/node/2850791\n* Bug fix: Fatal error with plugin\nhttps://www.drupal.org/node/2753095\n* Bug fix: Error when user profile is associated with entity_reference field\nhttps://www.drupal.org/node/2491389\n\n#### 7.x-2.11 7 Feb 2017\n* Bug fix: Module breaks site login\nhttps://www.drupal.org/node/2491395\nhttps://www.drupal.org/node/2598060\n* Bug fix: Call to undefined function mailjet_campaign_access()\nhttps://www.drupal.org/node/2597309\n* Feature: Add ability to disable user information syncing\nhttps://www.drupal.org/node/2663328\n\n#### 7.x-2.10 25 Jan 2017\n* Bug fix: https://www.drupal.org/node/2842760\n\n#### 7.x-2.9 11 Jan 2017\n* Feature: update PHPmailer library\nhttps://www.drupal.org/node/2842760\n\n#### 7.x-2.7 25 Oct 2016\n* Bug fixes\n\n#### 7.x-2.6 12 Feb 2016\n* Mailjet event URL is now public\nFixed URL path to avoid Drupal redirect\n\n#### 7.x-2.5 8 Oct 2015\n* Added tracking information\n\n#### 7.x-2.4 3 Aug 2015\n* Added iFrame parameter to show/hide sending policy\n\n#### 7.x-2.3 8 May 2015\n* Bug fixes\n\n#### 7.x-2.2 8 Apr 2015\n* Bug fix: not able to display the trusted domain form\nhttps://www.drupal.org/node/2456715\n\n#### 7.x-2.1 24 Mar 2015\n#### 7.x-2.0 17 Mar 2015\n* First release of the new version of the Mailjet module\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmailjet%2Fdrupal-mailjet-module-apiv3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmailjet%2Fdrupal-mailjet-module-apiv3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmailjet%2Fdrupal-mailjet-module-apiv3/lists"}