SilverCart\Forms\CustomRequiredFields::email_strip_comments
Taken from "https://github.com/iamcal/rfc822".
Removes comments from an email.
- Author: Cal Henderson <cal@iamcal.com>
Signature
private function email_strip_comments(string
$comment,
string
$email,
[string
$replace = ''] )
Parameters
$comment
— string- The comment
$email
— string- The email
$replace
— string- The replace string
Returns
- string