1. rehees rafiq
  2. PowerBuilder
  3. Tuesday, 14 August 2018 15:20 PM UTC

PB2017 R2

Run code from source and the application generates emails with attachments and sent to recipients without any issue.

However, when I create an the exe and run it the recipients do NOT get the emails and I get an email from the system admin with the following:

 

Your message did not reach some or all of the intended recipients.

 

      Subject:    Variations entered:  82703

      Sent: 14/08/2018 16:08

 

The following recipient(s) cannot be reached:

 

      'systemstesting@xxx.com' on 14/08/2018 16:08

            None of your e-mail accounts could send to this recipient.

 

PS

MS Office Outlook 2010 

xxx have been used to replace company name.

Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 14 August 2018 19:59 PM UTC
  2. PowerBuilder
  3. # 1

The email actually did send but it was rejected by the mail server. Please read this:

https://kb.intermedia.net/Article/2344

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 14 August 2018 17:53 PM UTC
  2. PowerBuilder
  3. # 2

Hi Rehees; 

  Could it be because your using Standard MAPI vs Extended MAPI (or vise versa) as controlled by the setting in your PB.ini file? If so, it would then be a requirement to create a PB.ini file that gets deployed with your App's EXE to control the MAPI type at run time.

Regards ... Chris

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 14 August 2018 17:46 PM UTC
  2. PowerBuilder
  3. # 3

It would be helpful to know how your app is creating the email(s). Are you using the PB mailSession and related objects or are you interfacing to Outlook via OLE? Perhaps you are using Roland's free EmailSMTP sample application & objects or PBNISMTP code at TopWizProgramming?

Are you running the app from the same workstation that you are using to develop in? If it's a different workstation, are the necessary run-time DLL's packaged with your app?

Comment
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.