Removes unsafe characters and
potentially confusing MIME header strings.
Parameters body String to clean
Returns Cleaned string
static cleanLine( value : string ) : string
Cleans a line for use in an email. Removes unsafe characters.
Parameters value String to clean
Returns Cleaned string
static cleanSubject( subject : string ) : string
Cleans an email subject line. Removes unsafe characters and potentially confusing MIME
header strings.
Parameters subject String to clean
Returns Cleaned string
static cleanText( value : string) : string
Cleans a multi-line string for use in an email. Removes unsafe characters and potentially
confusing MIME header strings.
Parameters value String to clean
Returns Cleaned string
Appendix
[ 428 ]
static isEmailAddress( email : string ) : boolean
Checks if email is a valid email address.
Parameters email Email to validate
Returns true if email is in a valid format
JFactory
static
Joomla! static factory class for accessing global objects and building new objects.
Pages:
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592