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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:40:34+00:00 2026-06-16T07:40:34+00:00

I am asking this question just because I am curious and probably it is

  • 0

I am asking this question just because I am curious and probably it is a really dumb and very well known thing but I couldn’t find an answer online:

Today I was helping a friend with his website. He asked me to prepare an html e-mail template that he can send via his website (e.g. http://www.myfriendswebsite.com) with phpmailer. I prepared it and tested in my domain/server by putting his e-mail address (e.g. info@myfriend.com) in “from” part. I sent an e-mail to my personal e-mail address (e.g. myname@hotmail.com) via my website (e.g. http://www.mywebsite.com) and when I received the e-mail I realized I don’t even see my domain’s name or e-mail address (e.g. info@mydomain.com); instead I see my friend’s e-mail address (info@myfriend.com). When I hit “reply” it replies to my friend’s address; it looks like it has been sent from my friend’s website directly. Of course; if I pull up the raw source I see the details of where I received the e-mail but what prevents someone else using my e-mail address and spam people? I am pretty sure this is another way of spamming and hacking people’s accounts but is there a way to prevent that? It scared me a little and I didn’t know where else to turn but Stackoverflow 🙂

  • 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-16T07:40:35+00:00Added an answer on June 16, 2026 at 7:40 am

    For one, you should not send emails whereby the From: is populated by user supplied data; use the Reply-To: header for such purposes.

    The reason you shouldn’t do that is because inbox services, such as Google Mail, Yahoo, etc. use the Sender Policy Framework (SPF) to determine whether the mail server that sent the message is authorized to send on a domain’s behalf; you would risk messages sent from your server to get recognized as spam and not delivered.

    So, to answer your question, even though it’s possible to masquerade anyone’s email address, it’s getting increasingly more difficult to get those messages delivered due to improving spam filters and black lists, and doing so can even get your mail server blacklisted.

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

Sidebar

Related Questions

I feel really dumb for asking this question, but here it goes. I have
I searched before asking this question. I didn't find an answer probably because I
i'm sorry for asking this question because i think it has a really simple
I'm just asking this question, because I can't find any info on the internet
[edit]: I'm terribly sorry for my timing on asking this question. I've just discovered
I hope this question is not 'controversial' - I'm just basically asking - has
I am asking this question here because it is my understanding that this is
I'm asking this question because I have gone through the tutorial posted here: Preventing
I'm asking this question because I finally solved a problem that I have been
The reason for asking this question is because I want to be able to

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.