capturing e-mail text strings to http posting
capturing e-mail text strings to http posting
- Subject: capturing e-mail text strings to http posting
- From: Paul Tuckey <email@hidden>
- Date: Mon, 23 Sep 2002 12:30:26 +0100
Hi List
Im after a little bit of advice here, I need to grab 2 text strings from
the body of an e-mail and place these into an http posting. Example the
e-mail body may look something like this...
---
Thanks for your order
Your Purchase account ID: 77234567
Your cart ID: Cart12991
Purchase transaction ID: Trans1542
Generated at: 23 Sep 2002 09:51:58 GMT
Sale value: GBP 42.39
Description: Game 7
Tel:+4401234567890
Shopper IP address: 192.168.1.11
---
I want to grab "Game 7" and "+4401234567890" from the body, put it into this
from action which is automatically submitted to the http server.
---
<form action="
http://www.myserver.pl" method="POST">
<input type="hidden" name="Tel" value="+4401234567890">
<input type="hidden" name="Action" value="subscribe">
<input type="hidden" name="Gameid" value="Game 7">
<input type="submit" value="Submit Form">
</form>
---
I'm sure I can script Entourage to to loop through the messages in a
particular folder and grab the text strings I need but I'm not sure how to
go about scripting the http posting once I have placed my variables in my
http form.
Also is using an e-mail client the best way of approaching this or are there
any scripting additions that may suffice. I also know FileMaker pro
reasonably well, would scripting FMP to achieve the above be a good idea
given that good performance is required.
Any advice on how best to approach this is much appreciated.
Paul Tuckey
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.