MstMailUtils D

Total Complexity 364
Dependencies 5
Dependents 1
Total lines 1,608
Lines of code 1,429
Logical lines of code 1,053
Comment lines 120
Methods 50
Properties 0

Methods 50

Method Rating Maintainability Complexity Lines of code
htmlSafeWordwrapStr()
C
33 27 90
removeMailFooter()
C
31 24 111
getRecipInfoStr()
B
42 20 51
isBouncedMail()
B
41 19 52
htmlWordwrapByWorkingInStyleTags()
B
39 16 59
undoSubjectModifications()
B
41 16 53
addRemoveConvertBodyParts()
B
44 16 46
isBlockedEmailAddress()
A
45 15 40
appendMailFooter()
A
48 15 31
isValidEmail()
A
48 14 30
getAttachmentFilenameFromParameterArray()
A
44 12 40
removeMailHeader()
A
39 10 67
replaceWildcards()
A
37 9 75
replaceContentIdsWithAttachments()
A
44 9 43
getAttachmentFilename()
A
50 9 28
getContentTypeString()
A
54 9 22
modifyMailContent()
A
42 7 51
getAttachmentParameters()
A
50 8 26
isSentFromDMARC_PolicyRejectProvider()
A
51 8 25
wellFormatHTMLBody()
S
50 7 28
appendMailHeader()
S
52 7 27
htmlWordwrapIfNeeded()
S
46 6 40
checkMailWithWordsToFilter()
S
53 6 24
arraySearchWithVariations()
S
56 6 19
splitEmailAddressInLocalAndDomainPart()
S
51 5 29
convertRelativeToAbsoluteURL()
S
59 6 14
getMailSize()
S
54 5 21
getContentId()
S
59 5 13
replaceWildcardsThatAreMailIndependent()
S
51 4 26
replaceRecipientWildcards()
S
53 4 22
extractContentType()
S
57 4 16
getReplyToArray()
S
60 4 13
ucwordsWithDelimiters()
S
61 4 12
hasLineLongerThan()
S
59 3 13
extractCharset()
S
60 3 13
getHeaderFieldsAndContents()
S
53 2 22
getSubjectPrefix()
S
55 2 19
shortenSubjectIfNeeded()
S
63 3 10
getPlainTextVersionOfHTMLBody()
S
61 2 13
getHeaderValue()
S
59 2 13
convertRelativeToAbsoluteImageSourcesInHTMLText()
S
57 1 19
doesStrContainHtmlSafeWordwrapCriticalTags()
S
70 2 6
getHTMLVersionOfPlaintextBody()
S
63 1 12
htmlWordwrapBySimpleReplace()
S
75 1 4
convertRelativeToAbsoluteSiteURLsInHTMLText()
S
63 1 10
undoMailBodyModifications()
S
63 1 10
modifyMailSubjectWithMailIndependentVars()
S
75 1 4
modifyMailSubject()
S
74 1 4
getListIDMailHeader()
S
67 1 7
getMail()
S
69 1 6