Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9248239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:54:13+00:00 2026-06-18T09:54:13+00:00

I have set a continuous project for my class which is available online for

  • 0

I have set a continuous project for my class which is available online for students and parents can interact with. So I ask students to email their project progress everyday. I use imap to get the info and display it online.

I understand email addresses can be spoofed. How can I find out if the mail really did come from yahoo, gmail or hotmail. Which imap function could i use. i tried this

imap_headerinfo($inbox, $emails[$x])

But It does not give me ip address of the servers it passed through.

I appreciate any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:54:13+00:00Added an answer on June 18, 2026 at 9:54 am
    $mailinfo = imap_headerinfo($inbox, $emails[$x]);
    print_r($mailinfo->from);
    

    Should give you:
    personal, adl, mailbox, and host

    Any of the following should help you $mailinfo->…:
    (For a full reference, check http://php.net/manual/en/function.imap-headerinfo.php)

    ->to - an array of objects from the To: line, with the following properties: personal, adl, mailbox, and host

    ->from - an array of objects from the From: line, with the following properties: personal, adl, mailbox, and host

    ->ccaddress - full cc: line, up to 1024 characters

    ->cc - an array of objects from the Cc: line, with the following properties: personal, adl, mailbox, and host

    ->bccaddress - full bcc: line, up to 1024 characters

    ->bcc - an array of objects from the Bcc: line, with the following properties: personal, adl, mailbox, and host

    ->reply_toaddress - full Reply-To: line, up to 1024 characters

    ->reply_to - an array of objects from the Reply-To: line, with the following properties: personal, adl, mailbox, and host

    ->senderaddress - full sender: line, up to 1024 characters

    ->sender - an array of objects from the Sender: line, with the following properties: personal, adl, mailbox, and host

    ->return_pathaddress - full Return-Path: line, up to 1024 characters

    ->return_path - an array of objects from the Return-Path: line, with the following properties: personal, adl, mailbox, and host

    Why hostname is important:
    enter image description here

    (Sorry for the shaky image, sitting on a train)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, I have a project and a Continuous Integration solution which I have no
In my project we have a set of integration test fixtures which are typically
I have a TeamCity continuous build process setup for a personal GitHub project which
I have a master Ivy project that others include in their project via a
I have a war packaging Maven project, in which I have a Java properties
I have an 'Account' area within my mvc3 project. It has an AreaRegistration class
I have tried using Jenkins with my Android project which I'm using Maven for.
We have CruiseControl.NET set up to do continuous integration of a number of our
I have set up continuous integration for an ASP .NET MVC application on Team
I have a console app that executes a class method (in a different project).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.