View Issue Details

IDProjectCategoryView StatusLast Update
0025764mantisbtemailpublic2019-08-25 13:02
ReporterTomekAP Assigned Tocommunity  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Target Version2.23.0 
Summary0025764: No way of signing mails
Description

Now emails can not be signed, nevertheless, there is such option in phpmailer. I suggest adding in email_api.php at the end of section "case PHPMAILER_METHOD_SMTP:"

$t_mail->sign(config_get_global('cert_filename'), config_get_global('key_filename'), config_get_global('key_pass'), config_get_global('extracerts_filename '));

And add some variables in config_defaults_inc.php:

And in config_defaults_inc.php
/**

  • Path to mail certification file
  • @global string $g_cert_filename
    */
    $g_cert_filename = '';

/**

  • Path to mail private key file
  • @global string $g_key_filename
    */
    $g_key_filename = '';

/**

  • mail private key pass
  • @global string $g_key_pass
    */
    $g_key_pass = '';

/**

  • Path to mail extra certification file
  • @global string $g_sign_extracerts_file
    */
    $g_sign_extracerts_file = '';
TagsNo tags attached.

Activities

dregad

dregad

2019-05-16 04:19

developer   ~0062073

Feel free to submit a pull request on Github with a proposed implementation for review.

TomekAP

TomekAP

2019-05-17 08:03

reporter   ~0062085

I created branch, but can not push it:
Username for 'https://github.com': TomekAP
Password for 'https://TomekAP@github.com':
remote: Permission to mantisbt/mantisbt.git denied to TomekAp.
fatal: unable to access 'https://github.com/mantisbt/mantisbt.git/': The requested URL returned error: 403

dregad

dregad

2019-05-17 09:34

developer   ~0062086

You need to push to your own fork repository, i.e. https://github.com/TomekAP/mantisbt.git then on the GitHub UI, submit a pull request.

TomekAP

TomekAP

2019-05-17 10:44

reporter   ~0062088

now I hpe it is OK:
https://github.com/mantisbt/mantisbt/compare/master...TomekAp:master

dregad

dregad

2019-05-18 09:15

developer   ~0062092

@TomekAP almost there... you just need to actually click the Create pull request button to submit it for review.

TomekAP

TomekAP

2019-05-18 09:29

reporter   ~0062094

Now is it OK?
https://github.com/mantisbt/mantisbt/pull/1512

dregad

dregad

2019-05-19 06:42

developer   ~0062095

That's it. Will review as time allows

Issue History

Date Modified Username Field Change
2019-05-15 19:44 TomekAP New Issue
2019-05-16 04:19 dregad Note Added: 0062073
2019-05-17 08:03 TomekAP Note Added: 0062085
2019-05-17 09:34 dregad Note Added: 0062086
2019-05-17 10:44 TomekAP Note Added: 0062088
2019-05-18 09:15 dregad Note Added: 0062092
2019-05-18 09:29 TomekAP Note Added: 0062094
2019-05-19 06:42 dregad Note Added: 0062095
2019-05-20 04:58 atrol Assigned To => community
2019-05-20 04:58 atrol Status new => assigned
2019-05-20 04:58 atrol Target Version => 2.22.0
2019-08-25 13:02 vboctor Target Version 2.22.0 => 2.23.0