Mondo amounts of Mail [long]
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25252
interpreted = N
texte = I'm trying to send a bulk email of about 6000 addresses not spam : )And I want to personalize each one, with a Dear first name, at thebeginning and a hotlink to a removal page at the end.So I sat down and coded all of this in Webcatalog 2.1.3 and fired her upusing the [sendmail] tag. on thanksgiving eve. What I neglected toremember was that this writes a text file to the mail folder, which SIMSthen deletes. So anyway, I fired this baby up, and shortly realised I'ddone something really really bad because there were over 10,000 files inthe mail folder. I TB2'd in, and tried to delete them. as I was in theprocess of moving all these to the trash, the powerkey tripped thepower.Blammo, no hard drive in the web server no mo! I mean it's directorystructure is GONE!!OK so after fixing that mess, (take hard drive out of iMac, resore oldbackup DOH! to another machine, spend 5 days trying to recover some dataoff drive, give up all hope, and will to live, put drive in NT machineand format with MacDrive, put back into iMac, you can imagine the hoursof playtime we had)But I will beat this email, or I WILL DIE TRYING!!! Heck I might evencrack open that big thick sendmail book (blech!) I decided to get alittle wiser, and use the FABULOUS netevents to just connect to my(extra) server and send the mail directly, no file writing involved. soI made Webcatalog write the script to a plain text file, and when Itried to bring it into script editor, well, it didn't like my little 5mb applescript.so then I got a little smarter, and decided to use the also equallyfabulous send mail osax, and I cleaned up the script to set the body asone variable and only repeat the to addresses and the removal... BUT,this script is still 900 some odd k, and script editor won'topen/execute/save it because it 'exceeds the script's maximum possiblelength'so with that long winded explanation, my questions are: what is the maxsize of a applescript? is this a limitation in script editor orapplescript itself? Can BBEdit save as a applescript applet? How?as it is now, the script is just a few variables; from, server, subjectand a 6 paragraph body. and then 6000 of this:set to_field to email@domain.comsendmail using SMTP_field to to_field from From_field with subjectSubject_field with body Dear First Name, & CRLF & main_body & footer_1& to_field & footer_2 I think I can make a very short script, by repeating the actualsendmail part above from a seperate file, but I dunno how, can somescript guru help with me with that?TIA sorry for the long post-Aaron-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
I'm trying to send a bulk email of about 6000 addresses not spam : )And I want to personalize each one, with a Dear first name, at thebeginning and a hotlink to a removal page at the end.So I sat down and coded all of this in Webcatalog 2.1.3 and fired her upusing the [sendmail] tag. on thanksgiving eve. What I neglected toremember was that this writes a text file to the mail folder, which SIMSthen deletes. So anyway, I fired this baby up, and shortly realised I'ddone something really really bad because there were over 10,000 files inthe mail folder. I TB2'd in, and tried to delete them. as I was in theprocess of moving all these to the trash, the powerkey tripped thepower.Blammo, no hard drive in the web server no mo! I mean it's directorystructure is GONE!!OK so after fixing that mess, (take hard drive out of iMac, resore oldbackup DOH! to another machine, spend 5 days trying to recover some dataoff drive, give up all hope, and will to live, put drive in NT machineand format with MacDrive, put back into iMac, you can imagine the hoursof playtime we had)But I will beat this email, or I WILL DIE TRYING!!! Heck I might evencrack open that big thick sendmail book (blech!) I decided to get alittle wiser, and use the FABULOUS netevents to just connect to my(extra) server and send the mail directly, no file writing involved. soI made Webcatalog write the script to a plain text file, and when Itried to bring it into script editor, well, it didn't like my little 5mb applescript.so then I got a little smarter, and decided to use the also equallyfabulous send mail osax, and I cleaned up the script to set the body asone variable and only repeat the to addresses and the removal... BUT,this script is still 900 some odd k, and script editor won'topen/execute/save it because it 'exceeds the script's maximum possiblelength'so with that long winded explanation, my questions are: what is the maxsize of a applescript? is this a limitation in script editor orapplescript itself? Can BBEdit save as a applescript applet? How?as it is now, the script is just a few variables; from, server, subjectand a 6 paragraph body. and then 6000 of this:set to_field to email@domain.comsendmail using SMTP_field to to_field from From_field with subjectSubject_field with body Dear First Name, & CRLF & main_body & footer_1& to_field & footer_2 I think I can make a very short script, by repeating the actualsendmail part above from a seperate file, but I dunno how, can somescript guru help with me with that?TIA sorry for the long post-Aaron-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Aaron Lynch
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
RE: Error reading data -1 (1997)
re:check boxes (1997)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
Re:What file? (1997)
Locking up with WebCatalog... (1997)
[WebDNA] Adding hearder fields to a DB (2017)
PCS Frames (1997)
[isfile] ? (1997)
b18 problem on NT 4.0 (1997)
carriage returns in data (1997)
f2 download problems (1997)
Bad Cookie / Internet Option / Internet Explorer (2004)
Overridding E-Mailer (1998)
[WebDNA] WebDNA app (2013)
PCS Customer submissions ? (1997)
[WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011)
OUTSIDE LINKS TO SHOW SHOPPING CART????????? (1998)
[convertchars] problem... (2000)
expired beta (1997)
Serving Images from SSL (was NT vs Mac) (1997)