Newbies erick Posted June 13, 2003 Newbies Posted June 13, 2003 Hello All, I have a found set of records with a result page to fill out all mail fields.. but the body of message...Man this is killing me... the <input type="hidden" "-mailformat" value="mail.txt"> tag It Wants the mail.txt I can get it to run butttttttt....need to customize dynamically.. I really want to pull from a field so that I can have people customize there " email content field" for the body of the message...... Have tried the -MailFmtFIeld but when used it errors saying none of the other tags are filled out.. and this is In a form and I belive this tag is for <a href> only by looking at the example.. That dose not help :-( The script solution just won't work as all this is web based.... any Idea how to customize the body of a message from the web "web companion" Still been looking to PHP to ba able to pull a field and use it as the body but VERY complicated.. also looking at what lasso offers but $1000 is a bit much... Any help would help .. Web based customize body of e-mail.. Thx Erick
Newbies phish Posted June 23, 2003 Newbies Posted June 23, 2003 hello I feel your pain. Struggled with one as well, for longer than I care to admit. But, using straightforward CDML, i don't believe that it's possible to do anything more with the body of an email than what you can do with the mailformat tag. You can do the form without the mail data, but have users enter the "body" of the email, which would submit to a field in filemaker and take the user to a "preview" page, where, if they like it, they submit again. The second submit, of course, would have the email data, at that point you can use the newly entered field in the mail.txt file. A similar scenario could go to a "buffer" page with a redirect or inline action that did the actual mailing. hih steve
mindtpi99 Posted June 24, 2003 Posted June 24, 2003 you could look at the plugin SMTPit at http://www.cnsplug-ins.com/
Anatoli Posted June 24, 2003 Posted June 24, 2003 RE: It Wants the mail.txt I can get it to run butttttttt....need to customize dynamically.. In mail.txt you can have many FM fields filling the body with any customization.
jims Posted July 10, 2003 Posted July 10, 2003 If you can live with the mailto: tag in html and assume the user has an email client to mail with, rather than using FMP to send mail, you could use code similar to this: <a href="mailto:[FMP-Field:email]?subject=Unused Ticket&body=[FMP-Field:FirstName] [FMP-Field:LastName] has an outstanding unused airline ticket with [FMP-Field:Carrier] valued at $[FMP-Field:amount] which expires on [FMP-Field:ExpirationDate]. Please try to use this ticket as soon as possible. Thank you. The Travel Department.">[FMP-Field:email]</a> Which when the user clicks on the email link [FMP-Field:email] launches the email client with the recipient, subject and body populated with information from the database. It is not automatic, in that the user still needs to manually send the mail with the client, but you can populate clients like Outlook Express with data using this technique. Jim
Recommended Posts
This topic is 7798 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