At 01:09 PM 9/26/2016, Claudine Robbins wrote:

I use SET VAR vrmail = (UDF('@RMail.DLL','C:\temp\email.mal')) to send email reports and it has worked flawlessly.

Over the weekend, I de-commissioned my Exchange server and purchased email from a third party.

In my full R:BASE 9.5 install, I am able to connect using the Reports Settings Email with changes to the new
SMTP.server.com + security authentication.

How do I make this change take effect for my users running a compiled application or where do I find RMail.DLL
to make changes?

Claudine:

Without knowing all details, here are a few suggestions and examples ....

01. To use the RMail with your R:BASE 9.5 compiler, you will need the "Runtime License" of R:Mail 9.5

02. You can either place the "RMail95.RBM" Plugin with the compiled .EXE or embed it as Additional Resource

03. Stripped down sample of using R:Mail with secured third party e-mail provider, such as Google:

     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.googlemail.com
     PLUGIN RMail v1|HOST_PORT 465
     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 "Your Name" <[email protected]>
     PLUGIN RMail v1|ADD_REPLY_TO "Your Name" <[email protected]>
     PLUGIN RMail .vMailTo
     PLUGIN RMail v1|ADD_CC_RECIPIENT [email protected]
     PLUGIN RMail v1|ORGANIZATION Your Entity Name
     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 '
     PLUGIN RMail vRMail|SEND
     RETURN

Note:
All global variables, such as .vMailTo,.vSubj,.vAttachement1,vAttachment2,.vSalutation are pre-defined.

Hope that helps!

Very Best R:egards,

Razzak.



--
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to