[REBOL] send email with authorization
From: manuscriptum::gmail::com at: 3-Aug-2006 12:59
I need help,
I can't adjust dispatch of mail from my rebol-script!
I need advice. I'm confused.
this script:
----------------------------------
set-net
[
intofocus-yandex.ru
smtp.yandex.ru
pop.yandex.ru
none none none
intofocus
flatout
]
header: make system/standard/email [
To: [ copywriter-mail.ru]
From: [ intofocus-yandex.ru]
Subject: "Hello, Max"
]
send/header copywriter-mail.ru trim {Congratulations, Maxim Pilipchuk!} header
----------------------------------
it shows terminal during connecting:
----------------------------------
Net-log: ["Opening" "tcp" "for" "esmtp"]
Net-log: [none "220"]
Net-log: {220 Yandex ESMTP (NO UCE)(NO UBE) server ready at Thu, 3 Aug
2006 11:25:22 +0400}
Net-log: [["HELO" system/network/host] "250"]
Net-log: {250 smtp2.yandex.ru expected "HELO n3-46.adsl.co.ru"}
Net-log: ["AUTH CRAM-MD5" "334"]
Net-log: ["WARNING! Using plain authentication."]
Net-log: ["AUTH PLAIN aW50b2ZvY3VzAGludG9mb2N1cwBmbGF0b3V0"
235
]
** User Error: Server error: tcp 504 5.7.1 Hello [82.142.182.46], Only
'AUTH LOGIN' supported
..
** Near: smtp-port: open [scheme: 'esmtp]
either only