Smtp Configuration

Hi,

can i set my cs-cart to use a custom smtp for sending newsletter and another for the regular emails?

Thanks

Hi there,

You can check : http://forum.cs-cart.com/topic/12355-using-smtp-settings-for-google-apps-email/

also: http://kb.cs-cart.com/gmail

TY

Hi himanshudangwa,

thanks for reply, i've already enabled smtp on cs-cart email settings but this smtp is used for all cs-cart emails, i would use smtp1 for newsletter email and smtp2 for regular emails (order, notice etc...).

Is possible?

Hi himanshudangwa,

thanks for reply, i've already enabled smtp on cs-cart email settings but this smtp is used for all cs-cart emails, i would use smtp1 for newsletter email and smtp2 for regular emails (order, notice etc...).

Is possible?

I am afraid, it is not possible out of the box

You could do it using the send_mail_pre hook and open a new instance of the Mailer class that was configured to use a different SMTP server (different instance of the Smtp class). The $Mailer can be passed by reference so it would be used within the sendMail() method.

Thanks