Support » Plugin: Post SMTP Mailer/Email Log » Feature Request: Add support for GoldMine Content Type

  • Hello,

    On one project where lead capture and feed to Gold Mine is used, I noticed that Post SMTP throwing notice:

    ERROR PostmanMessage: Unknown content-type: application/x-gm-impdata

    So I had to apply following modification to stop this notice throwing out:
    I file /wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanMessage.php within the public method createBodyParts() before line 113:

    } else if ( substr( $contentType, 0, 9 ) === 'text/html' ) {

    I added following code:

    			} else if ( substr( $contentType, 0, 24 ) === 'application/x-gm-impdata' ) {
    				$this->logger->debug( 'Creating GoldMine Lead body part' );
    				$this->setBodyTextPart( $body );
    

    Are you OKay to add this case to Post SMTP plugin?

    Best regards,
    Aleksandar

  • You must be logged in to reply to this topic.