<?php

////	Browning: A Mailgun Script (v0.25)
// https://github.com/eustasy/browning-a-mailgun-script

////	Mailgun
// Sign up at https://mailgun.com/signup
// First 10,00 mails a month free.

// Mailgun API URL
// Replace example.com with your domain after signing up at
// $Browning['URL'] = 'https://api.mailgun.net/v2/example.com';
$Browning['URL'] = 'https://api.mailgun.net/v2/example.com';

// Mailgun API Key
// Use API Key found at https://mailgun.com/cp
// $Browning['Key'] = 'key-123456-abcdefg-789012-abc-34567';
$Browning['Key'] = 'key-123456-abcdefg-789012-abc-34567';
// Not the Public Key. We don't need that.

// From for Mail
// $Browning['Default']['Regards'] = 'Example Support';
$Browning['Default']['Regards'] = 'Example Support';

// Reply-to address
// Please don't use noreply.
// Should match the domain in your API URL.
// $Browning['Default']['ReplyTo'] = 'support@example.com';
$Browning['Default']['ReplyTo'] = 'support@example.com';

<?php

////	Browning: A Mailgun Script (v0.25)
// https://github.com/eustasy/browning-a-mailgun-script

////	Mailgun
// Sign up at https://mailgun.com/signup
// First 10,00 mails a month free.

// Mailgun API URL
// Replace example.com with your domain after signing up at
// $Browning['URL'] = 'https://api.mailgun.net/v3/example.com';
$Browning['URL'] = 'https://api.mailgun.net/v3/example.com';

// Mailgun API Key
// Use API Key found at https://mailgun.com/cp
// $Browning['Key'] = 'key-123456-abcdefg-789012-abc-34567';
$Browning['Key'] = 'key-123456-abcdefg-789012-abc-34567';
// Not the Public Key. We don't need that.

// From for Mail
// $Browning['Default']['Regards'] = 'Example Support';
$Browning['Default']['Regards'] = 'Example Support';

// Reply-to address
// Please don't use noreply.
// Should match the domain in your API URL.
// $Browning['Default']['ReplyTo'] = 'support@example.com';
$Browning['Default']['ReplyTo'] = 'support@example.com';

Update for Mailgun v3 API
Update for Mailgun v3 API