Jump to content
Salesforce and other SMB Solutions are coming soon. ×

MailIt 5 on FM11 stopped working on change to PC network


BBGun
 Share

Recommended Posts

We are using MailIt 5 with Filemaker 11, and have been for many years. We use Gmail for our emails. We recently converted our Mac network to a PC network and the only thing that didn't work in FM once we were up and running was MailIt. None of our SMTP settings changed, so we could not see any reason for the failure. I reached out to MailIt, but they don't seem to be answering Support Calls anymore. Once I discovered the Send Mail command in FM, I recoded everything to use that and we are up and running, and it uses the same SMTP settings! However we lost the use of rich text, which we really relied on. Attachments are also very primitive and require hard-coding; you can't go pick a file to attach on the fly.

 

Anyone else have a similar issue, either with MailIt Support, or with this type of failure?

 

Thanks!

Link to comment
Share on other sites

Attachments are also very primitive and require hard-coding; you can't go pick a file to attach on the fly.

 

This isn't true.

 

Set variable [$Attachment; {Calculated path to attachment goes here} ]

Send Mail [To, Subject, Body etc; for Attachment specify $Attachment]

 

 

Rich text /formatted text isn't supported because (believe it or not) email is officially still a plain text format.

Link to comment
Share on other sites

Thanks for the plain text confirmation.

As for attachments, I'm not sure if we're talking about the same thing. Putting a variable in the Send Mail command is not the same as allowing the user to browse their files and pick one to attach, no? I can define $Desktop, but the user cannot pick any file from their desktop to attach; I need to know what the name of the file is so I can hard-code it into the Attachments portion of Send Mail (e.g. $Desktop/Filename.doc).

Link to comment
Share on other sites

...

As for attachments, I'm not sure if we're talking about the same thing. Putting a variable in the Send Mail command is not the same as allowing the user to browse their files and pick one to attach, no? I can define $Desktop, but the user cannot pick any file from their desktop to attach; I need to know what the name of the file is so I can hard-code it into the Attachments portion of Send Mail (e.g. $Desktop/Filename.doc).

 

There are scripted routines that allow a person to select a file, and then, once selected, you use that to populate the variable $Attachment.

 

Here is one of the easiest that doesn't require AppleScript or a plug-in:

 

 

Go to Field [AnyTable::g.GlobalContainerfield]

Allow User Abort [Off]

Insert File [with dialog, let user choose file, as a reference only ]

Comment [Now you have the file that the user chose, in a global container field, as a reference]

Set Variable [$Result; GetAsText (AnyTable::g.GlobalContainerField) ]

 

 

GetAsText (any containerfield with file stored as reference) will return two lines of text:

 

file:filename and

filemac or filewin: path/to/the/file/filename

 

 

 

Set Variable [$Attachment; GetValue ( $Result; 2) ]

Link to comment
Share on other sites

 Share



×
×
  • Create New...

Important Information

Terms of Use