Lucky Posted May 4, 2006 Posted May 4, 2006 Hi I have exported records from FM to a XML document using a style sheet, and now need to email it. Is there a way that I can embed the xml file in the email so that it will view in the email like it does if I was to open it in a web browser. At the moment it just shows a attachment icon in the email. (Mail 2.0.7)
Fenton Posted May 4, 2006 Posted May 4, 2006 If "if I was to open it in a web browser" means "view it as text", then perhaps you could use AppleScript and Mail to send the message. Or use the XMail Scripting Addition to send it (I can't use them on this iMac Intel right now). In any case, this basic AppleScript will create a new message with such a file's content as string. set theFile to choose file set theContents to read theFile as string tell application "Mail" set theMess to make outgoing message set visible of theMess to true -- only needed to see what it looks like set the content of theMess to the theContents end tell
Recommended Posts
This topic is 6778 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now