Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Help! Send email with autorization
Pages: [1] Print
Author Topic: Help! Send email with autorization  (Read 294 times)
copywriter
Newbie
*
Offline Offline

Posts: 2


View Profile
Help! Send email with autorization
« on: August 03, 2006, 03:51:35 AM »

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
Logged
btiffin
Jr. Member
**
Offline Offline

Posts: 58


View Profile
Re: Help! Send email with autorization
« Reply #1 on: September 21, 2006, 07:16:05 PM »

Hi,

   I got send to work with esmtp on an authorized server by using the library script patch-emstp-net.r

http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=patch-esmtp-net.r

I load this script right out of user.r in the rebol view-root dir.

I'm using Win/XP and REBOL/View 1.3.2.3.1 5-Dec-2005 Core 2.6.3

(Actually I went through this to get Phil's most execellent readmail to work)

http://www.upnaway.com/~philb/philip/pbmail/readmail.html

I had to tweak a few things.  He has code in there to patch send.  I just changed the calls to his mail-send to send (and had to remove the from: header field he loads as it caused an Invalid Command in the esmtp protocol handler.

btiffin
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Help! Send email with autorization
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 28, 2008, 08:43:08 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2231 Posts in 579 Topics by 1733 Members
Latest Member: tea lover gift basket

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc