AutoHotkey Community

It is currently May 27th, 2012, 11:45 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: January 23rd, 2012, 3:38 pm 
Offline

Joined: November 10th, 2011, 11:52 pm
Posts: 131
Location: Heart of the Ozarks
Here is what I ended up with.


Code:
;;;THIS IS AT THE TOP PART OF CODE AND THEN THE SIGNATURE IS USED IN THE E-MAIL SECTION AT THE BOTTOM AND WILL PUT THIS AFTER OTHER INFO ON THE E-MAIL YOU ARE SENDING
Signature =
(
 Please contact if needed
 Billy Doe 
 Business Support
 Financial Services
 billy.doe@yourjob.com
 Cell 555-111-1234
)


;;;;;BUNCH OF OTHER STUFF..........

;;;;;ENDING PART OF CODE....

;;;;;NOTICE THAT FOR MULITPLE WORDS IN SUBJECT AND BODY THAT YOU HAVE TO USE `%20 BETWEEN WORDS
;;;;;BY REMOVING THE BODY CODE AND USING THE SENDS FOR MULTIPLE WORD SENTENCES IS EASIER
;;;;;OPTIONS FOR SENDING MORE INFO AND YOU CAN ADD THE COPY AND BLIND COPY OPTIONS IF DESIRED

;;***CHOOSE ONE OF THE RUN COMMANDS BELOW AND THEN UNCOMMENT YOUR CHOICE AND CHECK EMAIL ADDRESSES
;Run mailto:john.doe@yourjob.com?cc=jane.doe@yourjob.com&bcc=jim.doe@yourjob.com&subject=Money`%20Update`20%Complete ;&body=Whatever
;Run mailto:mark.doe@yourjob.com?cc=sally.doe@yourjob.com&subject=Money`%20Update`%20Complete  ;&body=Test`%20Complete
Run mailto:john.doe@yourjob.com?subject=Money`%20Update`%20Complete
   Sleep 200                             ;;;PAUSE
   Send This message has been sent to confirm that the update to Money has completed for Step %num% letters  ;;;MESSAGE
   Sleep 200                             ;;;PAUSE   
   Send {Enter}                          ;;;MOVE CURSOR DOWN 1 ROW FOR BLANK LINE
   Sleep 200                             ;;;PAUSE

;;;;This is getting info from other part of script and posting in e-mail
Send
(
    Total Records Processed : %TotalCust%
   Valid Customer Records  : %ValidCust%
   InValid Customer Records: %InValid%   
)
   Send {Enter 2}                        ;;;MOVE CURSOR DOWN 2 ROWS FOR BLANK LINES
   Sleep 200                             ;;;PAUSE   

   Send ^v                               ;;;PASTES IN ALL DATA FROM THE ERROR LOG NOTEPAD
   Sleep 500                             ;;;PAUSE
   Send {Enter 2}                        ;;;MOVE CURSOR DOWN 2 ROWS FOR BLANK LINES
   Sleep 200                             ;;;PAUSE
 
   Send %Signature%                      ;;;PASTE IN SIGNATURE FROM INFORMATION SUPPLIED AT TOP OF CODE
   Sleep 500                             ;;;PAUSE
   Send ^{Enter}                         ;;;THIS IS WHAT ACTUALLY SENDS THE EMAIL ON ITS WAY
   Sleep 500                             ;;;PAUSE


Hope this helps


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: rrhuffy and 59 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group