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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:47:31+00:00 2026-06-04T19:47:31+00:00

I have developed a website hosted on 1and1 which has a webform for submitting

  • 0

I have developed a website hosted on 1and1 which has a webform for submitting contact information.

The client wants to retain his current GMAIL address for receiving the emails.

Can I use his email address in the php mailer settings? My understanding is that 1and1 will reject the website generated emails unless the from address is the same as his domain name. I am new to this…

  • 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-04T19:47:32+00:00Added an answer on June 4, 2026 at 7:47 pm

    You can add a FROM: someone@example.com header in the PHP mail() function, which will show up on the recipient mail client as being from someone at someone@example.com. Some mail servers may tag it as spam if they identify the email as not coming from a mail server which is authorised to send emails for that domain.

    Additionally, 1and1 may drop emails from being sent from domains other than those hosted by them/authorised by them. It is probably worth contacting them to clarify this.

    Something like the following should do what you want, provided there are no blocks etc. But as Constantine says above, it may go into a spam folder etc.

    mail("recipient@domain.com", "Subject here...", "Message Here", "From: someone@example.com");
    

    You could always look into setting a Reply-To: header (similar to the From: above if you need to send it from a domain hosted by 1and1.

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

Sidebar

Related Questions

I have a website developed in ASP.NET and VB.NET which has a place for
I have developed an IIS website that has worked perfectly fine when hosted with
i have developed my website in VS2010. is there any tool freely available which
Basically my question is i have a website which was developed around 3 years
I have developed a website using Asp.Net MVC which uses a SQL CE database
I have developed a website using visual studio 2008. Which uses active index to
We have developed a website, which was wroking fine until some days back, but
i have developed a website and hosted it.. in the local system it is
I have a asp.net website developed in VS 2010 and hosted on godaddy asp.net
I have developed a website that now has to be cloned for several clients.

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.