Jump to content

[SOLVED] Need Loop


ballouta

Recommended Posts

Hello

 

i have this string value

$string = "TO:<[email protected]>:

    host mx2.hotmail.com [65.54.245.40]: 550 Requested action not

 

taken:

    mailbox unavailable

  [email protected]

    SMTP error from remote mail server after RCPT

 

TO:<[email protected]>:

    host mx2.hotmail.com [65.54.245.40]: 550 Requested action not

 

taken:

    mailbox unavailable

  [email protected]

    SMTP error from remote mail server after RCPT

 

TO:<[email protected]>:

    host mx2.hotmail.com [65.54.245.40]: 550 Requested action not

";

 

And I have this preg_match (which works correctly)

 

$str = preg_match('#\b.+(@|(\[at\])).+\b#', $message, $match);

 

How i can loop and print all resluts?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/120081-solved-need-loop/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.