Possible problems after migration to mini_sendmail on SiteGround servers

Siteground is upgrading all of its servers from a standard Apache installation to a chrooted Apache installation. This allows much better performance and tightened security.

This transition requires migration from the standard sendmail to mini_sendmail which is better compliant with the new Apache configuration. The new mini_sendmail is very fast and perfectly optmized for the average user. It is compatible with the standard sendmail and can be invoked the same way.

However, it has strict requirements for the email fields. A common problem is to reject mails when the 'to' and 'from' fields contain anything different than emails. For example: 'My test' <test@test.com>. Instead the 'to' field should contain only 'test@test.com'.

This is a known issue in Oscommerce and CreLoaded for example. The code which causes the problem is in the file includes/classes/email.php. There in the function 'send' find the following code:

$to = (($to_name != '') ? '"' . $to_name . '" <' . $to_addr . '>' : $to_addr);

You have to substitute it with:

$to = ($to_addr);

Please make sure that your applications' code is complying with the above requirement in order to use mini_sendmail.

Setting up your email is easy when you have the right host by your side. If you need a reliable partner to help you resolve email issues and provide expert support, check out our email hosting services.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Do I need a valid email account to use sendmail?

If you want to use sendmail with your scripts and applications, you need to configure it to work...

How to Configure Google Mail With Your SiteGround Domain

If you want to use Google Mail with your email accounts, hosted on SiteGround, you can use the...

How to disable IDLE processes generated by mail clients

The IDLE function (also known as IMAP push) is employed by almost every mail client. The idea is...

How to add image signature to your RoundCube Webmail Client

In most cases, it is preferable to add your signature in a local mail client such as Mozilla...

How to get a GMail Account

If you want to create an email with Google's GMail service, you need to start from this page. On...