Emails from Google Apps Script are not converted into a post

  • Unknown's avatar

    Dear wordpress.com support,

    We are sending some emails from Google Apps Script using the below object:

    https://developers.google.com/apps-script/reference/mail/mail-app

    These emails are basically converted into a post using the email by post feature:

    Post by Email

    This had been working well for the last 3 months or so. However, since yesterday, any emails sent using Mail App (https://developers.google.com/apps-script/reference/mail/mail-app) are not converted into a post. May you please share if you have impose some restriction on it?

    Many thanks for your help.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The blog I need help with is asposesialkotgroup.wordpress.com.

    Correction please: The blog having this error is conholdatemarketingmetrics.wordpress.com.

    Thanks you

  • Hi there,

    The last post we received via Post by Email for https://conholdatemarketingmetrics.wordpress.com/ was on 9 November – we received four posts on that day, all of them apparently test posts, and all were successfully published, and I can see them on the site itself.

    The last actual post we received was on 8 November, and titled Weekly GroupDocs for .NET Organic Traffic – Historic User Acquisition Comparison – 2019.11.08 – I also see this post on your site.

    Our logs don’t show any further posts since then, which means we didn’t receive any.

    If we received them, but they weren’t published due to rate limiting or being marked as spam, they would still appear in the logs, so the fact that there’s nothing in the logs means we never received anything to begin with. That would indicate the emails are not sending correctly from your mail app, so please contact Google support instead to investigate it from their end.

  • Unknown's avatar

    @kokkieh Thanks for looking into the logs. We checked with various use cases and it looks like Google Apps Script is sending emails correctly. For example, please try the following in script.google.com:

    MailApp.sendEmail(“(email visible only to moderators and staff)”,
    “TPS reports”,
    “Where are the TPS reports?”);

    When using it with personal email address, it is sending the email correctly to my personal email address. However, when use it with the secret email address given by wordpress.com, it is not showing up anywhere. May you please check it in this way?

    Any help would be appreciated.

  • Unknown's avatar
    MailApp.sendEmail(“(email visible only to moderators and staff)”,
    “TPS reports”,
    “Where are the TPS reports?”);
  • We’re not familiar with how Google Apps scripts work, so we cannot really test it on our end.

    I can see that there were several new emails received and published for your site since yesterday, could you please let us know how you sent those?

    Also, since you’re sure that the issue is not on your end, do you have any type of logging for that which you can check on your end? Othwerwise, how do you check that the script does work?

  • The topic ‘Emails from Google Apps Script are not converted into a post’ is closed to new replies.