Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Email object and send

From: chalz:earthlink at: 26-Feb-2003 0:35

*scratches at his brain* Okay, I'm starting to go looney here. I've got my REBOL For Dummies out and I'm looking at the REBOL/Core Users Guide online .. and I'm still not getting it right. I want to do something like this: announce: make system/standard/email [ From: {"Me" <[myself--myaddress--com]>} To: [[who--where]] Reply-To: [myself--myaddress--com] Subject: "Subject line" ] send/header announce/to "message" announce Problem is, my mail server keeps giving me errors like this: ** User Error: Server error: tcp 501 <"Me" [myself--myaddress--com]>: "@" or "." expected after ""Me"" ** Near: insert port reduce data Other formats I've tried include: ["Me" [myself--myaddress--com]] ["Me" [myself--myaddress--com]] [{"Me" [myself--myaddress--com]}] etcetcetc Various combinations, and I keep getting @ or . expected. Examining the source for email messages I've sent and received using a regular email client show that To and From can be like From: Carl Sassenrath <[carl--s--rebol--com]> But I can't get it to work. "Me <[myself--myaddress--com]>" or ["Me <[myself--myaddress--com]>"] ... When I try this: From: {"Me <[myself--myaddress--com]>"} With or without the <>, I get: ** User Error: Server error: tcp 501 <"Me [myself--myaddress--com]">: sender address must contain a domain ** Near: insert port reduce data *sigh* Help :( I know, I could take out the "Me" part, but for what I'm working on, having a name in there would be decidedly useful. Appreciate the assistance. Oh, and I tried it without the optional name, and no, my mail server did not put the name in. --Charles