Re: [WebDNA] Emailer & SMTP ** SOLVED **
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 101864
interpreted = N
texte = From my IT guy:"It=92s really a band-aid if you will. I let WebDNA attempt to send the m=ail and it fails and dumps=20the email into the =93EmailProblem=94 folder. I then used a tool that com=es with the Windows Resource=20kit called RoboCopy, which stands for Robust Copy. I wrote a one line tex=t file that utilizes=20robocopy to copy the email from the =93EmailProblem=94 folder into my SMT=P =93Pickup=94 folder. The one=20line text file is then given a name with a .bat extension which lets me r=un the command. I use a=20switch on Robocopy =93/mov=94 which tells it to delete the source files a=fter it copies them. I also=20use the =93/log:=94 switch which gives me some historical information. Vi=ola SMTP gets the mail and=20sends it out appropriately at that point. I use windows schedule task to =run the task once a day=20on a repetitive 5 minute schedule. The job runs for 23 hours and 55 minut=es, and then is kicked=20off by the scheduler at the 24 hour mark to run for another 23 hours and =55 minutes."-DanOn Thu, 29 Jan 2009 11:52:23 -0800 "Dan Strong"
wrote:> Thank you for this info. I am going to pass it along to the IT guy who =is helping me solve this.=20>I have already informed him though, that since the site we are launching= needs to go live on 2/1=20>that if we cannot solve the problem then we'll just make IIS SMTP listen= to a folder in Globals,=20>then I will just write a sendmail function to do correctly-formatted [wr=itefile]s there, and we=20>should be good to go until we figure out the problem.> -Dan>=20>=20> On Thu, 29 Jan 2009 17:58:30 +1100> Stuart Tremain wrote:>> Dan>>=20>> I had exactly the same problem and never solved it. I could drop the =failed files into the IIS=20>>SMTP dropbox and they would go but not via WebDNA in exactly the same =manner as you describe.>>=20>> I ended up sending mail to a different SMTP server and all has been p=erfect for about 5 years.>>=20>> I suspect it is an IIS problem or an IIS SMTP config problem because I= have Merak (Icewarp) on=20>>a second server with WebDNA running and have no problem sending mail f=rom that server. I have=20>>turned off IIS SMTP on it.>>=20>> There is also another problem in sending mail on the windows platform = that no one has ever been=20>>able to solve for me, however I believe that it may be a bug in WebDNA= in the part that sends=20>>the mail to the SMTP server. I have been lead to believe this as I was= discussing it with a SMTP=20>>expert who told me that they had the same problem with some software s=ome years ago. The=20>>problem only occurs when you are sending a large number of emails at t=he same time such as a=20>>newsletter to 1,000 recipients. The logs record the email as being sen=t once, the but the=20>>recipient may receive it upto 100 times. It is not always the same rec=ipient, not every=20>>recipient, there is no pattern to the problem but after changing every=thing else over 2 years of=20>>trying many many different scenarios, the only thing that has not chan=ged is WebDNA.>>=20>> Regards>>=20>> Stuart Tremain>> IDFK Web Developments>> AUSTRALIA>> webdna@idfk.com.au>>=20>> On 29/01/2009, at 5:31 PM, Dan Strong wrote:>>=20>>> I have to assume relaying is fine since I can drop the emails in two ==20>>> different folders that IIS has or currently does listen to, and I =20>>> have also verified that IIS SMTP is allowing relaying from any =20>>> source that has been pre-authenticated... I really don't think this =20>>> is a WebDNA issue per se... I will revisit tomorrow. -Dan>>>>>>>>> On Wed, 28 Jan 2009 22:33:56 -0600>>> Donovan Brooke wrote:>>>> Dan Strong wrote:>>>>> Not in a sandbox.>>>>> -Dan>>>> Hmm, not sure then. Like you said, other than>>>> settings, and making sure your email server can>>>> accept relaying from your machine, it should work>>>> out of the box.>>>> Do you have another external POP mail server that>>>> you can test [sendmail...]'s with?>>>> Donovan>>>> --=20
Associated Messages, from the most recent to the oldest:
From my IT guy:"It=92s really a band-aid if you will. I let WebDNA attempt to send the m=ail and it fails and dumps=20the email into the =93EmailProblem=94 folder. I then used a tool that com=es with the Windows Resource=20kit called RoboCopy, which stands for Robust Copy. I wrote a one line tex=t file that utilizes=20robocopy to copy the email from the =93EmailProblem=94 folder into my SMT=P =93Pickup=94 folder. The one=20line text file is then given a name with a .bat extension which lets me r=un the command. I use a=20switch on Robocopy =93/mov=94 which tells it to delete the source files a=fter it copies them. I also=20use the =93/log:=94 switch which gives me some historical information. Vi=ola SMTP gets the mail and=20sends it out appropriately at that point. I use windows schedule task to =run the task once a day=20on a repetitive 5 minute schedule. The job runs for 23 hours and 55 minut=es, and then is kicked=20off by the scheduler at the 24 hour mark to run for another 23 hours and =55 minutes."-DanOn Thu, 29 Jan 2009 11:52:23 -0800 "Dan Strong" wrote:> Thank you for this info. I am going to pass it along to the IT guy who =is helping me solve this.=20>I have already informed him though, that since the site we are launching= needs to go live on 2/1=20>that if we cannot solve the problem then we'll just make IIS SMTP listen= to a folder in Globals,=20>then I will just write a sendmail function to do correctly-formatted [wr=itefile]s there, and we=20>should be good to go until we figure out the problem.> -Dan>=20>=20> On Thu, 29 Jan 2009 17:58:30 +1100> Stuart Tremain wrote:>> Dan>>=20>> I had exactly the same problem and never solved it. I could drop the =failed files into the IIS=20>>SMTP dropbox and they would go but not via WebDNA in exactly the same =manner as you describe.>>=20>> I ended up sending mail to a different SMTP server and all has been p=erfect for about 5 years.>>=20>> I suspect it is an IIS problem or an IIS SMTP config problem because I= have Merak (Icewarp) on=20>>a second server with WebDNA running and have no problem sending mail f=rom that server. I have=20>>turned off IIS SMTP on it.>>=20>> There is also another problem in sending mail on the windows platform = that no one has ever been=20>>able to solve for me, however I believe that it may be a bug in WebDNA= in the part that sends=20>>the mail to the SMTP server. I have been lead to believe this as I was= discussing it with a SMTP=20>>expert who told me that they had the same problem with some software s=ome years ago. The=20>>problem only occurs when you are sending a large number of emails at t=he same time such as a=20>>newsletter to 1,000 recipients. The logs record the email as being sen=t once, the but the=20>>recipient may receive it upto 100 times. It is not always the same rec=ipient, not every=20>>recipient, there is no pattern to the problem but after changing every=thing else over 2 years of=20>>trying many many different scenarios, the only thing that has not chan=ged is WebDNA.>>=20>> Regards>>=20>> Stuart Tremain>> IDFK Web Developments>> AUSTRALIA>> webdna@idfk.com.au>>=20>> On 29/01/2009, at 5:31 PM, Dan Strong wrote:>>=20>>> I have to assume relaying is fine since I can drop the emails in two ==20>>> different folders that IIS has or currently does listen to, and I =20>>> have also verified that IIS SMTP is allowing relaying from any =20>>> source that has been pre-authenticated... I really don't think this =20>>> is a WebDNA issue per se... I will revisit tomorrow. -Dan>>>>>>>>> On Wed, 28 Jan 2009 22:33:56 -0600>>> Donovan Brooke wrote:>>>> Dan Strong wrote:>>>>> Not in a sandbox.>>>>> -Dan>>>> Hmm, not sure then. Like you said, other than>>>> settings, and making sure your email server can>>>> accept relaying from your machine, it should work>>>> out of the box.>>>> Do you have another external POP mail server that>>>> you can test [sendmail...]'s with?>>>> Donovan>>>> --=20
"Dan Strong"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Draft Manual, Tutorial, and more (1997)
Multiple Replaces (1997)
SQL (2004)
same products but different (1998)
Using Plug-In while running 1.6.1 (1997)
ups quickcost [repost] (1999)
WebCat2final1 crashes (1997)
Some Advise needed (1997)
Counting LineItems (2000)
Emailer again (1997)
web delivery (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
[WebDNA] isolatin-1 to utf-8 conversion (2013)
[WebDNA] Installation for Linux Dummy.. (2013)
Sending Email (2004)
vs (1997)
Size limit for tmpl editor ? (1997)
Can't Update records (1997)
WebCat2 Append problem (B14Macacgi) (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)