No Email

Summary

When placing an order, the order shows up in your Shopp order menu, but your customer does not receive an email, nor does the shop owner. When attempting to send a message from a Shopp Order, the message is not received.

Troubleshooting

Server Configuration

Cause
This could come from several factors including misconfigured host, over taxed email server or SPAM filters. To determine if the cause is your hosting provider, first confirm that WordPress can send emails.

  • New user account notifications
  • Password recovery notifications
  • New comment notifications

If WordPress is successfully sending the above notifications, then the problem is not likely with the server.

Solution
Contact your hosting provider to find out what steps must be taken to send emails from php successfully on your site.

Bad Merchant Address

Cause
Some hosting providers do not permit sending an email that is address from a different domain name than your site’s domain name.

For instance: Your website address is superiorsprockets.com, but your merchant email address is set to johndoe@gmail.com in your wp-admin → Shopp → Settings page.

Solution
Many hosting providers will permit you to create email aliases that have a matching domain name to your site.

Example: jdoe@superiorsprockets.com could be setup to direct mail to johndoe@gmail.com. Contact your hosting provider to determine if this is possible.

If it is not possible, make-up a fake email address at your domain name, such as store@superiorsprockets.com. This will at least permit emails to be sent to your customers, if not to you. You may be able to create a Bcc: johndoe@gmail.com entry in the header of your order.php and notify.php email templates, to workaround this problem.

Invalid Email Templates

Causes
By default, Shopp comes with several template PHP files that are used to create the automated email messages you and your customers receive.

  • receipt.php
  • order.php
  • notify.php

If you have made modifications to any of these three files, your modifications could potentially be causing the email failure.

Line Endings
When you modify your files with your text editor in Windows, the line ending characters may be replaced with Carriage-Return/Line Feed characters (CRLF), replacing the original Line Feed ending (LF). If your text editor has a setting to control the line ending characters, set it to save only LF character line endings.

In addition, your FTP program may translate these line endings when you upload your modified template file to the server. If your FTP program has the option of uploading in Ascii (Text) mode or Binary mode, select Binary. This will ensure that your line endings are not translated when the file is uploaded.

Header Modification
For translated websites, often the header lines in your order.php and notify.php files will be improperly translated. These fields at the very top of your template, displayed as:

Content-type: text/html; charset=utf-8
From: [from]
To: [to]
Subject: [subject]

This header information should not be altered, unless you are hard-coding the From: field, or adding a Bcc: header. Do not translate these headers into your language.

Solution
Rename or delete your order.php, notify.php, and receipt.php template files located in your wp-content/themes/your-theme/shopp/ directory, and reinstall them from WordPress Admin Page → Shopp → Settings → Presentation.

See Also

No Email
  • 0.00 / 5 5

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar