Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2423 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Using emailCreate you can specify the from address for a new message.

The online manual says; the FROM address for the new message. Use "Name <[email protected]>" for displaying the name instead.

This works fine for 'Jerry Salem <[email protected]>'

However if I use this; 'Salem, Jerry <[email protected]>' I get an error.

Other than removing the comma are there any work arounds?

 

Posted

For anyone else running into this issue, the reason using 'Salem, Jerry <[email protected]>'  causes an error is because EmailCreate is designed so that a "," is used to separate email addresses in a list so to the plugin it looks like "Salem"  is being passed in as an email address which will obviously fail the check for the @ symbol.  

Posted
2 minutes ago, ryan360Works said:

 the reason using 'Salem, Jerry <[email protected]>'  causes an error is because EmailCreate is designed so that a "," is used to separate email addresses in a list

Ryan

I thought that was the issue.

However (I believe) you can only have one email in the FROM section. So the plugin doesn't need to check for commas there.

 

 

Posted

That is true, I can't think of any situation where there would need to be more than one sending address (probably against some kind of standard as well). There may be something simple that can be changed. I suspect that the same email address validation code that checks the "to" parameter also runs for the "from" parameter and in that logic, it checks for a "," the presence of a comma tells the plugin that there is a list of email addresses, it then  takes the text preceding the comma and checks for the presence of an @ symbol. I will create an issue in our issue tracking system to review this but for now you will need leave the comma out or enter the name as firstName LastName <emailaddress>.

  • Like 1

This topic is 2423 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.