Rank: Newbie
Groups: Registered
Joined: 10/6/2015(UTC) Posts: 1
I need to send a newsletter to about 600 club members each month so will want to use the EASendMail Service as I belive this will allow users to exit my application but have their PC keep sending the emails. However my ISP will only allow me to send a maximum of 400 emails in any one hour. Is there a way to throttle the EASendMail Service to stop it sending emails more frequenly than 400 in any hour? PS Am I right in thinking that the EASendMail Service will allow my application to shut down but have the sending of emails continue in the background?
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Yes, after you sent emails to EASendMail Service, your application can exit, the service can send emails in background. You can set all:100 in SMTP Configuration->Traffic Throttling, and also set: Do not send more than specified emails to the following domain in every 15 minutes.
Rank: Newbie
Groups: Registered
Joined: 10/6/2015(UTC) Posts: 1
Thank you, that's very usefiul information.
However, reading the documentation it is not clear how I make those settings. My application will be installed on several other users' PCs. So first I have to get the service running on their PC during the installation of my application, perhaps I can do that by running EASendMailService.exe.
But even if I get that done, how do I make all the settings (described here
https://www.emailarchitect.net/easendmail/sdk/default.aspx?ct=object_queue_a ) programatically from my delphi code? The link above says
Quote: After the installation is complete, click "EASendMail Service Manager" from "Start menu-> All Programs->EmailArchitect EASendMail Service->EASendMail Service Manager" to set up the SMTP Configuration.
So it seems to assume the user opens a form and manually makes the setting there. I cannot ask my users to do that (or trust them to!), so I have to be able to make the settings via my application.
Is there any delphi code examples or documentation showing how to do that?
BTW on the page in the above link there is the line
Quote: To get the full samples of EASendMail, please refer to
Samples section.
but the link to the samples gives a 404 error
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi, you can do it like this:
install EASendMail service on your machine and set the correct configuration, then backup the easendmail service installation path\conf\config.txt
After you user installation the service, copy the backup config.txt to overwrite existed config.txt, then restart emailarchitect easendmail service in administrative tools->services, then it is ok.
If you don't want ask your user restart the service manually, you can use WMI script to restart the specified service.
here is an example:
http://www.motobit.com/t...vbs-wmi-restart-service/ here is the sample list link:
https://www.emailarchite...ail/sdk/html/samples.htm
Rank: Newbie
Groups: Registered
Joined: 10/6/2015(UTC) Posts: 1
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.