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:
Press Release hit the NewsWire!!! (1997)
Generating and appending SKU to a db automatically (1998)
WC2b15 File Corruption (1997)
Keep away (1997)
Webten + Webcat running smooth (1998)
Nesting Search Within Tag? (1997)
WebCat2b13MacPlugIn - [include] (1997)
Bug in capitalize ... ? (2003)
transferring values (1998)
[WebDNA] Trying to search for two values within one criteria... (2016)
Download URL & access on the fly ? (1997)
calculate age (2003)
help with autenticate (1998)
Upgrading from version (1998)
Database Options (1997)
Where is f2? (1997)
Pass Thru Page? (1998)
Re:Hideif / Showif (1998)
WCS Newbie question (1997)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)