Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5862 > unrolled thread

Sending tons of e-mails with attachment via VO

Started byJoe Bench <benchjoe@yahoo.de>
First post2013-09-25 16:04 +0200
Last post2013-09-27 08:11 +0200
Articles 11 — 7 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Sending tons of e-mails with attachment via VO Joe Bench <benchjoe@yahoo.de> - 2013-09-25 16:04 +0200
    Re: Sending tons of e-mails with attachment via VO "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-09-25 17:01 +0200
      Re: Sending tons of e-mails with attachment via VO Joe Bench <benchjoe@yahoo.de> - 2013-09-26 08:01 +0200
        Re: Sending tons of e-mails with attachment via VO "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2013-09-26 12:28 +0200
          Re: Sending tons of e-mails with attachment via VO dlzc <dlzc1@cox.net> - 2013-09-26 07:15 -0700
            Re: Sending tons of e-mails with attachment via VO "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2013-10-01 08:14 +0200
              Re: Sending tons of e-mails with attachment via VO jls@igsoft.be - 2013-10-09 09:35 -0700
                Re: Sending tons of e-mails with attachment via VO "Jamal" <jamal@examples.net> - 2013-10-09 14:38 -0400
                  Re: Sending tons of e-mails with attachment via VO "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-10-10 13:18 +0200
        Re: Sending tons of e-mails with attachment via VO "Willie Moore" <williem@wmconsulting.com> - 2013-09-26 11:37 -0500
          Re: Sending tons of e-mails with attachment via VO Joe Bench <benchjoe@yahoo.de> - 2013-09-27 08:11 +0200

#5862 — Sending tons of e-mails with attachment via VO

FromJoe Bench <benchjoe@yahoo.de>
Date2013-09-25 16:04 +0200
SubjectSending tons of e-mails with attachment via VO
Message-ID<5242ed5f$0$12680$91cee783@newsreader03.highway.telekom.at>
Hi there,

my costumer wants to send invoices per e-mail.
In the beginning maybe 100, later a thousands of them should be sent.
Each mail should get 2 pdf attached.
Every 6 months this mails get out, almost at once.

His provider thinks, it could run.
Which possibilities do i have in VO2.8 to do this?

I only know MAPI and OLE to interact with Outlook.
Can i send directly to a smpt-server?

Kindest regards,
Joe

[toc] | [next] | [standalone]


#5863

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2013-09-25 17:01 +0200
Message-ID<bagc5gFrtf5U1@mid.individual.net>
In reply to#5862
Hi Joe,

> my costumer wants to send invoices per e-mail.

a requirement I here at least every month


> In the beginning maybe 100, later a thousands of them should be sent.
> Each mail should get 2 pdf attached.
> Every 6 months this mails get out, almost at once.
> 
> His provider thinks, it could run.
> Which possibilities do i have in VO2.8 to do this?
> 
> I only know MAPI and OLE to interact with Outlook.
> Can i send directly to a smpt-server?

You have these possibilities:

- use MAPI to construct the mails and send them
- use OLE to interact with Outlook, to construct the mails and to send
them
- use the cEmail and cSMTP classes together to send the mails

All methods have their advantages:
- MAPI is easy to implement
- using OLE you are using Outlook with signatures and the sent mail in
the respective folder
- with cEmail and cSMTP you are very flexible, but you have to
construct both the text and the HTML part if you would like to send
good looking emails

Personally I think your customer should have an internal mail server
where the mails should be delivered by your program, if using SMTP.
This can be done to Exchange and also to other mail servers.

Where are your problems?

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#5864

FromJoe Bench <benchjoe@yahoo.de>
Date2013-09-26 08:01 +0200
Message-ID<5243cdc6$0$2348$91cee783@newsreader04.highway.telekom.at>
In reply to#5863
Hi Wolfang!

Wolfgang Riedmann schrieb:

> Where are your problems?

No problems ;-) . I used MAPI and OLE for other projects,
but only for sending a few mails per day.
We never tried hundreds at once.

Greetings,
Joe

[toc] | [prev] | [next] | [standalone]


#5865

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2013-09-26 12:28 +0200
Message-ID<l21286$i7b$1@dont-email.me>
In reply to#5864
Hi Joe,

with SMTP you can send thousands of emails without getting any proplems. But 
it can take programming time using the existing classes and may give 
problems with certain SMTP-Servers.

With MAPI and OLE according to our experiences you can get some problems on 
certain installations sending too quick too many emails. It would be good 
that you can define a wait time of some minutes after sending a couple of 
emails because Outlook can have strange effects when too many unsent emails 
(more than 100) are in the "Outbox"-folder.

Arne Ortlinhaus
ACS Data Systems 

[toc] | [prev] | [next] | [standalone]


