cancel
Showing results for 
Search instead for 
Did you mean: 

Email

Former Member
0 Kudos

Is there a good interface between PB 12.6 and email?  Can't seem to find any good documentation on it.  I would like to access messaging and calendar.  It is dependent upon the email system I'm sure.  Perhaps MAPI interface, but how does PB handle that?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks for the info.  I don't think I have the necessary technical know how to build this interface from scratch.  Roland, thanks for the download.  I've tried using it but I think I'm missing some of the configuration steps?  Its complaining about an unresolvable external gn_smpt, which I think needs to be set somewhere in the code.  I'm using PB 12.6 on Windows 10.

Is there an implementation guide I'm missing somewhere?

Thanks,

Jim

Former Member
0 Kudos

You must be talking about the EmailSMTP example. gn_smtp is a global variable of the n_smtp object.

Former Member
0 Kudos

Yes, I get the message:

"Unresolvable external gn_smtp when linking reference at line 45 in clicked event of object cb_send of u_tabpg_smtp"

Former Member
0 Kudos

To use in your own app, you need to copy n_winsock and n_smtp to your app. Then define a variable of type n_smtp. In my example I made it a global variable called gn_smtp. In your app it would probably be a better choice to make it a local variable called ln_smtp.

Answers (2)

Answers (2)

Former Member
0 Kudos

SAP failed to update the 12.6 documentation with the fact that they upgraded the built in email functionality from Standard MAPI to Extended MAPI.

A lot of people use my free SMTP objects to send email. You can download it from here:

Topwiz Software - EmailSMTP

Former Member
0 Kudos

Looks like I didn't fully read your question.

I have another free app that shows how to access Outlook via OLE:

Topwiz Software - Outlook

Former Member
0 Kudos

I created a non-visual object that encapsulated all the functionality I needed. It uses OLE objects to communicate with Outlook. https://msdn.microsoft.com/en-us/library/bb208225(v=office.12).aspx is a good place to start.

Someone else will be along shortly to tell you other ways to do it.

HTH, Paul