Forum Moderators: open
On Error Resume Next
Mail.Send
If Err <> 0 Then ....
[edited by: jatar_k at 4:53 pm (utc) on July 23, 2005]
[edit reason] examplified email [/edit]
More and more hosts are requiring SMTP authentication in order to send email. This could be the cause of your mail getting rejected.
-Set SMTP authentication(use same username and pw as your mail account) in your mail client
or
-Hit send/receive before sending your email. Some hosts will allow you to send email only within a certain timeframe after authenticating.
If these things don't get you any farther, you'll need to contact your host to see what's up.
-Mark