#5866

Fromdlzc <dlzc1@cox.net>
Date2013-09-26 07:15 -0700
Message-ID<a8dd3da3-9c4d-4b80-93db-a979d5c400f0@googlegroups.com>
In reply to#5865
Dear Arne Ortlinghaus:

On Thursday, September 26, 2013 3:28:21 AM UTC-7, Arne Ortlinghaus wrote:
...
> It would be good that you can define a wait time of some
> minutes after sending a couple of emails because Outlook
> can have strange effects when too many unsent emails 
> (more than 100) are in the "Outbox"-folder.

Can you poll the Outbox folder, for its size, and just keep it under 20 entries?

David A. Smith

[toc] | [prev] | [next] | [standalone]


#5886

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2013-10-01 08:14 +0200
Message-ID<l2dp82$3ef$1@dont-email.me>
In reply to#5866
Hello David,

I do not know exactly. A colleage had this problem and he could not use 
polling the Outbox folders for some reasons for some specific Outlook 
versions. So the only possibility was delaying the sending.

Arne Ortlinghaus 

[toc] | [prev] | [next] | [standalone]


#6050

Fromjls@igsoft.be
Date2013-10-09 09:35 -0700
Message-ID<ef04705f-17a3-4ead-8261-9295a5fb9fb4@googlegroups.com>
In reply to#5886
Hi all

Warning sending mail with attachment with outlook can result a winmail.dat file received on the other side if he doesńt use outlook too !

We have developped our own class for sending mail in .net its more powerfull

Jean_Luc

[toc] | [prev] | [next] | [standalone]


#6051

From"Jamal" <jamal@examples.net>
Date2013-10-09 14:38 -0400
Message-ID<l347q5$qr3$1@speranza.aioe.org>
In reply to#6050
Hi Jean_Luc,

I think this an issue with Outlook 2002 and 2003 not newer versions.

It has to do with sending email messages in Rich Text format where the body 
gets converted to winmail.dat which then gets attached because the receiving 
email client cannot understand the Outlook format. It is not because of 
attaching a file.
Sending email in Plain Text format fixes the the issue.

There are readers to decode the winmail.dat like: http://www.winmail-dat.com

Jamal

wrote in message 
news:ef04705f-17a3-4ead-8261-9295a5fb9fb4@googlegroups.com...

Hi all

Warning sending mail with attachment with outlook can result a winmail.dat 
file received on the other side if he doesńt use outlook too !

We have developped our own class for sending mail in .net its more powerfull

Jean_Luc 

[toc] | [prev] | [next] | [standalone]


#6056

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2013-10-10 13:18 +0200
Message-ID<bbngn9F71k5U1@mid.individual.net>
In reply to#6051
Hi Jamal,

> I think this an issue with Outlook 2002 and 2003 not newer versions.


no, this is an issue also with 2007, 2010 and 2013 if you are using
MAPI.

The solution is to disable winmail.dat entirely.

HKEY_CURRENT_USER\Software\Microsoft\Office\%1\Outlook\Preferences

Value DisableTNEF with value 1

and the problem is solved completely.

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#5867

From"Willie Moore" <williem@wmconsulting.com>
Date2013-09-26 11:37 -0500
Message-ID<l21ns2$t8g$1@speranza.aioe.org>
In reply to#5864
Joe,

I have a VO program that would send up to 30k emails per day (to users that 
had subscribed to a web service). I used VO to run the entire thing. The 
only thing that you have to watch out for is spam. If you send too many 
emails at one time, your SMTP server can be marked as a spammer and then you 
wont be able to deliver email. The best advice that I give it to run 50 to 
100 emails at a time, then let your program sleep for a minute.

Regards,
Willie
Vulcan VIP

"Joe Bench"  wrote in message 
news:5243cdc6$0$2348$91cee783@newsreader04.highway.telekom.at...

Hi Wolfang!

Wolfgang Riedmann schrieb:

> Where are your problems?

No problems ;-) . I used MAPI and OLE for other projects,
but only for sending a few mails per day.
We never tried hundreds at once.

Greetings,
Joe 

[toc] | [prev] | [next] | [standalone]


#5868

FromJoe Bench <benchjoe@yahoo.de>
Date2013-09-27 08:11 +0200
Message-ID<52452177$0$2355$91cee783@newsreader04.highway.telekom.at>
In reply to#5867
Hi Willie,

Willie Moore schrieb:
> Joe,

> The best advice that
> I give it to run 50 to 100 emails at a time, then let your program sleep
> for a minute.

Thx! I talked to an admin of the smtp-server which should deliver this 
mails in the future: he thinks, 250mails/15minutes will be a good way
at the beginning.

;-)
Many thanks to all,
Joe

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web