[REBOL] Re: Emails with Attachments
From: agem:crosswinds at: 12-May-2001 11:54
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 12.05.01, 09:26:43, schrieb "Kinjal" <[ctaredu--crosswinds--net]> zum
Thema [REBOL] Emails with Attachments:
> how are y'all doin'?
> the requirement was of sending email to multiple recipients,
> the simple line taken from rebolcore-13.html, from the subsection
> "Multiple Recipients"
> send [[luke--rebol--com][ben--example--com]
> does the job pretty well.
> now, the boss wanted attachments.. so i got the script from
and added a few lines to the
> emails: [
> header: make system/standard/email [
> from: "Hooded Claw <hoodedc @ pqr.com >"
> Subject: "FIY : update"
> organization: "asdf"
> foreach email emails [
> header/to: email
> mail read %first.txt header [%attached.doc %attached2.doc]
> this sends the attachments as required, but now it is working one mail
> time.. so if there are several recipients, the mail is sent to each
> by one... i hope you guys are still with me.
> i was just wondering if i have missed something here.. and if there is
> to send mails, with attachments, the simple way.
Take the script, look at the end,
send/header header/to mesg header
reduce [header mesg]
remove that (»;send/header ..«) and it returns the email.
Maybe refinement? [if not no-send [send/header..]]
i don't know if send/header can do multiple emails,
but the message alone should then be
[second mail/no-send ..]