wwyngaard Posted July 9, 2003 Posted July 9, 2003 I have a form action which creates a record in a file and returns to a page. On that page is an inline action to send an email. I am using an inline to allow it to grab the email address of the record that was just created which is a calculation. The problem is in the email that is recieved. When ever I try to add more than a line of text or any fields from the record it doesn't send. I have used the -mailto function many times with hard coded email addresses and never had this problem. Is the inline not finding the record to pull info from? It must be finding the correct record because it is sending to the correct address. Here is the inline. <P>[FMP-InlineAction: -db=ssapprovals.fp5, -lay=webapprove, -mailto={FMP-Field:c_approverNext}, [email protected], -mailsub=New User, -mailhost=216.183.243.101, -mailformat=emailchange.txt, -view] [/FMP-InlineAction]</P> Any ideas would help.
Unable Posted July 9, 2003 Posted July 9, 2003 From which record is your InlineAction trying to access data?
wwyngaard Posted July 10, 2003 Author Posted July 10, 2003 From the record that is created by the form action, which is the previous page to where the inline is run from.
Unable Posted July 10, 2003 Posted July 10, 2003 I believe you will need to include the -recid in your InlineAction since it is processed separately.
wwyngaard Posted July 10, 2003 Author Posted July 10, 2003 I have included -recid={FMP-CurrentRecid}, and it still will not give me field info. I have placed fields within the inline for subject and email address so I know it is finding the correct record. I just can't seem to figure out why the info will not go onto the email.txt file. [FMP-InlineAction: -db=ssapprovals.fp5, -lay=webapprove, -mailto={FMP-Field:c_appNxemail}, -recid={FMP-CurrentRecid}, [email protected], -mailsub={FMP-Field:t_approvalstep} has been approved., -mailhost=216.183.243.101, -mailformat=email.txt, -find] [/FMP-InlineAction] and the email page is as simple as it gets to test. again [FMP-Field: apprlink] The again shows but not the link field. Any ideas.
Unable Posted July 10, 2003 Posted July 10, 2003 Make sure that the pertinent fields are being captured by the CMDL tags. (comment out the mailto and add [FMPField:...] [FMP-CurrentRecid] etc). When you do an -edit (or a -new), it is wise to pass through a META Refresh (usually with a -find) so that a client (esp in NN) cannot resubmit the -edit action from the results page (reload current page and subsequent pop-up repost query which a client is likely to answer Yes). If this does not help, perhaps someone with more knowledge/experience with emails can post a line. Best of luck
Recommended Posts
This topic is 7876 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