cancel
Showing results for 
Search instead for 
Did you mean: 

Powerbuilder + Newsletter

Former Member
0 Kudos

Hello

I'm looking for a way to interface Powerbuilder with a program for Newsetter.

I need to send emails, but did not want to use MAPI for a variety of reasons which I will not specify here.

Someone has interfaced some free program ?

The maximum would be able to share (somehow) the master data of the program with those of our. ERP.


thank you

G.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

I cannot disagree with anything you have said

I'm glad you were able to help Armeen, he was really after a list of bugs that need fixing (I suspect so that he could charge SAP for it )

Former Member
0 Kudos

Hi David;

  I'm guessing that the main reason for knowing the bugs in PB 12.6 is that SAP and/or Appeon are looking to start their PB adventure off with the version 12.6 code set. However if true ( again just a guess on my part) - that being said, it then puts the pressure on Appeon to fix the various problems in v12.6 first before they can move PB Classic ahead to the next level. So its a real challenge (IMHO) for Appeon as they need to figure out how soon they can deliver a new PB release with new features yet address the various problems introduced by SAP to make PB attractive again to upgrade.

    SAP caused the v12.6 problem (IMHO) by not running a proper public beta and release candidate series product roll-out like any other normal software vendor would do - even as we had always seen with PowerSoft & Sybase. I have never seen any other reputable system software vendor do such a shoddy software release like SAP did on PB 12.6.

  Personally - if i were SAP & Appeon - I would make the next release free like Microsoft did with W10 to regain some PB community trust and apologize for v12.6. I would also expect SAP to compensate Appeon monetarily for their software injustice until Appeon can get PB back on its feet. Its really the "right" thing for SAP to do considering the 4+ years of product grief the PB Community has had to endure.

Just my $0.02.

Regards ... Chris

Former Member
0 Kudos

thanks for the answers, I will treasure, but I was looking for something to link an external product for newsletter (free)

so it manages the lists of sending,

templates for letters,

send block (not massive to avoid spam),

etc

Former Member
0 Kudos

Hi Gimmy;

  I wrote something like this for my Martial Arts classes. Its an application built from the STD Framework that maintains a list of students, allows you to select all or any sub-set of them to receive mail. Then you can choose a form letter or type one in and then using the frameworks SMTP send out an individual email to each student.

  Sounds like you are trying to do the same type of thing. If of interest, I can email you the application and you can retrofit it for you use.

Regards ... Chris

Former Member
0 Kudos

You can use my SMTP object to send email. It is my most popular example.

Topwiz Software - EmailSMTP

The SMTP object in Chris' framework is a copy of my object from about 3 years ago. You would be better off using the most up to date version from my website. I have made a lot of bug fixes based on user feedback.

Notes for Chris:

I downloaded your framework using Chrome and it flagged it as dangerous and not commonly downloaded.

You should have something on the sourceforge page or in the readme text file that says what version of PowerBuilder the code is.

I don't mind you using my objects when you keep my comments. I would like you to include in your readme a list of my objects used and a link to the page on my website where the object came from so that users can get the latest version if they want.

Former Member
0 Kudos

Hi Roland;

  I normally use FireFox for downloading and have never had an issue form SourceForge. However, I just tried using Chrome v46.0.2490.71 and it worked flawlessly. I suspect that the problem is on your end with maybe some malware like the Conduit Toolbar, your particular anti-virus, etc.

  As far as the Foundation Classes and their example applications - they all identify the associated PB type, version and build number in both their included read-me file and and the download file name itself, for example:  STD_FC_Integrated_v2015.4.1.45_Classic_12.1.0_B6518_2015-10-06 or STD_FC_PB2Java_2015.1.0.1_PB12.1_Classic_B6518_2015_10_08

FWIW: Many of my Canadian Government clients download various open source projects from SourceForge on a regular basis and utilize this code in production. The Canadian Government is very particular where you can download from and extremely picky on what software you can use on a production server or workstation.

HTH

regards ... Chris

Former Member
0 Kudos

I think a zip file viewer I installed may have set the MIME type for .zip to a rarely used value.

Any reason why you use 12.1? Has anything really changed since 10.5 that would affect a generic business framework?

Former Member
0 Kudos

Hi Roland;

Q1:  Any reason why you use 12.1?

A1:  That is a great question! Yes, I use PB 12.x because ...

  -  It represents the current PB architecture that most people have installed in production.

  -  Until recently, it was the lowest supported version.

      As soon as Appeon moves that bar forward - I'll move the framework there

  -  Since PB 12.6 is not stable enough  for production (IMHO),

      I consider both 12.1 & 12.5.1 the main viable (supportable) versions of PB

  -  There are 12.x features my code uses

  -   PB 12.x properly supports W7/W8

  -   I would never recommend to any PB user using an outdated and unsupported version

      of any PB. In fact of any vendors software for that matter.

  -  PB 12.x supports more current DBMS versions / drivers.

  -  PB 12.x has many small W7/8 & Unicode issues fixed.

  -  I want to demonstrate to the PB community that they can upgrade from archaic releases

      like PB 10.x and that PB 12.x is a viable production platform.

  -  Issuing software on old PB 10 only encourages the PB community to stay on

     an outdated and unsupported version of PB - which in the long run -

     does not  help anyone. 

  etc.

Q2:  Has anything really changed since 10.5 that would affect a generic business framework?

