I am trying to send from different email accounts in a script by using the
following set-net command:
(with example info)

user: "username"
service: "mail.server.edu"
set-net [ (to-url rejoin [user "@" service]) (to-url service) none none none
none]

No errors here, even running in REBOL, but I get these errors when I then
try to send:

>> send [EMAIL PROTECTED] "This is a test."
connecting to: mail.server.edu
** Access Error: Invalid port spec: mail.server.edu.
** Where: smtp-port: open [scheme: 'smtp]
if email?
>>

If I enter the service (only the second parameter) manually (type it in the
set-net command), it all works fine!
Any ideas?

Reply via email to