• Principal - field problem when sending out externally.

    By Juan A Pieterse 1 decade ago

    Hi there. First of all: thank you for this brilliant tool.

    We have this up and running at our company.

    Under the 'Advanced Settings' I have the following:

    Mailbox name: Training

    Internet Address: noreply@mycompany.com

    From Display Title: Mailbox Title

    Whenever an email is sent externally (e.g. to a GMail address), the Principal of the email is not displayed in the 'from' column, but rather the internet address. As per the above example I would have liked to see "Training" in the 'from' column. The reply to address is correct as specified, but it seems the 'Principal' gets lost when sending mail externally from this mailbox.

    Note: The principal ("Training" in this case) is displayed fine in the 'Who' column when sent internally (received on Notes Clients)

    Is there any setting/server setting I can change to make the "Principal" field show up correctly when sending mail externally.

    Kind Regards

    Juan

    • same problem here

      By Rene Bos 1 decade ago

      Email rejected by receiver SMTP Protocol Returned a Permanent Error 550 Messages should have one or no From headers, not 2

      In header info on enduser mail there are two from field defined with both the emailadres.

      Is this easy to be fixed in a feature build if there will be any? Or could someone help me fix it in the recent template 3.26 or 3.25

      Thanks in advance.

      • Me too!

        By Dennis van Remortel 1 decade ago

        I've recently encountered this same problem. Anyone manage to resolve this?

        • Fix for duplicate From and Principal Email address issues

          By Jeffrey Keiffer 1 decade ago

          Replace the From address section in the TeamMailboxLibrary script library with the below to fix the problems with duplicate From fields when sending Email to the Internet and the Email being sent as the Internet address instead of the principal when sending internally.  

           

           

          &#39;From address</div>
          
          Dim mailboxFrom As String</div>
          
          If ( db.Server = &quot;&quot; ) Then</div>
          
          &#39;Stamp messages as From the current user. &nbsp;This is required for messages in the local mail.box file to replicate back to the mail server.</div>
          
          Call note.ReplaceItemValue( &quot;From&quot;, session.UserName )</div>
          
          Else</div>
          
          If( mailboxFrom = &quot;&quot; ) Then</div>
          
          Call note.ReplaceItemValue( &quot;From&quot;, GetMessagePrincipalName( colorProfile ) )</div>
          
          Else</div>
          
          Call note.ReplaceItemValue( &quot;From&quot;, mailboxFrom )</div>
          
          End If</div>
          
          End If</div>
          

           

          &#39;From address
          
          Dim mailboxFrom As String
          
          If ( db.Server = &quot;&quot; ) Then
          
          &#39;Stamp messages as From the current user. &nbsp;This is required for messages in the local mail.box file to replicate back to the mail server.
          
          Call note.ReplaceItemValue( &quot;From&quot;, session.UserName )
          
          Else
          
          If( mailboxFrom = &quot;&quot; ) Then
          
          Call note.ReplaceItemValue( &quot;From&quot;, GetMessagePrincipalName( colorProfile ) )
          
          Else
          
          Call note.ReplaceItemValue( &quot;From&quot;, mailboxFrom )
          
          End If
          
          End If
          

           

          &#39;From address
          
          Dim mailboxFrom As String
          
          If ( db.Server = &quot;&quot; ) Then
          
          &#39;Stamp messages as From the current user. &nbsp;This is required for messages in the local mail.box file to replicate back to the mail server.
          
          Call note.ReplaceItemValue( &quot;From&quot;, session.UserName )
          
          Else
          
          If( mailboxFrom = &quot;&quot; ) Then
          
          Call note.ReplaceItemValue( &quot;From&quot;, GetMessagePrincipalName( colorProfile ) )
          
          Else
          
          Call note.ReplaceItemValue( &quot;From&quot;, mailboxFrom )
          
          End If
          
          End If
          

           

          &#39;From address
          
          Dim mailboxFrom As String
          
          If ( db.Server = &quot;&quot; ) Then
          
          &#39;Stamp messages as From the current user. &nbsp;This is required for messages in the local mail.box file to replicate back to the mail server.
          
          Call note.ReplaceItemValue( &quot;From&quot;, session.UserName )
          
          Else
          
          If( mailboxFrom = &quot;&quot; ) Then
          
          Call note.ReplaceItemValue( &quot;From&quot;, GetMessagePrincipalName( colorProfile ) )
          
          Else
          
          Call note.ReplaceItemValue( &quot;From&quot;, mailboxFrom )
          
          End If
          
          End If
          
          • A better fix

            By Jeffrey Keiffer 1 decade ago

             

            The below resolves a problem when using the From Display Title setting in the mailbox preferences.  

             

            &#39;From address
            
            Dim MailboxPrincipal As String
            
            Dim mailboxFrom As String
            
            mailboxFrom = colorProfile.GetItemValue(&quot;mailboxFrom&quot;)(0)
            
            MailboxPrincipal = colorProfile.GetItemValue(&quot;MailboxPrincipal&quot;)(0)
            
            If ( db.Server = &quot;&quot; ) Then
            
            &#39;Stamp messages as From the current user. &nbsp;This is required for messages in the local mail.box file to replicate back to the mail server.
            
            Call note.ReplaceItemValue( &quot;From&quot;, session.UserName )
            
            Else
            
            If( mailboxFrom = &quot;&quot; ) Then
            
            Call note.ReplaceItemValue( &quot;From&quot;, MailboxPrincipal )
            
            Else
            
            Call note.ReplaceItemValue( &quot;From&quot;, mailboxFrom )
            
            End If
            
            End If
            
            • not so good... :(

              By Bruce Willis 1 decade ago

              Unfortunately the sender is shown then with a wrong address:

              myDomail Einkauf <myDomail_Einkauf@notes.myDomail.de>

              Return-Path: myDomail_Einkauf@notes.myDomail.de

              The Reply is OK anyway:
              einkauf@myDomail.de

              Reply-To: einkauf@myDomail.de