Jalz Posted November 2, 2008 Share Posted November 2, 2008 Hi Guys, Need some help with a calc. I have a database which stores contact details which includes email addresses. I use Outlook to send the emails out from FileMaker 9. Unfortunately, outlook has a limit of 32000 characters and occasionally when we send out bulk emails, they exceed the character limit which means we dont send out emails to those recipients at the bottom in the list. What I would like to do is split the field (collection of all the emails) I have which contains all the emails into two and send two emails out, one with the first half of upto 32000 characters, and then a second with the remainder. Can someone tell me how I can calculate obtaining the last "full" email address before the 32000 character limit. The email addresses are seperated using a semicolumn, so a sample could be.... [email protected]; [email protected]; [email protected]; and so forth..... Finally I'm not using a looping script to send out an email from FM, because FileMaker uses standard Mapi to connect to outlook which causes alot of security warnings, so the idea is to collect the emails into two fields and send two emails out from the BCC field. Many Thanks Jalz Link to comment Share on other sites More sharing options...
comment Posted November 2, 2008 Share Posted November 2, 2008 how I can calculate obtaining the last "full" email address before the 32000 character limit Try something like: Left ( text ; Position ( text ; ";" ; 32000 ; -1 ) ) Link to comment Share on other sites More sharing options...
Jalz Posted November 3, 2008 Author Share Posted November 3, 2008 Thank you, That is exactly what I wanted! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5793 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