Random code gen and send with email

Joined
Nov 21, 2010
Messages
23
Reaction score
0
Points
1
i want to be able to generate a random code (and put text in the line above it), put it in a text file, and send it with sendmail. I have the sendmail command working, but i need the code (15 characters) in a specific place (fifth line) because of sendmail. How can i do this? Oh, and i also need it to create the from and subject lines in the text file. And im bad at complicated applescripts, and i was too lazy to figure it out myself (text has given me LOTS of problems in the past).
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top