Skip to content
Snippets Groups Projects

Bug fix for net type when forwarding messages to internet email or fidonet netmail

Merged Eric Oulashin requested to merge DDMsgReader_forward_net_type into master
5 unresolved threads

When forwarding a message, it now correctly sets sets the to_net_type property in the message header to FidoNet or internet for those types of message destinations - at least for internet & FTN addresses. I wasn't sure where I might set it to NET_POSTLINK, NET_WWIV, or NET_MHS, as I haven't found an example yet of what those addresses look like.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
13472 13481 return retStr;
13473 13482 }
13474 13483
13484 // Determines a network type from a message address, for username@dest addresses
13485 //
13486 // Parameters:
13487 // pMsgDestAddr: A destination message address to test
13488 //
13489 // Return value: The message network type (numeric)
13490 function msgNetTypeFromAddr(pMsgDestAddr)
  • 13535 case NET_NONE:
    13536 toNetTypeStr = "Local";
    13537 break;
    13538 case NET_UNKNOWN:
    13539 toNetTypeStr = "Unknown networked";
    13540 break;
    13541 case NET_FIDO:
    13542 toNetTypeStr = "FidoNet";
    13543 break;
    13544 case NET_POSTLINK:
    13545 toNetTypeStr = "PostLink";
    13546 break;
    13547 case NET_QWK:
    13548 toNetTypeStr = "QWK";
    13549 break;
    13550 case NET_INTERNET:
  • 13542 toNetTypeStr = "FidoNet";
    13543 break;
    13544 case NET_POSTLINK:
    13545 toNetTypeStr = "PostLink";
    13546 break;
    13547 case NET_QWK:
    13548 toNetTypeStr = "QWK";
    13549 break;
    13550 case NET_INTERNET:
    13551 toNetTypeStr = "Internet (NNTP)";
    13552 break;
    13553 case NET_WWIV:
    13554 toNetTypeStr = "WWIV";
    13555 break;
    13556 case NET_MHS:
    13557 toNetTypeStr = "MHS";
  • Eric Oulashin added 1 commit

    added 1 commit

    • 52ba5267 - Addresing Rob's comments about the 'to' net types

    Compare with previous version

  • Rob Swindell enabled an automatic merge when the pipeline for 52ba5267 succeeds

    enabled an automatic merge when the pipeline for 52ba5267 succeeds

  • merged

  • Rob Swindell mentioned in commit 9d78353e

    mentioned in commit 9d78353e

  • Please register or sign in to reply
    Loading