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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:59:21+00:00 2026-06-18T16:59:21+00:00

I have a simple Contact form, with ‘Send’ button’, that send mail from an

  • 0

I have a simple Contact form, with ‘Send’ button’, that send mail from an email to an email.

In the local host with wamp server i have done it and it’s working.

I have used ‘fake email program’ to send it, I entered the from email in the ‘sendmail.ini’ file.

How can i achieve the same goal using plesk service as a server, where can I enter the from email address?

It sounds like a simple task but I have just spent over an hour looking for it.

i have an contact.html form with php for serer code, what i am trying to do is to send the contact.html form details that the user has filled to an external email, In local host i managed to do it but know when i uploaded to server I am having trouble to locate the ‘from email address field’ (where i can setup the email address to emails that are going out from the site).

Suppose you own a site and some user fill the ‘contact us’ form, You as the site owner will receive an email from your site with the user details that the user filled in the contact form.

This code is from my php file @mail($email_to, $email_subject, $email_message, $headers);

and by using ‘wamp server’ on ‘my local computer’ and external fake email sender program,
I filled up this file with my ’email from address’ (sendmail.ini) with this lines:
‘smtp_server=smtp.gmail.com’, ‘smtp_port=25’ and ‘authentication’ details: username= my_name@gmail.com And password=’mypassword’ for that email.

This is what i am looking for in ‘plesk’ server desk The location of that ini file where i can enter the from address, smtp_port and authentication details.

  • 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-18T16:59:23+00:00Added an answer on June 18, 2026 at 4:59 pm

    This is how I do it with PHP and the Mail() function:

    $headers  = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
    $headers .= 'Content-Transfer-Encoding: 8bit' . "\r\n";
    $headers .= 'From: MyName <' . $from . '>' . "\r\n";
    mail($to, $subject, $html, $headers);
    
    • $from = from email
    • $to = to email
    • $html = email body
    • $subject = email subject
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a simple contact us form and i need to send an email
I have a simple jQuery script that slides a contact form up from the
I have a simple contact form on my website that sends an email to
I have a simple contact form with Subject and Message that I want to
I have a simple contact form on a site. There is an email account
I have a simple contact form that works in every browser, except IE. It
I have a simple contact form on a website that has 2 text fields,
I have a simple PHP contact form on my website that I'm building. At
I have a simple contact form (name, email, subject, message) which sends messages to
I am new to PHP, but, I have a simple contact form that is

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.