Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
PostUp Mail module provides a integration with PostUp.com service.
This module is only for developers.
How to use:
\Drupal::service('postup_mail.sender')->send_mail_template('example@example.com');
or dinamyc
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container) {
return new static(
$container->get('postup_mail.sender')
);
}
/**
* Constructs a new RegisterForm.
*
* @param \Drupal\postup_mail\SenderInterface $sender
* The PostUp mail sender.
*/
public function __construct(Connection $database, RequestStack $request_stack, PreRegistrationInfo $pre_registration_info, SenderInterface $sender) {
$this->sender = $sender;
}
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->sender->send_mail_template($email);
}
Supporting organizations:
Project information
- Seeking new maintainer
The current maintainers are looking for new people to take ownership. - Module categories: Integrations
- Created by rutel95 on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.