Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sending Blank Emails


Emplehod

Recommended Posts

Posted

I have a Windows server and my ISP uses authentication so my emails wouldn't work. I installed the smtp-auth-update_2 from the contributions and it sends emails now, only the body of the emails are totally blank.

Posted
I have a Windows server and my ISP uses authentication so my emails wouldn't work. I installed the smtp-auth-update_2 from the contributions and it sends emails now, only the body of the emails are totally blank.

I figured it out myself so I 'll put it here in case it helps someone else.

 

The problem was that the modification had mistakenly placed code on the same line as a comment, like this:

 

 

// The body of the email $send_params['body'] = "$this->output";

 

Just use a carriage return at the "$send_params..." part like so:

 

// The body of the email

 

$send_params['body'] = "$this->output";

 

Now it works fine.

 

This applies to these two locations:

 

\catalog\admin\includes\classes\email.php

 

\catalog\includes\classes\email.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...