• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Setup PHP email using Parallels Plesk Panel

RobCabrera

New Pleskian
Hello all,

I have a contact us page on my site and I am trying to send an email to myself with the information entered in the contact-us form. I was told that I have to specify the following options before php can generate an email.
sendmail_path = /usr/sbin/sendmail -t
sendmail_from = [email protected]

My question is: how do I edit such options? I went to the panel > domains > my domain > php options and all the way at the bottom there is a text field where you can enter additional configuration directives but when I entered the above mentioned and i do restart my server, nothing happens.

Any guidance will be really appreciated. Thank you all.
 
there is a text field where you can enter additional configuration directives but when I entered the above mentioned and i do restart my server, nothing happens.

What would you expect to happen? Unless you try to send mail, nothing will be affected.

Technically, this is the right place for your custom PHP configuration, so you are correct in that sense. Practically, though, you are not required to set those parameters. You can just alter mail() function arguments a bit. For example, don't forget to include From: header into $additional_headers or use $additional_parameters to pass the sender address via command line arguments.
 
Thank you for answering.

I am expecting to receive an email every time I submit my contact us form. I have added the options I mentioned before but still it seems like the mail function is not triggered. I have added the from: header. I do not know what else to do.. :(
 
Back
Top