use smtp from other provider

Hi firends I want to use the smtp from my mantainer how it’s possible ?
When I use my website to send email the mail don’t go out.

Whilst this is for setting up to use sendgrid relay service,i imagine the same process works for whomever you use…the part you are interested in is the postfix configuration (scroll down for this and substitute your own webhost server and relay host information)

Hello, I’m new user here, so many thanks for your help and suggestion about this problem, I was also trying to find some good hooks to cope with problem, but your suggestion really helped me.