• Error sending email to Gmail.com

    By Martin Hansgut 1 decade ago

    I use this template for a mail-in database. If send email to Gmail.com from mailbox created from this template, is return delivery failure report:

    "Our system has detected That 550-5.7.1 this message is not RFC 2822 compliant. To reduce the of amount of spam sent to Gmail, 550-5.7.1 this message has been blocked. 550 5.7.1 Please review RFC 2822 specifications for more information. b4si16634885eep.54 - gsmtp "

    After converts mailbox on standard template is email delivered to Gmail.com.

    What could be causing the error?

    • Same here

      By Klaus Terman 1 decade ago

      I have the same problem with all my teammailbox'es.



      Any solution?



      Best regards

      Klaus Terman

      • I think it's the double "From" that is causing it

        By Rasmus Spendrup 1 decade ago

        I think it's the double "From" that is causing it.

        To: Michel Seelen
        Subject: Re: mini heki dakluik onderhoud
        Date: Mon, 8 Apr 2013 12:18:03 +0200
        From: info@dometic.nl
        Reply-To: info@xxx.nl
        From: info@xxx.nl
        Message-ID:

        I would love to see an solution to this issue or an optional mail box template.

        • Actually none of the recommended fixes works.

          By Rasmus Spendrup 1 decade ago

          Hi again,

          Actually none of the recommended fixes works. Would it be possible to get a new release published perhaps as this seems to be an issue for most users of the DominoTeamMailbox?

          Thank you

          Rasmus

          • Response: a solution

            By Brian J Fuhrman 1 decade ago

            In the TeamMailboxLibrary Script Library in the SendThisMessage Function toward the bottom where it says 'Mail router needs a special field named Recipients section.     Add in the line Call note.ReplaceItemValue ("Principal",note.from).    This has worked for us on internal and External emails.

            • Great solution

              By Paul Farris 1 decade ago

              Hi Brian, This worked for me as well. Thank you.

            • Partial Solution

              By Richard Tilbury 1 decade ago

              Hi Brian, This has fixed the return-path issue, however, under preferences, advanced tab, from Display title: "Sender's Name - Mailbox Title" option and associated options no longer work.

              • solution for missing "friendly name"

                By Patrick Tippner 1 decade ago

                I'm not sure if that's the proper way to solve the problem, but it seems to work for me. Additionallly to the aforementioned fix, i added the last line to the following stanza:

                    'Reply address
                    Dim mailboxReplyTo As String
                    mailboxReplyTo = colorProfile.GetItemValue("MailboxReplyTo")(eMailAddressNo)
                    Call note.ReplaceItemValue( "ReplyTo", mailboxReplyTo )
                    Call note.ReplaceItemValue( "$InetPrincipal", mailboxReplyTo )
                    
                    mailboxReplyTo = GetMessagePrincipalName( colorProfile,eMailAddressNo) + " <" + mailboxreplyto + ">"

                I've to mention that i'm currently using a german version of the template which was customized a bit further. It allows you to specify multiple from-addresses to choose from when you send a mail. In the original template, it would look like this:

                'Reply address
                    Dim mailboxReplyTo As String
                    mailboxReplyTo = colorProfile.GetItemValue("MailboxReplyTo")(0)
                    Call note.ReplaceItemValue( "ReplyTo", mailboxReplyTo )
                    Call note.ReplaceItemValue( "$InetPrincipal", mailboxReplyTo )
                    
                    mailboxReplyTo = GetMessagePrincipalName( colorProfile,eMailAddressNo) + " <" + mailboxreplyto + ">"

                 

                Don't forget to add the following line to the end of the section titled "Mail router needs a special field, named Recipients" as mentioned before:

                Call note.ReplaceItemValue ("Principal", note.from)

                • Code did not work - one of our developers came up with this,works great

                  By Wim Remes 1 decade ago

                  Hi,

                  Thanks for this post, great to find others with same issue ... 

                  I've tried the line of code provided above but it didn't solve the issue with the name label from the preferences. We've added this and this seems to work fine

                  mailboxReplyTo = |"|&colorProfile.Getitemvalue("MailboxPrincipal")(0)&|" <|&colorProfile.Getitemvalue("MailboxReplyTo")(0)&|>|

                  regards
                  Wim

                  • Question about solution

                    By Erv Adams 1 decade ago

                    Do I need to add both of these lines of code in the template and do I delete what is already there?

                    Thanks

                     

                    mailboxReplyTo = |"|&colorProfile.Getitemvalue("MailboxPrincipal")(0)&|" <|&colorProfile.Getitemvalue("MailboxReplyTo")(0)&|>|

                    Call note.ReplaceItemValue ("Principal",note.from)

                     

                     

            • Works Perfectly!!!

              By Sue Wemp 1 decade ago

              Thanks for the solution Brian. Tried some of the other suggestions but it was a simple matter of adding "Call note.ReplaceItemValue ("Principal",note.from)" and voila, back in business!

        • Remove 'Principal'

          By Michael Tassati 1 decade ago

          Hi!

           

          it was the problem with the two From fields:

          From sendthismessage script in teammailbox library, i have removed the Principal item and now it works for GMAIL. But if you are using the same teammail box for inhouse mail, recipients will see the original notes user name as "sent by".

          May be, it is possible to remove this information on smtp gtway with a rule or the settings for outgoing mail conversion settings - if you try this, please respond.

           

          best regards

           

          Michael

    • a solution

      By slimane guemil 1 decade ago

      hi,

      I found a solution for me.

      1-open "TeamMailboxLibrary" script library

      2- go to Function "SendThisMessage"

      3- replace   'all note.CopyToDatabase( serverOutbox )  by Call note.Send(true)

      4- (doubt) remove "Encrypt" field from Memo Form.

       

      • Solution

        By Melinda Murphy 1 decade ago

        We are now having emails rejected when sent to google mail accounts. I will try your solution.

      • Solution

        By Melinda Murphy 1 decade ago

        I found something while testing. Use call note.Send (False) to avoid illegal circular reference errors if you are using computed subforms. Got this error when the recipient was a notes 8.5 mail database.

        • Re: Solution

          By Richard Tilbury 1 decade ago

          Melinda's solution is working fine for me, the duplicate From: has been removed. I see in the message header in Gmail though that the

          Return-Path: is picking up my internet address from my location doc.

          The From: & Reply-To:
          are correct. 
          
          

           

          • Works but...

            By Fabio Grasso 1 decade ago

            The solution works, but change a lot the method for send the mail.

            Using note.Send we reveal the real sender in the header of the mail, and so it isn't a complete "anonymous" mailbox anymore.

             

            I hope that there will be a solution that mantain the copy to mailbox with custom headers.

             

            Regards

    • By Tibor R Bakhuis 10 years ago

      Maybe a bit late but I discovered that if you use the email address also as your mailbox title you will be able to mail to Gmail just fine.

      Hope this helps…