dbTalk Databases Forums  

Sending Mails via SMTP with FMP 10, best practice

comp.databases.filemaker comp.databases.filemaker


Discuss Sending Mails via SMTP with FMP 10, best practice in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Christoph Kaufmann
 
Posts: n/a

Default Sending Mails via SMTP with FMP 10, best practice - 02-06-2010 , 11:26 AM






I send you a newsletter to 654 addresses. I used to have Filemaker 8
hand the mails over to Eudora on OS 10.4. Problem came up on the new
machine with snow leopard, so I tried the new "send mail via smtp"
feature.

I set the send mail script step to "several E-Mails (one E-Mail per
record)" (or whatever that is in English) and got a tremendous amount of
error messages - it turned out that the SMTP had pulled the plug after
the first 100 mails (spam prevention, it's my ISP's SMTP).

Trouble is it was hard to say which mails had been sent. So I turned
error capture on and looped through the records:

Send Mail (this record only)
If ( East Error ) = 0
set field ( MailSentAt ; Get ( CurrentTimeStamp )
Else
set field ( MailingError ; "Error No " & Get ( Last Error )
End If
Commit record
Go to next record

which leaves me with 100 Records showing the timestamp of the
successfull mailing and all the other records displaying error code
1506.

Are there better ways to do this? The script can't catch the SMTPs error
message itself, can it?
--
http://clk.ch

Reply With Quote
  #2  
Old   
Grip
 
Posts: n/a

Default Re: Sending Mails via SMTP with FMP 10, best practice - 02-07-2010 , 05:54 PM






On Feb 6, 9:26*am, c... (AT) tele2 (DOT) ch (Christoph Kaufmann) wrote:
Quote:
I send you a newsletter to 654 addresses. I used to have Filemaker 8
hand the mails over to Eudora on OS 10.4. Problem came up on the new
machine with snow leopard, so I tried the new "send mail via smtp"
feature.

I set the send mail script step to "several E-Mails (one E-Mail per
record)" (or whatever that is in English) and got a tremendous amount of
error messages - it turned out that the SMTP had pulled the plug after
the first 100 mails (spam prevention, it's my ISP's SMTP).



which leaves me with 100 Records showing the timestamp of the
successfull mailing and all the other records displaying error code
1506.

Are there better ways to do this? The script can't catch the SMTPs error
message itself, can it?
--http://clk.ch
A better way is to use a 3rd party mailing service like Constant
Contact or MailChimp.

There are several reasons for this...

-Clearly your ISP is preventing you from sending out enough mail.
-If you're in the US, probably some other countries, though I don't
know about China, you open yourself up to being subject to anti-spam
laws if you're not careful.

Good luck

Reply With Quote
  #3  
Old   
Your Name
 
Posts: n/a

Default Re: Sending Mails via SMTP with FMP 10, best practice - 02-07-2010 , 07:13 PM



In article <1jdi42j.ngu6ox1wqjteyN%clk (AT) tele2 (DOT) ch>, clk (AT) tele2 (DOT) ch (Christoph
Kaufmann) wrote:

Quote:
I send you a newsletter to 654 addresses. I used to have Filemaker 8
hand the mails over to Eudora on OS 10.4. Problem came up on the new
machine with snow leopard, so I tried the new "send mail via smtp"
feature.

I set the send mail script step to "several E-Mails (one E-Mail per
record)" (or whatever that is in English) and got a tremendous amount of
error messages - it turned out that the SMTP had pulled the plug after
the first 100 mails (spam prevention, it's my ISP's SMTP).

Trouble is it was hard to say which mails had been sent. So I turned
error capture on and looped through the records:

Send Mail (this record only)
If ( East Error ) = 0
set field ( MailSentAt ; Get ( CurrentTimeStamp )
Else
set field ( MailingError ; "Error No " & Get ( Last Error )
End If
Commit record
Go to next record

which leaves me with 100 Records showing the timestamp of the
successfull mailing and all the other records displaying error code
1506.

Are there better ways to do this? The script can't catch the SMTPs error
message itself, can it?

That pretty much looks like you've worked out the best answer.

With that number of addresses you might be better using a company that
specialises in email newsletters - there are quite a few around these
days, but you'll have to pay for the service.

If you can cut the number of addresses down to 500, then MailChimp.com
will let you send six emails per month to those addresses for free.

If you are a non-profit organisation (may need to be officially
registered), then SimplyCast.com will let you send up to 20,000 emails for
free.


Helpful Harry )

Reply With Quote
  #4  
Old   
KevinSmith
 
Posts: n/a

Default Re: Sending Mails via SMTP with FMP 10, best practice - 02-09-2010 , 06:32 PM



On 7 Feb, 22:54, Grip <g... (AT) cybermesa (DOT) com> wrote:
Quote:
On Feb 6, 9:26*am, c... (AT) tele2 (DOT) ch (Christoph Kaufmann) wrote:





I send you a newsletter to 654 addresses. I used to have Filemaker 8
hand the mails over to Eudora on OS 10.4. Problem came up on the new
machine with snow leopard, so I tried the new "send mail via smtp"
feature.

I set the send mail script step to "several E-Mails (one E-Mail per
record)" (or whatever that is in English) and got a tremendous amount of
error messages - it turned out that the SMTP had pulled the plug after
the first 100 mails (spam prevention, it's my ISP's SMTP).

which leaves me with 100 Records showing the timestamp of the
successfull mailing and all the other records displaying error code
1506.

Are there better ways to do this? The script can't catch the SMTPs error
message itself, can it?
--http://clk.ch

A better way is to use a 3rd party mailing service like Constant
Contact or MailChimp.

There are several reasons for this...

-Clearly your ISP is preventing you from sending out enough mail.
-If you're in the US, probably some other countries, though I don't
know about China, you open yourself up to being subject to anti-spam
laws if you're not careful.

Good luck
Hi

If you wish to stick to the FileMaker SMTP tools, you can loop through
all the records building an address string:

$AddressString=$AddressString & ";" & email

When you reach 99 you can generate one email to the string of
addresses. I've tried it and it work. You then carry on to build your
next group of 99.

The alternative, using an application like Mailchimp has the advantage
of being able to track errors e.g. bouncebacks and they also have
tools to handle unsubscribing. On the matter of domains, I've just
learnt, "CH" is Switzerland, China is "CA".

Regards Kevin Smith

Reply With Quote
  #5  
Old   
Christoph Kaufmann
 
Posts: n/a

Default Re: Sending Mails via SMTP with FMP 10, best practice - 02-13-2010 , 03:08 AM



Grip <grip (AT) cybermesa (DOT) com> wrote:

Quote:
-Clearly your ISP is preventing you from sending out enough mail.
They just slow me down, it's a simple spam prevention thing.

Quote:
-If you're in the US, probably some other countries, though I don't
know about China, you open yourself up to being subject to anti-spam
laws if you're not careful.
In China (.cn), you need to know somebody in court and you're fine :-)

Spamming is a crime here in Switzerland (.ch).

--
http://clk.ch

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.