Phabricator Welcome email


#1

We’d like to send a welcome email containing several links that would introduce newcomers to our project when they sign up to our Phabricator. How can this be done please?


#2

Did you set up your Phabricator email?
if not, try these steps: https://secure.phabricator.com/book/phabricator/article/configuring_outbound_email/


#3

The approval email sent after the account as been approved by admin is defined in:

phabricator/src/applications/people/controller/PhabricatorPeopleApproveController.php

I don’t think there is any support for a custom template, but it should be fairly easy to edit this file

$body = sprintf(
        "%s\n\n  %s\n\n",
        pht(
          'Your Phabricator account (%s) has been approved by %s. You can '.
          'login here:',
          $user->getUsername(),
          $viewer->getUsername()),
        PhabricatorEnv::getProductionURI('/'));

      $mail = id(new PhabricatorMetaMTAMail())
        ->addTos(array($user->getPHID()))
        ->addCCs(array($viewer->getPHID()))
        ->setSubject('[Phabricator] '.$title)
        ->setForceDelivery(true)
        ->setBody($body)
        ->saveAndSend();