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

[REBOL] Re: Email object and send

From: carl:cybercraft at: 26-Feb-2003 21:20

On 26-Feb-03, Charles wrote:
> *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
Hi Charles, I tried your way above and it worked. But the following I found also works... From: "Me <[left--paradise--net--nz]>" ie - no speechmarks around the "Me". Perhaps worth a try... Carl.
> 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
-- Carl Read