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

Emails with Attachments

 [1/2] from: ctaredu::crosswinds::net at: 12-May-2001 13:56


how are y'all doin'? the requirement was of sending email to multiple recipients, individually addressed. the simple line taken from rebolcore-13.html, from the subsection titled Multiple Recipients send [[luke--rebol--com][ben--example--com]] message does the job pretty well. now, the boss wanted attachments.. so i got the script from http://www.rebol.org/email/attach.htmland added a few lines to the end like this: emails: [ [guy1--abc--com] [gal1--xyz--com] ] 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 at a time.. so if there are several recipients, the mail is sent to each one, one by one... i hope you guys are still with me. i was just wondering if i have missed something here.. and if there is a way to send mails, with attachments, the simple way. This would now be simply an academic exercise... because my boss just told me that he wants each email to carry customised salutation .. like Dear John, and Dear Mary... This definately means individual emails. BTW.. I managed to write the required scripts in Rebol.. in 3 hours (from DOWNLOAD to successful emailing)... of course.. a lot of this is plug and play type stuff... and i dont really understand the mechanisms.. but i think rebol is cool. have fun guys

 [2/2] 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,
individually
> addressed. > the simple line taken from rebolcore-13.html, from the subsection
titled
> "Multiple Recipients" > send [[luke--rebol--com][ben--example--com]] message > does the job pretty well. > now, the boss wanted attachments.. so i got the script from > http://www.rebol.org/email/attach.htmland added a few lines to the
end like
> this: > emails: [
<<quoted lines omitted: 11>>
> ] > this sends the attachments as required, but now it is working one mail
at a
> time.. so if there are several recipients, the mail is sent to each
one, one
> by one... i hope you guys are still with me. > i was just wondering if i have missed something here.. and if there is
a way
> 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 ..] ? Volker

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted