Would you recommend RMail for our solution, it only needs to reside as a
single user entity as this is being sent in via a tablet to the central
database where a timer form checks for new hazard entries and sends an
alert to the appropriate recipients.


On Wed, 10 Mar 2021, 5:16 pm A. Razzak Memon, <[email protected]> wrote:

> Tony,
>
> When sending secure Emails with PDF report(s) as
> attachments, it is important to include HOST
> PORT, USE_TLS SSL_VERSION, and AUTHENTICATION.
>
> Here's an example of R:BASE applications used at
> a government facility to send secure Email with
> PDF reports as attachments (using R:Mail X.5):
>
> -- A complex code here to create PDF reports and
> define all required variables to send Email
> -- Exclusive code for R:Mail X.5
>     PLUGIN RMail v1|CLEAR_ALL
>     PLUGIN RMail v1|WAIT 1000
>     PLUGIN RMail v1|SHOW PROGRESS
>     PLUGIN RMail v1|HIDE LOG
>     PLUGIN RMail v1|MESSAGE_TYPE TEXT
>     PLUGIN RMail v1|HOST_NAME smtp.office365.com
>     PLUGIN RMail v1|HOST_PORT 587
>     PLUGIN RMail v1|USE_TLS USE_REQUIRE_TLS
>     PLUGIN RMail v1|SSL_VERSION TLSV1
>     PLUGIN RMail v1|AUTHENTICATION ON
>     PLUGIN RMail v1|USER_NAME [email protected]
>     PLUGIN RMail v1|PASSWORD password
>     PLUGIN RMail v1|SENDER_INFO_TEXT "CDBG
> Reporting System" <[email protected]>
>     PLUGIN RMail v1|ADD_REPLY_TO "CDBG Reporting
> System" <[email protected]>
>     PLUGIN RMail .vMailTo
>     PLUGIN RMail v1|ADD_CC_RECIPIENT [email protected]
>     PLUGIN RMail v1|ORGANIZATION Government Agency
>     PLUGIN RMail v1|PRIORITY HIGH
>     PLUGIN RMail .vSubj
>     PLUGIN RMail .vAttachment1
>     PLUGIN RMail .vAttachment2
>     PLUGIN RMail 'v1|ADD_TO_MESSAGE_BODY '
>     PLUGIN RMail .vSalutation
>     PLUGIN RMail 'v1|ADD_TO_MESSAGE_BODY '
>     PLUGIN RMail 'v1|ADD_TO_MESSAGE_BODY Please
> see attached Memorandum and the Cost Control Report.'
>     PLUGIN RMail 'v1|ADD_TO_MESSAGE_BODY '
>     CLS
>     SET VAR vPause3Message = +
>     ('Now sending e-mail with attachment(s)
> to:'&.vPlannerFirstName&.vPlannerLastName)
>     PAUSE 3 USING .vPause3Message +
>     CAPTION ' Cost Control Report for Planners' ICON WINDOWS +
>     OPTION TOP 160 +
>     |BACK_COLOR WHITE +
>     |MESSAGE_FONT_NAME Tahoma +
>     |MESSAGE_FONT_COLOR NAVY +
>     |MESSAGE_FONT_SIZE 12
>     PLUGIN RMail vRMail|SEND
>     IF vRMail <> 'OK' THEN
>       PLUGIN RMail v1|HIDE PROGRESS
>       CLS
>       DIALOG 'eMail did not send. Do you wish to try next planner?' +
>       vYesNo vEndKey No ICON WARNING +
>       OPTION WINDOW_BACK_COLOR WHITE +
>       |MESSAGE_BACK_COLOR WHITE +
>       |MESSAGE_FONT_NAME Tahoma +
>       |MESSAGE_FONT_COLOR RED +
>       |MESSAGE_FONT_SIZE 11 +
>       |BUTTON_YES_CAPTION &Yes +
>       |BUTTON_YES_COLOR WHITE +
>       |BUTTON_YES_FONT_COLOR GREEN +
>       |BUTTON_NO_CAPTION &No +
>       |BUTTON_NO_COLOR WHITE +
>       |BUTTON_NO_FONT_COLOR RED
>       IF vYesNo = 'No' THEN
>          BREAK
>       ENDIF
>     ENDIF
> -- more code here to continue the rest of application, etc.
>
> I hope that helps!
>
> Very Best R:egards,
>
> Razzak
>
>
> At 12:32 AM 3/10/2021, Tony Luck wrote:
>
> >I have setup under settings for reports to use
> >the Imap email via (for development purposes
> >only) gmail. The SMTP server test gets the
> >success message and <http://SMTP.GMAIL.COM>SMTP.GMAIL.COM at your
> service.Â
> >I create a hazard report that needs to be sent
> >and all looks good in the display as I have
> >preview set on, but no email gets to the
> >destination. I'm not going through our company
> >servers as yet just sitting at home trying to
> >implement this new feature to the system so there's no major firewall
> issues.
> >Have I missed something ??
>
>
>
>
> --
> For group guidelines, visit
> http://www.rbase.com/support/usersgroup_guidelines.php
> ---
> You received this message because you are subscribed to the Google Groups
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rbase-l/1Mk0iC-1lznU83UPw-00kNsL%40mrelay.perfora.net
> .
>

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/CABnhDAQfpJiY%2BArH8dVm6xahs7mtV%3DoBNgRqtgmhNsQES%3DRm-Q%40mail.gmail.com.

Reply via email to