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

  • SEARCH
  • Home
  • 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 8365871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:46:05+00:00 2026-06-09T12:46:05+00:00

When a user sends some enquiry through a company’s website, he also enters email,

  • 0

When a user sends some enquiry through a company’s website, he also enters email,

now is there a way where the email when received to the enquiry department will reflect as :

From : user@xyz.com

to : enquiry@myCompany.com

Subject: enquiry

Some Text

where “user@xyz.com” is the email entered by user in the enquiry form.

the same can be seen in some e-card website, where you send ecard to your friends email and they receive it with your address in the “from” part.

how can this be achieved?

————EDIT————-
Example:

Front-End :

To send ecard to your friend:
your email address : abc@xyz.com
your friends email address: lmn@pqr.com

and then friend receives an email as:

from: abc@xyz.com via jkh.hk.dn.net
to: lmn@pqr.com
subject: ecard
ecard email

as you can see though the email is send the e-card website, the from address reflect the email address entered by user.

So need some help on how this can be achieved? and any example would be more helpful…

  • 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-09T12:46:06+00:00Added an answer on June 9, 2026 at 12:46 pm

    You might have more success using the “reply-to” and “sender” fields, which can be different to the from address, and most mail clients should honour – and has less “spammy” connotations:

    So your form has:

    From address: user@abc.com
    To address: friend@xyz.com
    

    Then when you generate the email you send it as:

    from: website@example.com // Your domain name, that is allowed to send emails
    to: friend@xyz.com
    reply-to: user@abc.com
    

    This way the receiving mail server can see you’re being honest about where the email is coming from, and if they check any SPF records for the from domain they should match with your server. However when the user hits “Reply” the email should go to the Reply-to address instead.

    If you really want to set the user’s email as the from field then you should set the system email address as the sender:

    from: user@abc.com
    sender: website@example.com
    to: friend@xyz.com
    reply-to: user@abc.com
    

    This will result in the email appearing as “From website@example.com on behalf of user@abc.com“.

    See also the following Stack Overflow question:

    Should I use the Reply-To header when sending emails as a service to others?

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

Sidebar

Related Questions

is there any way that when i user send an email to admin@xx.com the
Our website sends e-mails to the e-mail address which a user enters on our
For some odd reason if a user tries to send an email to themselves,
I have some activity were user goes through it and finally send the selected
I currently have some code that delibratly throws an exception if the user sends
Is there any way to make my app send to me some additional app
Is there any way to run my app when the user taps on an
I'm using Android 1.6 . In my office there is some application which sends
I am writing an android application which uses C2DM. When a user sends some
How to receive broadcast when a user sends SMS from his Android phone? I

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.