E-mail delivery error with CMS or online shop

If you have a problem with ContentManagmentSystems or Onlineshops when sending e-mails from the CMS or Shop

it is possible that the Sendmail output configuration is set incorrectly.

 

The command -fname (uses the name of the ''from'' person) is mostly used here.

 

This must then be entered manually, in a file of the ContentManagmentSystem or the online shop in the 

sendmail is included, you can change it.

 

With ini_get() you can find out the current settings from php.ini and recognize that

a -f[USER] has already been set there. Therefore, it is not necessary that you set the

with a script or try to overwrite it.

 

A description of the ini_get function can be found on php.net.

 

$return_path = ini_get("sendmail_path") ;

    

# Mail-Function => -f USER Here is behind -f the corresponding user

 

With the following query you can check the sendmail_path to see if the value "-f" is already set.

 

For example:

 

  

if(preg_match("@\-f@",$return_path) == true){

 

        echo "is already in";

 

}else{

        echo "is not in";

}

Important note

The name of the file in which the mail function must be changed is different for content management systems.

Was this article helpful?

Thank you very much for your review!

Thank you very much for your review!

You have already rated this item.

Thank you for your time.

Do you require assistance?

Support

Telephone support

Domains worldwide

Europe

  • .at
  • .ch
  • .de
  • .eu
  • .fr
  • .it
  • .nl
  • .uk
  • .es
  • .pl
  • .me
  • .li

Asia

  • .ae
  • .cn
  • .hk
  • .in
  • .io
  • .jp
  • .my
  • .la
  • .sg
  • .tw
  • .ps

Generic

  • .biz
  • .com
  • .info
  • .mobi
  • .net
  • .org
  • .travel
  • .xxx
  • .pro
  • .jobs
  • .name
  • .aero

New domain extensions

  • .online
  • .sale
  • .reise
  • .hotel
  • .xyz
  • .ruhr
  • .restaurant
  • .coupon
  • .video
  • .bayern
  • .berlin
  • .hamburg
  • .koeln
  • .london
  • .reisen
  • .saarland
  • .wien
  • .bio
  • .business
  • .events
  • .haus
  • .immo
  • .immobilien
  • .international
  • .versicherung

Companies that trust us

Other products you might be interested in

Webhosting
Concentrate fully on your project! Performance and security included.
Rankingoach
Optimize your Web site and achieve top rankings.
Website optimization
SSL Certificates
For your site, more safety protect yourself from hacker attacks.
Quickly protect