1. Dennis Little
  2. PowerBuilder
  3. Tuesday, 12 September 2017 15:00 PM UTC

Greetings,

What email method is everyone using?

We've been using pbnismtp, and are having problems when upgrading to PB2017.  (32 bit running on Citrix)

We're currently trying the PB mailsession method, but there are a couple of things that we feel are issues.
   1-Not all our users have email addresses.
   2-We'd like to be able to assign addresses to the CC line.
   3-We'd like to be able to set a general 'sent from' address, regardless of who sends the email.

After checking some of the groups, it seems like PB users prefer using SMTP over MAPI.

Any ideas or thoughts would be appreciated!

Thanks
Dennis

 

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 12 September 2017 16:58 PM UTC
  2. PowerBuilder
  3. # Permalink

I have an updated version of the PBNISMTP control that comes with 32bit and 64bit versions.

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

 

Comment
There are no comments made yet.
Sivaprakash BKR Accepted Answer Pending Moderation
  1. Wednesday, 23 September 2020 06:29 AM UTC
  2. PowerBuilder
  3. # 1

Hello,

I remember Armeen saying about email.dll that could be introduced in PB, in some other thread sometime back.   Not sure whether Appeon still have that in their plan.   This feature, if added will be a nice one, IMHO.

 

Comment
There are no comments made yet.
Daniel Vivier Accepted Answer Pending Moderation
  1. Thursday, 5 October 2017 22:07 PM UTC
  2. PowerBuilder
  3. # 2

We use the Chilkat DLL which has a huge set of tools in it for all sorts of things including SMTP. Quite reasonable cost, with no deployment charges, for a vast toolset.

Comment
There are no comments made yet.
Brad Mettee Accepted Answer Pending Moderation
  1. Thursday, 14 September 2017 12:55 PM UTC
  2. PowerBuilder
  3. # 3

We're using SocketTools Active-X Edition.

For a reasonable price, and unlimited deployment, you get a wide variety of controls (ftp, ping, dns, http, mail, mail attachments, etc.) as client component, and in some cases, there is a server component.

We've been using SocketTools for 20 years and have only had issues a couple of times, and they were addressed pretty quick. It's a very solid product.

Comment
There are no comments made yet.
Alexander Strelkov Accepted Answer Pending Moderation
  1. Thursday, 14 September 2017 06:35 AM UTC
  2. PowerBuilder
  3. # 4

We use LIBCURL library that is integrated with PB via PBNI. It works very well.

Comment
There are no comments made yet.
Aron Cox Accepted Answer Pending Moderation
  1. Wednesday, 13 September 2017 18:31 PM UTC
  2. PowerBuilder
  3. # 5

We use two ways, one is Office Interop with Outlook, the other is SMTP. To do both of these we wrote a small Active\X control in .NET 4 that we connect to from PowerBuilder with ConnectToNewObject. It works very well, and .NET is very easy to use as there are so many examples out there, can't recommend enough having at least one .NET dll for things like this.

If anyone knows a place where I can post PowerBuilder sample code and builds. I'll happily post a working dll and source with instructions on how to use it. GiHub? Anything better?

Comment
  1. Miguel Leeuwe
  2. Thursday, 17 September 2020 02:45 AM UTC
Hi Aron,

I guess that would be on https://community.appeon.com/index.php/codexchange/codexchange

regards.
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 13 September 2017 12:17 PM UTC
  2. PowerBuilder
  3. # 6

I'm not really clear on what your issues are. Please give some detail.

Comment
There are no comments made yet.
Dennis Little Accepted Answer Pending Moderation
  1. Wednesday, 13 September 2017 11:50 AM UTC
  2. PowerBuilder
  3. # 7

Sorry Roland.  I downloaded your version and had the same issues.

Dennis

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 12 September 2017 19:00 PM UTC
  2. PowerBuilder
  3. # 8

Dennis,

That example is a really old version of one from my website from 2009. It doesn't support any secure connection methods.

You should really try the PBNISMTP control from my website. You have asked basically the same question several times over the past month or so and you said you would try it but now you come back asking again but didn't give any feedback on PBNISMTP.

Please give PBNISMTP a try and let us know how it goes. Remember that if you deploy your app to 64bit, you will need to use the 64bit pbnismtp.pbx. Running within the IDE is 32bit as in prior versions.

Roland

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

 

Comment
  1. Olan Knight
  2. Wednesday, 16 September 2020 22:24 PM UTC
Hey, Roland -

I'm in PB2019R2 and thought I'd give the PNISMTP_2017 code a try. I migrated the app, added the target to one of my Workspqces, and was able to run the app.



Sadly, I got stuck on the SETTINGS page. I've no idea what to specify in any of the fields! I suspect that the PBNISMTP.pbx file is the server to use, but I've no idea how to populate the settings to do so. Any advice on how to proceed?



Thank You!
  1. Helpful
  1. Roland Smith
  2. Thursday, 17 September 2020 01:50 AM UTC
The .pbx file is a client file. A .pbx is a special type of .dll file.

'SMTP Server' is the URL for your email server, smtp.comcast.net for example.

Port is the port your SMTP server is listening on, usually 587 for TLS.

Userid & Password are your login credentials on the SMTP server.

For 'Connection Type' try 'Auto STARTTLS'.

For 'Auth Method' try AUTO.

For 'Character Set' try 'Western European (Windows)'.
  1. Helpful
There are no comments made yet.
Dennis Little Accepted Answer Pending Moderation
  1. Tuesday, 12 September 2017 18:21 PM UTC
  2. PowerBuilder
  3. # 9

Thanks Govinda, I'll give that a try.

Dennis

Comment
There are no comments made yet.
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 12 September 2017 16:45 PM UTC
  2. PowerBuilder
  3. # 10

Hi Dennis,

 

Here's the link from our knowledge base regarding Sending SMTP emails from PowerBuilder applications. It also includes a library with the example.

 

Hope this helps.

 

Regards,

Govinda Lopez

Comment
  1. Roland Smith
  2. Tuesday, 12 September 2017 18:19 PM UTC
That is a really old copy of the emailsmtp example on my website before I added secure modes. It can only handle unsecured connections.

  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.