grumbachr Posted November 29, 2004 Posted November 29, 2004 I am trying to script a button to open a url and send email. I am following this format i found in another post. mailto:[email protected]?subject=yourSubject&body=yourBody but i would like to have the subject and body auto entered from fields in a database. "mailto:[email protected]?&subject=table:c_subjectfield&body=table:c_bodyfield" This doesn't work because it just enters the text i've entered. Can this even be done? Any suggestion would be greatly appreciated.
MarkWilson Posted November 29, 2004 Posted November 29, 2004 grumbachr, "mailto:[email protected]?subject=" & table:c_subjectfield & "&body=table:c_bodyfield" FileMaker, with a few exceptions, takes anything inside "quotation marks" as literal text. Remove the fields from within the quotation marks and add ampersands to string the new text together.
grumbachr Posted November 29, 2004 Author Posted November 29, 2004 Thank you so much it works perfectly. however there was one typo in your example. "mailto:[email protected]?subject=" & table:: 3::c_subjectfield & "&body=" & table::c_bodyfield this is now working for me with a variety of default e-mail clients. Mail.app, Thunderbird, and Eudora (only ones i've tested so far). Thank you for your help.
Recommended Posts
This topic is 7290 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