Hi, i need help with script for sending emails via port 587. I can do this easily using port 25 but get an authentication error when I try using 587. Think it may be something to do with tls.

Also have no problem using outlook to do this but need to automate it using ms access.

Any help would be useful