Email node: Error while executing Email activity

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
JudeBac
Veteran Member
Posts: 129
Veteran Member
    Good morning. Hope I can be a contribuitor one day, for now please allow me to ask for assitance again.

    Lawson 8.03 and ProcessFlow Pro 8.03 and Portal Inbasket.

    In the Email Node "FROM.." I select Tasks instead of hardcoded email address. If the selected task is assigned to one person, the email will go through. But once I assigned/added another person to the task (WF12.1), the email will fail with the following error:

    Error while executing Email activity
    javax.mail.internet.AddressException: Illegal address in string ``name.name@jax.ufl.edu,name.name@jax.ufl.edu''
    Stack Trace : javax.mail.internet.AddressException: Illegal address in string ``name.name@jax.ufl.edu,name.name@jax.ufl.edu''

    This is not happening to the "TO..."

    Thank you,

    Jude
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      This is happening because you can't have more than one From address and if you have two or more people assigned to the same Task the system is finding them and trying to use both (or all) addresses. In the To address you can have multiple addresses. Most people use a generic From address (like PFAdmin@jax.ufl.edu) if your mail server allows.

      The alternative is to have the system look up the first person assigned to your Task and then use their email address (use a query to look up the user and use their email address) in the From address.
      David Williams
      JudeBac
      Veteran Member
      Posts: 129
      Veteran Member
        that makes sense David. Thanks.