最近,我向我自己的旧电子邮件数据库发送了通讯。 经过几年后,这些电子邮件中约有30%不活跃,我收到数千份邮件收发失败信息。
All these failure notifications are stored on my server as text-files and they are replies containing the text I have sent to my subscribers. Each email has in its text the user s id. This id is preceded by a bit of common text, something like
<a href="abc.com?id=123321"></a>
页: 1 我想从我收到的每份失败报告中提取。
First I started to do that manually and collect everything one by one. After 500 emails my eyes felt on the floor and I m sure there s a solution with php and some functions. I was thinking of putting all of them into one big file and to find a preg_match way to do it or to try something with regex expressions.
你们如何处理这样一个问题,我应寻找解决办法?