Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Cant send mail - smtp authentication failure -??
Pages: [1] Print
Author Topic: Cant send mail - smtp authentication failure -??  (Read 439 times)
rebolant2
Newbie
*
Offline Offline

Posts: 3


View Profile
Cant send mail - smtp authentication failure -??
« on: September 24, 2006, 12:35:44 PM »

I have home access to Internet through Windows XP, a local LAN with fixed IP assigned and mail client -Thunderbird- works fine all round.
My (free) mail server has smtp and pop: 'smtp.gawab.com' and 'pop.gawab.com'.
I setup my user.r file according to setup.r instructions.
And I have free access to Internet with Rebol and all other programs.
But still, I couldn't send a single email - error message:

"Error sending email. Check fields and check your network setup. make object! [ code: 800 type: 'user id: 'message arg1: {Server error: tcp 553 sorry, you have to authenticate first to be able to use this smtp server, please configure your mail client ( outlook ) to authenticate for outgoing mail server (#5.7.1)} arg2: none arg3: none near: [insert smtp-port reduce [from reduce [addr] message]] where: none ]"

What's happening ?
You mean that it only works if you install Outlook ?
To authenticate smtp in Thunderbird means giving name and password -ok ?
Why can't I anthenticate in Rebol ?  Why Rebol does not ask for my password ?

Any ideas ?

Antonio
antonio.365-at-hotmail-dot-com

Logged
btiffin
Jr. Member
**
Offline Offline

Posts: 58


View Profile
Re: Cant send mail - smtp authentication failure -??
« Reply #1 on: September 24, 2006, 09:10:01 PM »

Hi,

   Yeah.  There is a patch that worked for me.

do http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=patch-esmtp-net.r

This fixes the send function for me on the authenticated smtp servers at Rogers.com.  Thanks to Cesar Chavez.

Hope it helps.

Logged
rebolant2
Newbie
*
Offline Offline

Posts: 3


View Profile
Re: Cant send mail - smtp authentication failure -??
« Reply #2 on: September 24, 2006, 10:17:59 PM »

Hi thanks,

It worked for you and your server -but not for me with mine.

Too many variants -install patch (where?), do esmtp, do esend, then send ?
Strange that this is issue is so hard to overcome.
Unfortunately, Rebol is quite useless to me without mail.

Too bad- I'll have a look over here in some weeks.

Thanks anyway ;-)
Logged
Gabriele
Full Member
***
Offline Offline

Posts: 182


View Profile WWW
Re: Cant send mail - smtp authentication failure -??
« Reply #3 on: September 25, 2006, 03:27:23 AM »

Code:
>> help set-net
USAGE:
    SET-NET settings

DESCRIPTION:
     Network setup.  All values after default are optional.  Words OK for server names.
     SET-NET is a function value.

ARGUMENTS:
     settings -- [email-addr default-server pop-server proxy-server proxy-port-id proxy-type esmtp-user esmtp-pass] (Type: block)

Notice the (optional) esmtp-user and esmtp-pass at the end.
Logged
rebolant2
Newbie
*
Offline Offline

Posts: 3


View Profile
Re: Cant send mail - smtp authentication failure -??
« Reply #4 on: September 25, 2006, 09:39:42 AM »

Hi this worked !

Just modified the set-net part of the user.r file - is this correct ?
No patches. No 'esmtp' nor 'esend'. I tested it with send function from the console, and with the emailer.r script - and it worked !

REBOL [
    Title: "User Preferences"
    Date: 25-Sep-2006/0:48:03+2:00
]
set-net
[myAddress
"my-Smtp-Server"
"my-Pop-Server"
none none none
"myAddress=myUserName"
"mypassword"]

if (not none? system/view) [
    system/view/screen-face/options: none
] set-user-name "myAdress"


( In my mail server -as for most others nowadays-, user name is identical to address. Quotes as stated, though I think they are optional for server names)

Is the last statement necessary ? -set-user-name... ?

I didnt find this modification of the set-net script in the docs.
Shouldn't it be updated ?
Also, this should probably be double-stated at the initial tutorial and documentation, and the initial user.r file generated at startup be modified accordingly. Otherwise so much enegy dissipates without reward....

Thanks a lot !



Logged
Gabriele
Full Member
***
Offline Offline

Posts: 182


View Profile WWW
Re: Cant send mail - smtp authentication failure -??
« Reply #5 on: September 26, 2006, 04:36:12 AM »

set-user-name just changes system/user/name, which is also used by send if you don't give it a From explicitly.

ESMTP is new in Core 2.6, and docs haven't been updated yet probably.
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Cant send mail - smtp authentication failure -??
Jump to:  

  
Quick Search...

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

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2233 Posts in 581 Topics by 1855 Members
Latest Member: SmartCho

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

RT design by Defiant Pc