chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] How to use the smtp egg?


From: Matthew Welland
Subject: [Chicken-users] How to use the smtp egg?
Date: Wed, 8 Oct 2008 15:55:44 -0700
User-agent: KMail/1.9.9

Am I using smtp egg correctly? Does x.y.com have to match x.com? Sorry to 
obfuscate addresses, just trying to limit spam.

csi> (define s (smtp:connect "mail.x.com" "x.com" #t 26))
[snip]
SMTP: HELO x.com
SMTP: [250 x.y.com Hello x.y.com [1.2.3.4]]
csi> (define p (smtp:open s "address@hidden" "address@hidden"))
SMTP: MAIL FROM: <address@hidden>
SMTP: [501 <address@hidden>MAIL FROM: <address@hidden>: malformed address: MAIL 
FROM: <address@hidden> may not follow <address@hidden>]
Error: <address@hidden>MAIL FROM: <address@hidden>: malformed address: MAIL 
FROM: 
<address@hidden> may not follow <address@hidden>

        Call history:

        <syntax>      (define p (smtp:open s "address@hidden" "address@hidden"))
        <syntax>      (##core#set! p (smtp:open s "address@hidden" 
"address@hidden"))
        <syntax>      (smtp:open s "address@hidden" "address@hidden")
        <eval>          (smtp:open s "address@hidden" "address@hidden")   <--




reply via email to

[Prev in Thread] Current Thread [Next in Thread]