Skip to content

Instantly share code, notes, and snippets.

@joshribakoff
Created August 19, 2013 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshribakoff/6273876 to your computer and use it in GitHub Desktop.
Save joshribakoff/6273876 to your computer and use it in GitHub Desktop.
Send a test email in Magento
<?php
require_once 'app/Mage.php';
Mage::app('admin','store');
Mage::registry('isSecureArea');
/** @var Mage_Customer_Model_Customer */
$customer = Mage::getModel('customer/customer')->load($_GET['customer']);
$customer->sendNewAccountEmail();
echo 'finished';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment