Sidebar

en:objects:mail:pop3:get_message_by_from_via_pop3

get_message_by_from_via_pop3

get_message_by_from_via_pop3($from,$exactly=false,$number=0); - get a message with the specified sender via POP3

The function accepts parameters as input:

  • $from – sender
  • $exactly – exact match of the sender

    After testing, the function returns the result of its work to the script :
  • message – message (type XHEMailMessage) with the following fields:
      • from - from
      • subject - subject of the message
      • date - date
      • body - message text
    If there is no such message, the fields will be empty

    PHP example:

     

    Python example:

     

    C# example:

     

    Java Script example:

     
  • en/objects/mail/pop3/get_message_by_from_via_pop3.txt · Last modified: 2026/08/05 22:46 (external edit)