Cant send mail from script to my server

I have reinstall my server nowe and I cant send enny email from the script off my portal nowe.
My mail server working and I can send and recived mail to my outlook
but when I try to send from my portal I cant get enny email.
And I olso have try whit some different script and I dont get enny mail.
I have lok into my service and send mail is running so plz howe can I get this to work ?????