我知道本地部分(@符号之前)的电子邮件地址可以包含+。并且+之后的所有内容都可以被电子邮件系统用于过滤和其他用途。但是电子邮件本身是按照+符号前的部分传递的。 实施例: [email protected] Delivered to larry mailbox on foo.com
[email protected] Delivered to jim mailbox on foo.com
这个PHP函数工作得很好: if (preg_match ("/<(\[email protected]\S+\w)>.*\n?.*55[0-9]/i",$body,$match)) {
echo "found!";
}
在 This message was created automatically by mail delivery software.
A message that