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 1042617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:32:11+00:00 2026-05-16T15:32:11+00:00

I have a website, example.com hosted at godaddy. I was just messing around with

  • 0

I have a website, example.com hosted at godaddy. I was just messing around with PHP’s mail function and uploaded the following to my website at example.com:

mail( "someone@yahoo.com", "test", "test message", "From: someone@gmail.com" );

Why does this work? I mean, it shouldn’t, right? The “From” address domain isn’t “@example.com”. Yet, when I check my email at someone@yahoo.com, I get the message from someone@gmail.com… How is it that I’m able to (potentially) send an email from anyone’s email account without their password?

  • 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-05-16T15:32:12+00:00Added an answer on May 16, 2026 at 3:32 pm

    This is possible, as in, you can put into the E-Mail headers whatever you want, including a totally arbitrary sender address. You are right, though, security-conscious providers will usually configure their outgoing mail services in a way that allows only sender addresses residing on the server the mail gets sent from; but they don’t have to.

    Also, on the receiving end, messages where the sender address belongs to a domain that is not associated with the sending mail server very often end up in the Spam folder.

    It’s (as you already know) very bad practice to make use of this. As to whether the provider is at fault – it could be anything from a sign of trust (if you are the only user on the server, or one of select few clients) to carelessness. You may have reason to complain because if one of your web hosting neighbours misuses this to send spam, the server’s IP address might get blacklisted, causing any E-Mail coming from it (legit or not) to get caught in spam filters.

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

Sidebar

Related Questions

I have an website with URL`s like example.com/index.php?p=home An this script $(document).ready(function() { var
Background: Suppose I have a website that is hosted on http://www.example.com and the site
If I have 2 domain names that point to same website (for example: microsoft.com
I have a website that I've just uploaded onto the Internet. When I browse
Say I have a website www.example.com . Under the website directory there is a
I have a website let's say www.example.com and I have a subdomain something.example.com Both
basically i have a website i.e www.example.com when i enter www.example.com it deosnt work
I have two websites, let's say they're example.com and anotherexample.net . On anotherexample.net/page.html ,
I recently purchased a security certificate for a website valid for www.example.com but not
I have a web site that is a customer to customer (C2C) service. Example,

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.