Hello Ceiboss,
Here is how you can enable SSL in Magento Commerce:
Log into backend
Click on System > COnfiguration
Click on Web on the left menu
Scroll down and find the SECURE section
Select YES for the question: Use Secure URLs in Frontend
I hope this helps...
About the SMTP problem... Unfortunately, magento commerce does not support this out of the box. Although I've never tried, the following may help. Make sure to backup everything before you try:
Open /app/code/core/Mage/Core/Model/Email/Template.php and add the following to the send() method
Code:
public function send($email, $name=null, array $variables = array())
{
if(!$this->isValidForSend()) {
return false;
}
$config = array(
'ssl' => 'tls', //optional
'port' => Mage::getStoreConfig('system/smtp/port'), //optional - default 25
'auth' => 'login',
'username' => 'username@somesite.com',
'password' => 'secret'
);
$transport = new Zend_Mail_Transport_Smtp(Mage::getStoreConfig('system/smtp/host'), $config);
........................
try {
$mail->send($transport); //add $transport object as parameter
$this->_mail = null;
}
catch (Exception $e) {
return false;
}
return true;
}