Jump to content

HTML email isn't being sent


Mos

Recommended Posts

I'm using ver.  4.4.3  and the when i attempt to send out html emails, they don't go out.  Text ones do, however.  I attempted to send them out as smtp, and the screen freezes for about 1 miniute before taking me to a blank screen. Anyone have a suggestion.

Link to comment
Share on other sites

Welcome Mos! Glad to see you made it to the forums.

There are two things I would like for you to do: edit the file /ini.inc.php, and add a new file.

In ini.inc.php, near the bottom, using a programmer's text editor:

Find:

$clean = new clean_data($data);

$clean->clean_data($_GET);
$clean->clean_data($_POST);
$clean->clean_data($_COOKIE);
$clean->clean_data($_REQUEST);

Add the following ABOVE that:

// Include a custom ini file, if it exists
if (file_exists(CC_ROOT_DIR.CC_DS.'ini-custom.inc.php')) {
    include CC_ROOT_DIR.CC_DS.'ini-custom.inc.php';
}

Using a programmer's text editor (not a word processor), please create a file called ini-custom.inc.php, and have as its contents:

<?php
# Custom initialization commands
# Filename: ini-custom.inc.php
# File location: main CubeCart folder

ini_set('memory_limit', '256M');
ini_set('max_execution_time', '60');
ini_set('error_log', 'error_log');
ini_set('log_errors', 'on');

?>

Place this file in CubeCart's main folder at your site.

Your hosting control panel's set of tools may have an editor available.

If the problem is with CubeCart, and you get the blank page, there should be a new file named error_log in the main folder.

The cause of the blank page should be logged in error_log.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...