Sendmail problems -- with sending mail

Hello,

I am C. and I would like to send mail with Sendmail to my hotmail-account.
But this doesn't work, the mail always returns in the file:
/var/spool/mail/root.

Probably there is something wrong with my SmartHost.
I configured it like:
define ( 'SMART_HOST','smtp.direct-adsl.be')
--> probably this is wrong, because i don't know where i can find the smart host of my internet provider.

Thanks in advance.

greetings.

You can find the smarthost to use by looking for your provider's mail handler. They will usually just tell you if you ask (it's the same as the server to use for sending mail when configuring a regular mail client like MS Outlook).
You can, alternatively, try the mail handler in their MX record:

nslookup -type=MX your.domain.name

---------- Post updated at 04:59 PM ---------- Previous update was at 04:57 PM ----------

You can test a given address to see if it might be a good smarthost to use:

telnet the.smarthost.you.want.to.use 25

And see if you get a message talking about mail.