If the comma is important could the CHAR funtion be used for it and concatenated into the text variable.

Maybe even concatenated in quotes:

(“John Doe" + (CHAR(44)) & "M.D.”)

(“John Doe" + "," & "M.D.”)

Regards,

Alastair.

ps: IF 44 is not a comma it's my eyes!

On 16/08/2024 16:02, 'Karen Tellef' via RBASE-L wrote:
Hmmm, interesting!  I never thought of email names with commas in it!  I'll have to remember to check that!


Karen



On Friday, August 16, 2024 at 09:58:11 AM CDT, Steve Thorson <[email protected]> wrote:


Apparently, the issue for me was in the Recipient. My variable, vFullName, had a comma in it (“John Doe, M.D.”) which throws the ADD_RECIPIENT command off. After removing the comma, the eep worked flawlessly…

Steve

*From:*[email protected] <[email protected]> *On Behalf Of *Steve Thorson
*Sent:* Thursday, August 15, 2024 11:50 PM
*To:* [email protected]
*Subject:* [RBASE-L] - RMail 11 - Error

The RMail plug in is giving me an error within an eep I’ve written and I’m not sure what is causing it.  The error is: “-ERROR- Cannot send e-mail message. (Invalid address)”

I’m using a template “RFANotice.RMT” which I’ve placed into other scripts and it produces a nicely formatted email.  Variables flowing into the plugin appear to be in order. I’ve even hard coded the email recipient for testing:

SET VAR vRecipient TEXT = ("v1|ADD_RECIPIENT" & .vFullName & "[email protected]")

PLUGIN RMail v1|CLEAR LOG

PLUGIN RMail v1|CLEAR_ALL

PLUGIN RMail v1|SHOW PROGRESS

PLUGIN RMail v1|MESSAGE_TYPE HTML

PLUGIN RMail v1|ACCOUNT_NAME AFSA_MSEmail

PLUGIN RMail .vRecipient

PLUGIN RMail v1|ADD_REPLY_TO [email protected]

PLUGIN RMail v1|ORGANIZATION "American Fibromyalgia Syndrome Association"

PLUGIN RMail v1|PRIORITY NORMAL

PLUGIN RMail v1|TEMPLATE_NAME RFANotice.RMT

PLUGIN RMail v1|SEND

I’m not sure how do debug this.  Does anyone have some ideas?

Thank you!

Steve Thorson

--
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/IA1P221MB086417EA60F9207D2A3BAF52A2812%40IA1P221MB0864.NAMP221.PROD.OUTLOOK.COM <https://groups.google.com/d/msgid/rbase-l/IA1P221MB086417EA60F9207D2A3BAF52A2812%40IA1P221MB0864.NAMP221.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.

--
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/IA1P221MB0864BB2F2C6129EED62FDF63A2812%40IA1P221MB0864.NAMP221.PROD.OUTLOOK.COM <https://groups.google.com/d/msgid/rbase-l/IA1P221MB0864BB2F2C6129EED62FDF63A2812%40IA1P221MB0864.NAMP221.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.
--
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/2106512490.7048431.1723820536796%40mail.yahoo.com <https://groups.google.com/d/msgid/rbase-l/2106512490.7048431.1723820536796%40mail.yahoo.com?utm_medium=email&utm_source=footer>.

--
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/AM7PR10MB3189FD1A6AC7AADB57476E74AC812%40AM7PR10MB3189.EURPRD10.PROD.OUTLOOK.COM.

Reply via email to