Jump to main content Jump to doc navigation

Since v.2.0.0-rc1, virtuNewsletter has mailgun integration.

To do such, you need to

  1. download Mailgun's Official SDK for PHP from https://github.com/mailgun/mailgun-php,
  2. place the files on core/components/virtunewsletter/vendors/mailgun-php (remove "-master" suffix name if any),
  3. run composer inside the folder,
  4. update System Settings, look for : "virtunewsletter.mailgun.endpoint", fill in the domain target (or sandbox domain) URL from the mailgun's dashboard,
  5. and then fill "virtunewsletter.mailgun.api_key" with URL's API key.

virtuNewsletter does not send messages using mailgun's batchMessage feature, but send them one by one.

It is done so to parse the placeholders and output filters.

Since then, when the cron runs, it uses high memory.

To avoid out of memory, reduce "virtunewsletter.email_limit", 30 is recommended.

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Digital Penguin
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • Following Sea
  • Anton Tarasov
  • eydolan
  • Raffy
  • Lefthandmedia
  • Murray Wood
  • Snow Creative
  • Nick Clark
  • Helen
  • JT Skaggs
  • krisznet
  • YJ
  • Yanni
  • Richard

Budget

$366 per month—let's make that $500!

Learn more