Jump to content

problems sending emails to customers from the control panel.


Recommended Posts

I have problems sending emails to customers from the control panel. do not send the pictures, just text. send.inc.php In this file everything is standard, and also global.in.php this standard.

repeats www.mysite.com (storeURL) in the code which is wrong but do not fix it.

and emails source code

<p><img alt="" src="http://www.mysite.com/imageshttp://www.mysite.com/uploadshttp://www.mysite.com/image_prod1.jpg" width="390" height="341">

</p><p>text blablabla product 1

</p><p><img alt="" src="http://www.mysite.com/imageshttp://www.mysite.com/uploadshttp://www.mysite.com/pruebahttp://www.mysite.com/image_prod2.jpg" width="880" height="800">

</p><p>text blablabla product 2</p>v

these are my files


// start email

require "classes".CC_DS."htmlMimeMail".CC_DS."htmlMimeMail.php";


$html		= stripslashes($_POST['FCKeditor']);

$subject	= stripslashes($_POST['subject']);

$fromName	= $_POST['fromName'];

$fromEmail	= $_POST['fromEmail'];

//$returnPath = $_POST['returnPath'];

$htmlcodes	= array("<br />", "<p>", "</p>");

$textcodes	= array("\r\n", "", "\r\n\r\n");

$text		= str_replace($htmlcodes, $textcodes, $html);

$text		= strip_tags($text);

$text		= html_entity_decode_utf8($text);

$html 		= str_replace($GLOBALS['rootRel'],$glob['storeURL']."/",$html);




$glob['adminFile'] = 'admin.php';

$glob['adminFolder'] = 'admin';

$glob['dbdatabase'] = 'user_cubecar';

$glob['dbhost'] = 'localhost';

$glob['dbpassword'] = '********';

$glob['dbprefix'] = '';

$glob['dbusername'] = 'user_cubecar';

$glob['encoder'] = 'ioncube';

$glob['installed'] = '1';

$glob['license_key'] = '';

$glob['rootRel'] = '/';

$glob['storeURL'] = 'http://www.mysite.com.ar';


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.

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...