SMTPSend and HTTPSend

Terence Young terry.young at journeymhc.org
Thu May 21 11:39:02 EDT 2020


Hi Andy,

Actually, there is a sample lib in the Browser->Hub->Samples->External->SMTP OW3 Worker object that displays all the options very well.

t allowed me to configure it for my Office 365 for testing.  I was able to use the interface to send emil to myself, both directly and thru an email group)

We use user authentication with our Office 365 interface. To make this work, we dod the following..
1)Created a non-entity user account in our email system with authentication (thus, they have a password).
       --We named this sqlerror.messenger at jxxxxx.org
       --the purpose of using this over one of our accounts was to be able to use the account even if astaff person has left the company
2) Created an email list that contains the emails of all staff who should receive copies of the email (we are planning to ssend emails when the user encunters sql errors)
       --We named this sqlerror.handlers.list at xxxxx.org
       --Again, the list can be maintained if staff come and go with the company

Some caveats.
The sample interface is a window with four panes: server Connection, Message,Content,Results
On the server Connection pane..
  1) For Server, I had to use smtp:// instead of smtps://; also, I hd to use port 587.
          --For Example...  smtp://smtp.office365.com:587
  2) Timeout can be 10 - 30 seconds
  3) UserName is: sqlerror.messenger at jxxxxx.org
  4) Password is: the passwprd set up with the sqlerror.messenger at jxxxxx.org account
  5) logging: I set this to Full Logging (for testing)
  6) Of all the available checkbox options, I selected Require secure connection
        --the external takes care of the TLS settings for you
On the Message pane..
  1) From: this should be the same account used for the server connection: sqlerror.messenger at jxxxxx.org account
  2) Subject: can use the default for testing; or something meaningful to you.
  3) To: The eail of staff who will recieve the test sends.  I used theemail list: sqlerror.handlers.list at xxxxx.org
  4) I left theother options blank
On the Content pane...
 1) I used the default message at a first, I tried using the HTML alternative option with success later
  2) After I got the simple messages to go thru, I then tried ssendong a  png attachment
      a)Atachement set to binary (first line on left)
      b) path to png file  (first line on right)
      c) set the pull down list to image/png (second line on left)
      d) set second pull doe=wn list to No Charset (second line, to right of above)
      e) set third pulldown to binary
      f) set fourth to either attachement or inline

Hit the Start button, after 10-30 seconds, you shouod be put on the foruth pane.  if themail went, you should see 0 in the error code field.  There will be verbage in thel og field.

Hope this saves you some time..

terry

      c)




Terence J. Young, DC

System Administrator

IT

(608) 280-2679

________________________________
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> on behalf of Andy Hilton <andyh at totallybrilliant.com>
Sent: Tuesday, May 19, 2020 5:24 PM
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: Re: SMTPSend and HTTPSend

Terry

It would be awesome if you could post a sample when completed as I have to do the same thing (use a worker to Office 365) very shortly :)

Andy Hilton
Totally Brilliant Software Inc
Phone (US) : (863) 409 4870
Phone (UK) : 0207 193 8582
Web : www.totallybrilliant.com<http://www.totallybrilliant.com> <http://www.totallybrilliant.com/>
Helpdesk : http://totallybrilliant.kayako.com
Email : andyh at totallybrilliant.com

> On May 19, 2020, at 6:16 PM, Terence Young <terry.young at journeymhc.org> wrote:
>
> Thank you for your response.  We should be ableto continue to use TTPSend to ping our server,
>
> i decided to use the OW3 worker object over SMTPSend because I needed user authentication against our smtp server (which is using microsoft's office 365)
>
> i was unclear how to exeute user autentication with  the SMTPSend command.  The OW3 SMTPClientWorker  object allows for the authentication and has the tls option built in.
>
> terry
>
>
> Terence J. Young, DC
>
> System Administrator
>
> IT
>
> (608) 280-2679
>
> ________________________________
> From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> on behalf of malkishtini <malkishtini at gmail.com>
> Sent: Tuesday, May 19, 2020 4:39 PM
> To: 'OmnisDev List - English' <omnisdev-en at lists.omnis-dev.com>
> Subject: RE: SMTPSend and HTTPSend
>
> Hi,
> We use SMTPSend  in our Studio8  app and I don't install java or do any
> extra thing for the SMTP to work.
> Make sure you have ssleay32.dll and libeay32.dll in Omnis root folder;
> sometimes we run into issues when they are missing.
>
> HTH,
> Mayada
>
> -----Original Message-----
> From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf
> Of Terence Young
> Sent: Tuesday, May 19, 2020 5:20 PM
> To: omnisdev-en at lists.omnis-dev.com
> Subject: SMTPSend and HTTPSend
>
> Do the older commands SMTPSend  and HTTPSend require the use of java.
>
> i replaced the use of SMTPSend with the OWS SMTPClientWorker object calls; i
> knw this does not use Java.
>
> However, we ping a server with the HTTPSend command in another one of our
> libs.  Does it require java to be installed; or am I confusing it with an
> even older version of the external?
>
> terry
>
>
> Terence J. Young, DC
>
> System Administrator
>
> IT
>
> (608) 280-2679
>
> If you received this e-mail in error, please notify the sender, delete the
> e-mail, and do not use, disclose or store the information it contains. This
> e-mail and any attachments may contain confidential information, including
> records protected by WI Mental Health 51.30 and/or AODA federal
> confidentiality rules (42 CFR Part 2) - both prohibit you from making any
> further disclosure of this information unless further disclosure is
> expressly permitted by the written consent of the person to whom it pertains
> or as otherwise permitted by 51.30 or 42 CFR Part 2. A general authorization
> for the release of medical or other information is NOT sufficient for this
> purpose. Federal rules restrict any use of this information to criminally
> investigate or prosecute any alcohol or drug abuse client.
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
> If you received this e-mail in error, please notify the sender, delete the e-mail, and do not use, disclose or store the information it contains. This e-mail and any attachments may contain confidential information, including records protected by WI Mental Health 51.30 and/or AODA federal confidentiality rules (42 CFR Part 2) - both prohibit you from making any further disclosure of this information unless further disclosure is expressly permitted by the written consent of the person to whom it pertains or as otherwise permitted by 51.30 or 42 CFR Part 2. A general authorization for the release of medical or other information is NOT sufficient for this purpose. Federal rules restrict any use of this information to criminally investigate or prosecute any alcohol or drug abuse client.
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com

_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com



More information about the omnisdev-en mailing list