/home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Email
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Email/MailOption.php (2170B)
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
namespace PrestaShop\PrestaShop\Core\Email;
/**
* Class MailMethodOption defines available email sending method options.
*/
final class MailOption
{
/**
* @var int Option defines that emails should be sent using native mail() function
*/
public const METHOD_NATIVE = 1;
/**
* @var int Option defines that emails should be sent using configured SMTP settings
*/
public const METHOD_SMTP = 2;
/**
* @var int Option defines that emails should not be sent
*/
public const METHOD_NONE = 3;
/**
* @var int Option defines that emails should be sent in HTML format only
*/
public const TYPE_HTML = 1;
/**
* @var int Option defines that emails should be sent in TXT format only
*/
public const TYPE_TXT = 2;
/**
* @var int Option defines that emails should be sent in both HTML and TXT formats
*/
public const TYPE_BOTH = 3;
/**
* Class should not be initialized as its responsibility is to hold mail method options.
*/
private function __construct()
{
}
}