Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Dynamic Email Attachments


This topic is 6780 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Righto then, i have filemaker 8 pro... yet despite what i read somewhere the send mail script step still asks me to specifically reference a particular file instead of allowing me to reference a field with a file path or something similar... i know a way i could do it with one static attachment with the user being able to change the file and it just exporting to the defined location... but i need multiple attachments for different user modifiable and addable email templates etc...

Also, is there anyway at all to incorporate a stored image into an email (im guessing not seeing as the result is locked to text)... but if anyone has had any success with using pre-defined microsoft outlook footers etc. please let me know..

Thanks for help, Genx

Posted

What you've probably read is that you can use a variable in the "specify" dialog. That variable would then hold a valid path to an existing file.

Posted

so hold on, you can reference a stored variable that would contain a file path instead of just a statically stored filepath within the specify dialogue?..

Genx

Posted (edited)

Hi,

If you are using FM version 8 then you can accept the number of attachments in the global field and then set those values from the global field into a variable. Further specify those variables in the Attachment dialog box in send mail script. This will allow you to set multiple attachments that are selected by the user dynamically.

Does this method solve your problem?

Regards,

MetaSys

Edited by Guest
Posted

well that whole process was a bit silly, i dont see why not just allow you to reference a field... anyway yeah the variable thingo worked.

Cheers for help, genx

Posted

How about this: how do you export the contents of a container field into an email attachment, but specify the name of the file depending on the type of attachment? Will I need to use the Troi Fileplug-in?

In other words, some of my attachments are PDFs, som Word docs, etc. I want the user to be able to easily open the attachment when it arrives, and not have to pick the application.

  • 4 weeks later...
  • Newbies
Posted

Hi!

I wish I could say I got this thing to work in my solution! Script writes a true file path into variable all right - but only the first file path finds its way into the eMail! All the rest is ignored. the variable says s.th. like

filewin:/C:/index.html

filewin:/C:/enter.html

#2 gets ignored...

what do I do wrong ? Thx a lot ! Jo.

  • 2 months later...
Posted

Hi,

If you are using FM version 8 then you can accept the number of attachments in the global field and then set those values from the global field into a variable. Further specify those variables in the Attachment dialog box in send mail script. This will allow you to set multiple attachments that are selected by the user dynamically.

Can you please explain this?

I have tried to send more than one attachment with every thing I could think of, but still no luck. You seem to know... ;)

Thanks,

/andreas

This topic is 6780 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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