On 9/12/04 12:09 pm, "Scott Haneda" <[EMAIL PROTECTED]> wrote:
> on 12/9/04 3:57 AM, Barry Wainwright at [EMAIL PROTECTED] wrote: > >> Try this (you will have to put the right address for the forward in the >> appropriate line): >> >> <">http://tinyurl.com/54ze5> <http://tinyurl.com/54ze5> >> >> If that URL doesn't work, here is the script in full: > > Thanks! > FYI, the urls work, they just open a empty AS file, however, a copy and > paste was all that was needed. > > I forgot to mention one thing, I need to set the subject of the forwarded > email as well as the first 2 lines of that email to a specific set of > strings. Basically it is a user and a password in the body with a keyword > in the subject. > > How can I add that in? That's easy enough. Instead of this line: set content of theMess to newContent as text Use these two lines: set content of themess to "this is line one" & return & "this is line two" & return & (newcontent as text) set subject of themess to "New subject" > > I think it is about here > set fwdMessage to forward theMess to "[EMAIL PROTECTED]" without opening > window and html text That block just forward the message after editing. I did all the editing first. > > And also, not sure about the html part in the set statement, I would want > plain text if possible. This will go out as plain text. The statement reads better if you look on it as: set fwdMessage to forward theMess to "[EMAIL PROTECTED]" without (opening window and html text) The 'forward' command defaults to openeing a draft message window, which you don't want in this case, hence 'without opening window'. To ensure that you only send plain text I also added 'without html'. The script syntax checker agglomerates these two switches into one, as above. -- Barry Wainwright Microsoft MVP (see http://mvp.support.microsoft.com for details) Seen the All-New Entourage Help Pages? - Check them out: <http://www.entourage.mvps.org/> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
