Mail from customer with high importance

how to send mail notification to my customer with high importance?

referer to order email or all notification in the cs-cart

Hello Andreycosmin,



Unfortunately this request is not clear enough to us. Please clarify it in more detail.

[quote name=‘CS-Cart Support team’]Hello Andreycosmin,



Unfortunately this request is not clear enough to us. Please clarify it in more detail.[/QUOTE]



email high importance

shortened_email_High_Importance.jpg

hotmail-emails-with-none-low-and-high-importance.jpg

Thank you for the reply, Andreycosmin.



Unfortunately, there is no way to configure the default CS-Cart store to work in this way.

This could be added to CS-Cart with modification of the mail headers sent



```php //Something like this



if $High_Priority_Mail (



$to = ‘’;

$subject = ‘’;

$message = ‘’;

$headers .= ‘X-Priority: 1 \n’;

$headers .= ‘X-MSMail-Priority: High\n’;

$headers .= ‘More Header Stuff’;



mail($to, $subject, $message, $headers);



} else {



// Standard priority



$to = ‘’;

$subject = ‘’;

$message = ‘’;

$headers .= ‘X-Priority: 3 \n’;

$headers .= ‘X-MSMail-Priority: Normal\n’;

$headers .= ‘More Header Stuff’;



mail($to, $subject, $message, $headers);

); ```Until this is ability is added, you could force it to send all mail as high priority if you are using the PHP mail function.



Open /lib/phpmailer/class.phpmailer.php



Find

```php public $Priority = 3; ```Change to

```php public $Priority = 1; ```

thank you

works :slight_smile:








[quote name=‘S-Combs’]This could be added to CS-Cart with modification of the mail headers sent



```php //Something like this



if $High_Priority_Mail (



$to = ‘’;

$subject = ‘’;

$message = ‘’;

$headers .= ‘X-Priority: 1 \n’;

$headers .= ‘X-MSMail-Priority: High\n’;

$headers .= ‘More Header Stuff’;



mail($to, $subject, $message, $headers);



} else {



// Standard priority



$to = ‘’;

$subject = ‘’;

$message = ‘’;

$headers .= ‘X-Priority: 3 \n’;

$headers .= ‘X-MSMail-Priority: Normal\n’;

$headers .= ‘More Header Stuff’;



mail($to, $subject, $message, $headers);

); ```Until this is ability is added, you could force it to send all mail as high priority if you are using the PHP mail function.



Open /lib/phpmailer/class.phpmailer.php



Find

```php public $Priority = 3; ```Change to

```php public $Priority = 1; ```[/QUOTE]