1. Frédérique Berael
  2. PowerBuilder
  3. Thursday, 8 November 2018 10:32 AM UTC

Hi Roland,

One month before, I have asked you how to be able to define the mail originator when I'm sending an email from Power Builder program.

You have advice me to use SMTP (code example on http://www.topwizprogramming.com) which is working fine except when I'm trying to attach a zipped file (using Chilkat dll).

In this case, the email is created but the zipped file is not attached and the text 'Partially unscanned' is added before the content of the subject of the email.

Do you have an idea how to solve this problem ?

Br,

Frédérique

 

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 8 November 2018 16:01 PM UTC
  2. PowerBuilder
  3. # Permalink

'Partially unscanned' sounds more like an issue with a problem with the email being scanned by anti-virus software.

 

I have free code to create a zip file, Chilkat is a purchased tool.

http://www.topwizprogramming.com/freecode_zlibwapi.html

 

The emailsmtp_10.pbl comes from the freecode_emailsmtp.html page. You could try using the other one.

 

Comment
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Monday, 12 November 2018 00:47 AM UTC
  2. PowerBuilder
  3. # 1

Hi,

Glad to hear that.

Regards,

ZhaoKai

Comment
There are no comments made yet.
Frédérique Berael Accepted Answer Pending Moderation
  1. Friday, 9 November 2018 08:37 AM UTC
  2. PowerBuilder
  3. # 2

Hi Roland,

I have talked with the systeam and indeed the anti-virus is blocking the attachment because I have to put a password on the zip file to follow the GDPR law (General Data Protection Regulation).

Thanks for your help

I will close the discussion

Br,

Frédérique

Comment
  1. Roland Smith
  2. Friday, 9 November 2018 11:36 AM UTC
My free zip example supports password protected zipfiles.

http://www.topwizprogramming.com/freecode_zlibwapi.html

  1. Helpful
  1. Frédérique Berael
  2. Friday, 9 November 2018 12:17 PM UTC
Thanks. I will try it then.
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 8 November 2018 13:53 PM UTC
  2. PowerBuilder
  3. # 3

If someone from Appeon reads this, please tell the person that maintains this forum that words are split at the end of line instead of doing a word wrap. Very irritating.

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 8 November 2018 13:40 PM UTC
  2. PowerBuilder
  3. # 4

I have two completely different SMTP solutions on my website, which one are you using?

http://www.topwizprogramming.com/freecode_emailsmtp.html

http://www.topwizprogramming.com/pbnismtp.html

I don't know why you would be 'using Chilkat' with my tool, are you trying to attach a zip file containing the Chilkat dll?

 

Comment
  1. Frédérique Berael
  2. Thursday, 8 November 2018 14:11 PM UTC
Roland, Im trying to answer but I think it does not working. It is why I'm trying a comment :-)

My answer :

I'm not 100% sure but I think I have used the second link using the emailsmtp_10.pbl (freecode_emailsmtp doesn't sound familiar to me).



About the dll, I'm using a "Chilkat Power Builder examples" dll to zip a report I have created via PB2017.



After de creating of the zip file, I'm trying to attach it in a mail.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.