Libcurl error on host move sending emails

I’ve recently moved a client’s site (professional edition, v3 latest) from my test server to their production server. All went fine until they tried to make an order. They get to the end of step 4 where they submit the order and it then takes a good few minutes to get the order confirmation.



Looking at the logs, I’m getting errors similar to that below which I reckon is due to the // after the domain name which is causing a timeout on libcurl which I assume is being used to collect the images etc.



[color=#000000][font=Tahoma, Arial, Verdana,]URL: http://www.creditapproved.net//skins/mobishop_green/mail/images/calogoonly.jpg[/font][/color]

[color=#000000][font=Tahoma, Arial, Verdana,]Request: array ( )[/font][/color]

[color=#000000][font=Tahoma, Arial, Verdana,]Response: HTTPS: libcurl error(7): couldn’t connect to host[/font][/color]

[color=#000000][font=Tahoma, Arial, Verdana,] [/font][/color]

Does anyone have any idea why this is happening? I’ve been through all the posts I can find nothing to suggest how to fix/bypass this.



The email logo has been updated in the normal way via design\logos in the admin panel.



Any suggestions more than welcomed!!

Is cURL bundled with Apache on their server? In Administration>Database>PHP Information



You should be seeing cURL: Enabled, a CS-Cart requirement.



If cURL is enabled, in the root of the site, in config.local.php, what have you got set for http_host, like so:


"$config['http_host'] = 'www.domain.com';"



None of my stores have a trailing slash, perhaps yours does which may be causing the problem?



PS. Why don't you install the SEO addon?