A2:  Lots!  FWIW: I would have already moved the framework to PB 12.6 if SAP had not botched this release and made it unsuitable for production. I already have a dozen new features in the framework that I have developed around the new 12.6.x feature set. Hopefully very soon, Appeon will get control and move PB forward so that  v15 / v2016 (or what ever they call it) will be adopted by the PB community. Then I can move the framework ahead. 

Former Member
0 Kudos

Related to Q1:

Something else that concerns me about people preferring PB10 is that they did not require a license key for that version which make pirated versions easier to use. If PB is to have any future then we the USERS should be prepared to pay for licenses, support or upgrades.

I support the idea of only releasing the latest framework for the new supported version this encourages people to keep up to date which has always been a problem for PB in the past.

Related to Q2:

You say that PB12.6 is unstable and that is my opinion too, but when Armeen asked me for evidence in the forums I found it difficult to find. Is it really as bad as we think?

Former Member
0 Kudos

Hi David;

S1: people preferring PB10 is that they did not require a license key

=>  I agree,  I think that this is a key question for people still publishing on PB 10 and lower.  Do they even have a current PB license?  However, it also reflects the current state of PB under SAP ...

       1) Over priced

       2) No levels of product like before (Desktop, Professional, Team, etc)

       3) No Community / Express version

       4) No version to support independent consultants.

       5) Having to buy a support subscription just to get fixes - WTF?

       6) Low new feature to upgrade value

       etc ... there needs to be a lot more great incentives and ROI for upgrading IMHO!

S2: FWIW .. I was able to point Armeen to dozens & dozens of issues with PB 12.6 documented in quite a few places - including SCN.

Regards ... Chris

Former Member
0 Kudos

The undocumented mess they introduced by changing alignment of external functions is enough to avoid 12.6 for me.

Former Member
0 Kudos

  Yep - that's a good one!   Just one of the many issues that should have been caught & ironed out in a proper public beta + release candidate roll-out.  

Former Member
0 Kudos

HI Roland;

   Have you ever thought about rewriting your stuff for my STD frameworks? I would LOVE to see your stuff work within the frameworks and give you full credit for the code contribution!  

   The framework to me is really a a personal expression of love working with PB and the PB Community. I have never charged for it or restricted people from just using parts of it and hope that people will use it as either a) a learning tool; b) a productivity tool; c) a repository of kool things you CAN do with PB; d) an environment that leverages your application into the web & mobile space; e) allows you to leverage your local O/S feature set; f) inspiration; g) working within an ecosystem; h) demonstrate what proper architecture can do for you; h) further enable your PB & Appeon applications; I) integrate n-tier computing;  etc, etc!

   In order to be compliant, your code examples would have to:

1) Inherit from the proper framework classes

2) Use the framework logging (framework's, debug or event).

3) Be multi-lingual

4) Support multi-threading

5) Support extra actions while in "debug" mode

6) Use the framework messaging sub-system

7) Observe "silent" mode (when running as a Service or batch application).

😎 Use proper OO coding

9) Use the framework's naming standard

10) Support Appeon Web

11) Support Appeon Mobile

12) Support current versions of PB Classic & Appeon

13) Run in the Web Service framework like it does in the integrated framework observing the above.

etc ...

Lets put some "synergy" back into PB and help Appeon move forward!   

Food for thought!  

Regards ... Chris

Former Member
0 Kudos

I don't really have the extra time for that. If you have some free time, you might want to re-integrate my objects so you have the latest versions.

Former Member
0 Kudos

Hi Roland;

  Thank you ... I will endevour to do that soon.

Regards .. Chris

Former Member
0 Kudos

Getting back to the original question about sending newsletters, I think it really depends on how many recipients you have for those newsletters. As soon as you have hundreds of recipients, or especially if you have thousands, you run the risk of various ISPs classifying you as a spammer and having serious deliverability issues.

That's why I prefer to use email services for my mass emails. I use Campaign Monitor, but other biggies are Constant Contact, etc. I think they all have APIs that you can use to control them, and you can upload lists of recipients etc.

I do provide a newsletter sending mechanism in the program I sell, using a 3rd party SMTP control, but the Help advises against using it for too many recipients.

Former Member
0 Kudos

Hi Dan

You are right. I have to send thousands of recipients and the spamm is the real problem.

The newsletter program have some features for that problem.

I' m looking for news about link to that program

( i don't want to import the recipients by menu; i dream an api or a function in my ERP for upload them ).

i'm studing MAILCLIMP; Someone do that ?

Former Member
0 Kudos

You should investigate others if you want, but CampaignMonitor definitely does have that. However, just to warn you I don't think they have a straight COM/ActiveX API built. You can program directly to the REST interface (as I recall), but what I did was use their .NET higher-level interface, and then integrate that into PB with a COM wrapper.

Former Member
0 Kudos

I haven't used MailChimp but it appears that you can use this REST API like the following:

objHTTP = Create OLEObject

If objHTTP.ConnectToNewObject("MSXML2.ServerXMLHTTP") = 0 Then

   objHTTP.Open("GET", ls_RestURI, False)

   objHTTP.Send()

   objHTTP.DisconnectObject()

   Destroy objHTTP

End If


Former Member
0 Kudos

It sounds good... in classic or .net ?

Former Member
0 Kudos

Classic

Former Member
0 Kudos

Hi Gimmy;

  Are you using my framework for this project?

Regards ... Chris

Former Member
0 Kudos

hi Chris

Yes

Former Member
0 Kudos

Send email using CDO works for me .. Hope, it will be helpful for you..

Regards,

Jahir

Former Member
0 Kudos