Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
Author | Forum: PowerTCP Mail for ActiveX Topic: Failed SMTP with Attachment |
aljarafesa From: Tomares, Spain Posts: 8 Member Since: 06/07/06 |
posted July 18, 2006 8:21 AM I have read an old issue with this subject and I have solved some problems, but not all. I send mail with Dart Mail without attachment and all is correct, but when attach a file the destination don't receive the email. The message in our Exchanged server say "The remote host interrupts the conexion". However, I send a email with the same attachment from Microsoft Outlook and all Ok. What can I do? Thanks |
Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted July 18, 2006 10:26 AM Hello, I have read the query and it is my understanding that you are not able to send mails with attachments. I would appreciate if you could let us know whether you are using a trial version of the product, and if not, which licensed version of the product do you have running? Also, I am not able to replicate the said scenario at my end. I would appreciate if you could provide us the following information so that we can narrow down the issue further: (1) Are you able to replicate the said scenario by running our SMTPClient sample project? This sample project is located at the following default location: C:\Program Files\PowerTCP\Mail Tool\Samples\Vb6\Smtp\Client (2) Please provide us the Trace Log for further review. You may create a Trace log using the Trace method. The syntax for this method is as follows: Object.Trace [ Result ] [ , Send ] [ , Receive ] [ , SendPrompt ] [ , ReceivePrompt ] Any further information to isolate the issue would be highly appreciated. Have a nice day ahead. Best Regards, Amit |
aljarafesa From: Tomares, Spain Posts: 8 Member Since: 06/07/06 |
posted July 21, 2006 5:51 AM Hello Mark I have tested the SmtpClient sample and all are rigth, so I have try to modify my app, but I don't get it work correctly. The original program was this: CREATE "Dart.smtp" chMail. chMail:Message:TO:DELIMITER = ";". chMail:Message:TO:ADD (cpMailDes,). chMail:Message:FROM = cpMailOri. chMail:Message:subject = cpAsunto. chMail:Message:Text = cpMsj. IF cpAdjunto <> '' THEN chMail:Message:AddAttachment (cpAdjunto). chMail:Login(cpServer,ipPuerto,cpUsu,cpPas). chMail:SEND. chMail:LOGOUT. And after test the programa is this: CREATE "Dart.smtp" chMail. chMail:Trace (OUTPUT cFile,TRUE,TRUE, CHR(10) + CHR(13) + "---->" + CHR(10) + CHR(13),CHR(10) + CHR(13) + "<----" + CHR(10) + CHR(13)). chMail:Message:TO:DELIMITER = ";". chMail:Message:TO:ADD (cpMailDes,). chMail:Message:FROM = cpMailOri. chMail:Message:subject = cpAsunto. chMail:Message:addText (cpMsj,""). IF cpAdjunto <> '' THEN chMail:Message:AddAttachment (cpAdjunto). chMail:Login(cpServer,ipPuerto,cpUsu,cpPas). chMail:DSN (0,0,""). chMail:Capabilities:Clear. chMail:SEND. chMail:LOGOUT. But niether work correctly. ¿What's the problem? ¿What's the diference between SMTPClient sample and my program? How can I send you the trace log? Thanks |
Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted July 21, 2006 12:48 PM Hello, Thanks for writing back. Regarding the query, I would request you to please provide us the following information so that we can narrow down the issue further: (1) Are you using a trial version of the product, and if not, which licensed version of the product do you have running? (2) Please provide us the sample application along with the Trace log for further review. You may send this information to amit.pal@dart.com. Have a nice day ahead. Best Regards, Amit |
Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted February 6, 2008 5:18 PM Hello, Checking the trace log sent showed that the mail was sent to the SMTP server and it had accepted the mail. Trying the same code at our side did not replicate the issue and the mail was received as expected. There could have been an issue with the SMTP server connecting to. Regards, Arjun |
Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |