Lines Matching refs:header
34 $header = imap_fetchheader($imap_stream, $i);
35 echo "Return-Path header found: ";
36 var_dump(strpos($header, 'Return-Path: joe@example.com') !== false);
37 echo "To header found: ";
38 var_dump(strpos($header, 'To: "<bob@example.com>" <info@mail.local>') !== false);
39 echo "From header found: ";
40 var_dump(strpos($header, 'From: "<bob@example.com>" <joe@example.com>') !== false);
41 echo "Cc header found: ";
42 … var_dump(strpos($header, 'Cc: "Lastname, Firstname\\\\" <admin@mail.local>') !== false);
79 Return-Path header found: bool(true)
80 To header found: bool(true)
81 From header found: bool(true)
82 Cc header found: bool(true)
84 Return-Path header found: bool(true)
85 To header found: bool(true)
86 From header found: bool(true)
87 Cc header found: bool(true)
89 Return-Path header found: bool(true)
90 To header found: bool(true)
91 From header found: bool(true)
92 Cc header found: bool(true)