Choose attachments based on Language

I currently use a combination of <IF>, <AND> statements to choose between Male and Female salutations and also to choose which text (German or English) should be sent, based on the identified language of the recipient.

Is it possible to extend this to select which attachment (German or English) should be included with the message?

Any tips or scripts that will help me achieve this will be most welcome

Thanks
Paul S.
 

stanbusk

Administrator
Staff member
Yes but place your attachment/file to a folder on your website and send the link depending on the criteria you need.
 
Thank you for the tip.
It works for fine HTML but not for Plain Text.

I tried attaching the different language files directly in the plain text alternatives, but in my test run the attachments were delivered as part of the HTML transmission as well, meaning that e-mails intended for English speaking recipients were received correctly with the English version of the attachment (via the HTML part of the message), but unfortunately they also revered the German version of the E-Mail which was attached directly in the plain text version of the E-Mail.

I'm probably overlooking something but can't see what it is. Any ideas on how can I select the attachment based on language for the recipients that allow only Plain Text?
 

stanbusk

Administrator
Staff member
You have to upload your file to your web server and send a link to them. It is better than attachments.
 
Sorry, my previous input was not 100% clear...

I did indeed follow your advice and included a link to the attachments on a web server. This worked fine for the HTML message but for some reason not for the plain text alternative. Can you advise the correct way to add a link in a plain text alternative to HTML?

Thanks, your help is appreciated
Paul S.
 
Top