[REBOL] Problems sending email (IP only)
From: tim-johnsons:web at: 31-May-2007 14:09
I'm using kubuntu 7.04 (feisty fawn, amd 64)
I *am* able to send and receive email without problem using kmail
with either my internal mail server (localhost) or my ISPs smtp server.
But look here - here's what happens with rebol:
>> set-net[tim-johnsons-web.com mail.mtaonline.net]
>> send tim-johnsons-web.com "hello from rebol"
** Access Error: Cannot connect to mail.mtaonline.net
** Where: open-proto
** Near: smtp-port: open [scheme: 'esmtp]
either only
;; Now I use the IP address for the smtp server:
>> set-net[tim-johnsons-web.com 216.152.176.5]
>> send tim-johnsons-web.com "hello from rebol" ;; works!
The same happens if I use "localhost" vs. 127.0.0.1
Does anyone have any ideas why this happens?
Don't have this problem on my slackware 10.0 box.
Also, I don't have this problem with python scripts.
python's smptlib module happily sends using server names.
thanks
tim