Announcement

Collapse
No announcement yet.

SMTP problem in 8.3042

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SMTP problem in 8.3042

    I submitted this to support:
    I got this error when changing the SMTP Sender field from Salesforce to our server:
    System.NullPointerException: Attempt to de-reference a null object
    Error is in expression '{!SMTPType}' in component <core.apexpages.components.ApexIncludeComponent> in page cnp_paas:cnp_settings_autoresponder

    They replied:
    We have identified the issue with SMTP and going to fix this issue in our next immediate release. We do apologize for inconvenience.

    I'd like to know when this release is due out because new Autoresponders don't work now. I don't know if it's related, but all of my Autoresponders that use Salesforce as the SMTP server are not generating emails, and I can't use our SMTP server.

  • #2
    Good day!

    Sorry for the inconvenience. Please try Click & Pledge as your SMTP and it should work fine.

    We are going to have an emergency release soon. We will update you by Friday.
    Regards,
    Click & Pledge Support Department

    On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

    Join us @ the educational webinars: https://clickandpledge.com/webinars/
    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
    Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

    Comment


    • #3
      Thank you for the quick reply! I will try Click&Pledge SMTP and reply back later with the results.

      Comment


      • #4
        Yes, that worked just fine.

        I also noticed that {CnP_PaaS__CnP_Transaction__c.CnP_PaaS__Transactio nTimeZone__c} works correctly now as well. Is it possible that the SMTP server selection can affect the operation of the merge fields? I have an Autoresponder that was set to use our own SMTP server. Since I upgraded to 8.3042, {!CnP_PaaS__CnP_Transaction__c.CnP_PaaS__Transacti onTimeZone__c} hasn't been getting replaced with the transaction time by the parser. I just changed this Autoresponder to the Click&Pledge SMTP server, so we'll see what happens on the next transaction that comes through.

        Comment


        • #5
          Sure enough, changing the SMTP server setting to C&P fixed the Date/Time field in the Autoresponder. Is this a bug or am I doing something wrong? I'm not sure I'll need to change back to my own SMTP server, but it would be nice to have that option.

          Comment


          • #6
            Good day!

            I am not sure where you are getting: {!CnP_PaaS__CnP_Transaction__c.CnP_PaaS__Transacti onTimeZone__c}

            our annotations don't have ! after the bracket.

            The annotation for the Time Zone Date/Time is:
            {CnP_PaaS__CnP_Transaction__c.CnP_PaaS__TransactionTimeZone__c}

            Please note that no ! is present after { and there is no space between "i" and "on" in the TransactionTimeZone

            The SMTP issue has been resolved and the latest release may be downloaded through the appExchange or through the C&P Settings > About C&P

            Let me know if this resolves the issue.
            Regards,
            Click & Pledge Support Department

            On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

            Join us @ the educational webinars: https://clickandpledge.com/webinars/
            Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
            Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

            Comment


            • #7
              I don't know where the space came from, and the '!' was an experiment. I don't have it in the actual template.

              Here is the full content of my test template, which is the same as the production template except for the addition of the experimental tag which I inadvertently copied into my forum message:

              <table border="0" cellpadding="1" cellspacing="1" style="width: 500px; ">
              <tbody>
              <tr>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; "><span style="font-family: times new roman,times,serif; "><strong style="">Order ID:</strong>&nbsp;{CnP_PaaS__CnP_Transaction__c.Name}</span></span></td>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; "><span style="font-family: times new roman,times,serif; "><strong style="">BILL TO:</strong></span></span></td>
              </tr>
              <tr>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; "><span style="font-family: times new roman,times,serif; "><strong style="">TimeZone:</strong>&nbsp;</span></span>{CnP_PaaS__CnP_Transaction__c.CnP_PaaS__Trans actionTimeZone__c}</td>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; "><span style="font-family: times new roman,times,serif; ">{Contact.Name}</span></span></td>
              </tr>
              <tr>
              <td colspan="1" rowspan="1">
              <strong style="font-size: 14px; ">Date:&nbsp;</strong>{CnP_PaaS__CnP_Transaction__c.CnP_PaaS__Tra nsactionDate__c}</td>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; "><span>{Contact.MailingStreet}</span></span></td>
              </tr>
              <tr>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; "><span style="font-family: times new roman,times,serif; "><strong style="">Amount of Transaction:</strong><span>&nbsp;{CnP_PaaS__CnP_Transaction__c.C nP_PaaS__TotalCharged__c}</span></span></span></td>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; "><span>{Contact.MailingCity},&nbsp;</span></span><span style="font-size: 14px; ">{Contact.MailingState}&nbsp;</span><span style="font-size: 14px; ">{Contact.MailingPostalCode}</span></td>
              </tr>
              <tr>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; "><span style="font-family: times new roman,times,serif; "><strong style="">Payment Type:</strong><span>&nbsp;{CnP_PaaS__CnP_Transaction__c.C nP_PaaS__PaymentType__c}</span></span></span></td>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; ">{Contact.MailingCountry}</span></td>
              </tr>
              <tr>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; "><span style="font-family: times new roman,times,serif; "><strong style="">Credit Card Name:</strong><span>&nbsp;{CnP_PaaS__CnP_Transaction__c.C nP_PaaS__Credit_Card_Name__c}</span></span></span></td>
              <td colspan="1" rowspan="1">
              <span style="font-size: 14px; ">{Contact.Email}</span></td>
              </tr>
              <tr>
              <td colspan="1" rowspan="1">
              {!CnP_PaaS__CnP_Transaction__c.CnP_PaaS__Transacti onTimeZone__c}</td>
              <td colspan="1" rowspan="1">
              &nbsp;</td>
              </tr>
              <tr>
              <td colspan="1" rowspan="1">
              {!CnP_PaaS__CnP_Transaction__c.CnP_PaaS__Transacti onDate__c}</td>
              <td colspan="1" rowspan="1">
              &nbsp;</td>
              </tr>
              </tbody>
              </table>
              <span style="font-size: 14px; "><span style="font-family: times new roman,times,serif; "><strong>ORDER DESCRIPTION:</strong><br />
              &lt;@CnP_OrderItems&gt;</span></span><br />
              <br />

              I'll give the beta a test today.

              Comment


              • #8
                Very strange. I just looked at my last reply, and the spaces were added in different spots. It has something to do with pasting into the forum because I pasted into a Notepad window and the spaces aren't there.

                Comment


                • #9
                  I haven't tested the beta yet. In response to another issue, I re-authenticated with my SMTP server and it seems to have solved the problem.

                  Comment


                  • #10
                    Good day!

                    The SMTP should not make any difference on the content of the email. We have reviewed the HTML you posted and can't quite figure out the issue.

                    Do you wish for us to review your instance and the autoresponder? In the HTML you posted we see a lot of {! which is not our code.

                    A bit confusing.. our tests show that the time zone value is being reported correctly.
                    Regards,
                    Click & Pledge Support Department

                    On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

                    Join us @ the educational webinars: https://clickandpledge.com/webinars/
                    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
                    Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

                    Comment


                    • #11
                      No, thanks. I'll just continue to use the Click & Pledge SMTP server. Thanks for your help.

                      Comment


                      • #12
                        Well, now I'm seeing the problem with the Click & Pledge SMTP server as well, so you were right that the SMTP server shouldn't affect it. I'm going to just remove {Contact.Email} from my template, but I really think you have a bug in there somewhere. I'm mystified why you're unable to duplicate it but I guess that's the way bugs are sometimes.

                        Comment


                        • #13
                          Good day!

                          We are trying to understand the problem.

                          When you say the Time Zone is not working may I ask that you give me an example of what you expect and what you see?

                          If there is an issue we need to resolve it before it is brought up again but I may not be understanding the issue. The output versus your expectation.
                          Regards,
                          Click & Pledge Support Department

                          On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

                          Join us @ the educational webinars: https://clickandpledge.com/webinars/
                          Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
                          Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

                          Comment


                          • #14
                            I'm sorry, I jumped issues on you. I think that the TransactionTimeZone issue has been resolved, though I can't remember if I tried it again in the original setting. The related issue that I most recently commented on, is on the Contact.Email field. It's being substituted for the wrong address. Sometimes it is our Donor Services email address, and sometimes it is my own email address. I haven't identified a pattern, so I can't say what triggers the issue.

                            I certainly appreciate that you want and need to find and solve the bug, but I've determined it's not a show-stopper for me, and I need to move on. Perhaps I can revisit it after I put out some bigger fires. In the mean time, maybe your development team can do more thorough regression testing on the Autoresponder field substitution code.

                            Comment


                            • #15
                              Good day!

                              We finally figured out what is going on and why our tests work and yours does not.

                              Interesting combination!

                              In your case you have 2 auto-responders:
                              1. Responder 1: Send to static email
                              2. Responder 2: Send to the patron

                              The issue only shows up when both conditions are satisfied. When both conditions are satisfied the static email used in Responder 1 is being used for the patron email of responder 2.

                              Thank you for bringing this to our attention. We have started working on a fix and will have a beta release by Monday.
                              Regards,
                              Click & Pledge Support Department

                              On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

                              Join us @ the educational webinars: https://clickandpledge.com/webinars/
                              Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
                              Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

                              Comment

                              Working...
                              X