Jump to content

JF Fortier

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About JF Fortier

  • Rank

FileMaker Experience

  • Skill Level
  • FM Application

Platform Environment

  • OS Platform
  • OS Version
  1. Thanks, I have seen that post long time ago, but I have no clue HOW to get it inside the Java and put it as a header in the code... that link only tells you that you need to have that header section, not how to get it into Java. And all the example that I found online don't work when I create a new module in the SM. I'm always willing to learn more stuff and make my FM app better... but my main job is driving a HVAC business!! I'm pretty good with FM, 25 years of self learning, but I have my limits My current code is (if I recall, I merge 2 module from the SM demo file to have a HTML option with inserting a file. My Variables are smtpHost. from, to, subject, htmlBody and attachmentPath import javax.mail.*; import javax.mail.internet.*; Properties props = new Properties(); props.setProperty("mail.smtp.host", smtpHost); MimeMessage msg = new MimeMessage(Session.getInstance(props)); Multipart content = new MimeMultipart(); // first the message body MimeBodyPart bodyPart = new MimeBodyPart(); bodyPart.setContent(htmlBody, "text/html"); content.addBodyPart(bodyPart); // then the attachment if (attachmentPath) { MimeBodyPart attachmentPart = new MimeBodyPart(); attachmentPart.attachFile(attachmentPath); content.addBodyPart(attachmentPart); } msg.setContent(content); msg.setSubject(subject); msg.setFrom(new InternetAddress(from)); msg.setRecipient(Message.RecipientType.TO, new InternetAddress(to)); Transport.send(msg); return true Then I would also want to have a variable to enter the "text/plain" version Thanks
  2. Hi, I have absolutely no knowledge in Java. I'm using all the function already in the demo file of ScriptMaster (Send Email With Attachments), I have a licence so I generated my plugin and run it on the server to send email. It's not a mass mailing, I send individual email, it's a system that confirms appointment. The email is HTML formed for a better-looking experience. I need to add: #1-header info (maybe multiple items), otherwise I get flag (mostly by Hotmail) as spam, the header should at least include the "Unsubscribe-list:" attribute #2-with the HTML email, I need a "text/plain" short version I have a score of 9.1 right now on SpamAssassin but still get flag as spam (DKIM, DMARC, host name-mail server, IP is all good) on Hotmail. Not Gmail, and not my own Exchange server. I currently use the default Java code in the demo file. I need the code modification, please the whole code, not add this xblabla in the code as I have no clue the run down of Java. I've been searching all day how, I got some string of code, but when I add them to the original code, I either get an error or it doesn't do anything. Thanks for your help. JF
  3. Hooo boy this is an old one, but the idea for this is awesome !! using this not GetLayoutObjectAttribute ( "button.obj.name" ; "IsObjectHidden" ) The only issue is with the button bar divider and lines that we can't still conditional format ☹️ The left and right justify you see the empty button at the end. Maintain holes works great Maintain holes with conditional format... button can still be pressed
  4. Hello group, I was wondering if there's a way to know if the scribe plugin can help me with my project. Using FMA11 I want to populate a PDF that have permission to write, fill and save the form. My problem is that I have on my PC Acrobat professional but the reste of the office only have Reader. So when I test on my PC it work, since I have Pro When other user are doing it, when the file is created, data are populate from FM and the file is open so user can enter remaining information... but the new created file lost the permission to fill the form and save it. The way it's configure, I'm not using a container field, but I link it to a template file located on the server (so any change to the file can be done easely) it open the file, fill the forms, save the file to a new location with a specific name. I don't think having 2 container fields as the demo show it, would change anything, unless you tell me otherwise, but keep in mind the resulted filled PDF must be save in the server after it as beeing fully filled by the user. The only reason I don't want to use container is the problem with using global field over a network file (close the server file, importe the PDF into field, every time I need to change the main PDF file). So can this be done without haing Acrobat Pro on every station = lost of more $$$ Now I'm using a demo of the scribe plug for testing. Thank you JF
  • Create New...

Important Information

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