I want to change from sendmail to SMTP. I have entered all the settings and checked that I have from and reply to addresses. I can receive mail but I cant send.

I am using 4.2.0d

Sendmail was working previously but I now want to use SMTP to stop campaign mail being classified as spam.