mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
30 lines
630 B
PHP
30 lines
630 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Notification\Mail;
|
|
|
|
class MailTest extends AbstractMail
|
|
{
|
|
public function subject()
|
|
{
|
|
return _('mail:: test d\'envoi d\'email');
|
|
}
|
|
|
|
public function message()
|
|
{
|
|
return sprintf("%s\n%s", sprintf(
|
|
_('Ce mail est un test d\'envoi de mail depuis %s'),
|
|
$this->registry->get('GV_ServerName')
|
|
), $this->message);
|
|
}
|
|
|
|
public function buttonText()
|
|
{
|
|
return $this->app['phraseanet.registry']->get('GV_homeTitle');
|
|
}
|
|
|
|
public function buttonURL()
|
|
{
|
|
return $this->registry->get('GV_ServerName');
|
|
}
|
|
}
|