Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Embedded xml attachment

Featured Replies

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)

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

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.