Support » Plugin: Postie » Outlook-sent images not showing

  • Resolved truhgor

    (@truhgor)


    Hello

    When a message sent from Outlook is processed, there’s no image showing just the image adress in [ ].
    Mail sent from other clients work just fine.

    In the debug-text I can see the correct code being generated, but somwhere along the way, it changes…

    https://wordpress.org/plugins/postie/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    Can you post the debug output of it not working?

    With som crude anonymization…

    Starting mail fetch
    
    Postie Version: 1.7.31
    
    Wordpress Version: 4.4.2
    
    PHP Version: 5.3.29
    
    OS: Linux apache-03-38 2.6.32-531.17.1.lve1.2.58.el6.x86_64 #1 SMP Wed Jun 18 08:28:56 EDT 2014 x86_64
    
    POSTIE_DEBUG: On
    
    Time: 2016-04-11 20:00:46 GMT
    
    Error log: path/logs/php-error.log
    
    TMP dir: /tmp/
    
    Postie is in path/public_html/logg/wp-content/plugins/postie/
    
    Cron: On
    
    Alternate Cron: Off
    
    wp_content_path: path/public_html/logg/wp-content
    
    Connecting to imap.server.nu:143 (imap)
    
    imap: connection string - {imap.server.nu:143/service=imap/notls/novalidate-cert}
    
    imap: disabling GSSAPI
    
    imap: connected
    
    stdClass Object
    (
        [flags] => 31
        [messages] => 1
        [recent] => 1
        [unseen] => 1
        [uidnext] => 13
        [uidvalidity] => 1459892820
    )
    
    imap: deleting message 1
    
    imap: expunge
    
    imap: closing connection
    
    There are 1 messages to process
    
    memory at start of email processing:16089536
    
    Array
    (
        [add_meta] => no
        [admin_username] => Admin
        [allow_html_in_body] => 1
        [allow_html_in_subject] => 1
        [allow_subject_in_mail] => 1
        [audiotemplate] => <a href="{FILELINK}">{FILENAME}</a>
        [audiotypes] => Array
            (
                [0] => m4a
                [1] => mp3
                [2] => ogg
                [3] => wav
                [4] => mpeg
            )
    
        [authorized_addresses] => Array
            (
                [0] => xx@xx.xx
                [1] => xx@xx.xx
                [2] => xx@xx.xx
                [3] => xx@xx.xx
                [4] => xx@xx.xx
                [5] => xx@xx.xx
                [6] => xx@xx.xx
                [7] => xx@xx.xx
            )
    
        [banned_files_list] => Array
            (
            )
    
        [confirmation_email] => sender
        [convertnewline] => 0
        [converturls] => 1
        [custom_image_field] => 0
        [default_post_category] => 1
        [category_match] => 1
        [default_post_tags] => Array
            (
            )
    
        [default_title] => Live From The Field
        [delete_mail_after_processing] => 1
        [drop_signature] => 1
        [filternewlines] => 1
        [forward_rejected_mail] => 1
        [icon_set] => silver
        [icon_size] => 32
        [auto_gallery] => 0
        [image_new_window] =>
        [image_placeholder] => #img%#
        [images_append] => 1
        [imagetemplate] => <a href="{IMAGE}"><img src="{MEDIUM}" alt="{CAPTION}" width="{MEDIUMWIDTH}" height="{MEDIUMHEIGHT}" class="aligncenter" /></a>
        [imagetemplates] => Array
            (
                [simple_link] => <a href="{FILELINK}">{FILENAME}</a>
                [no_wrappers] => <a href="{IMAGE}"><img src="{THUMBNAIL}" alt="{CAPTION}" title="{CAPTION}" class="attachment" /></a>
                [wordpress_default] => <a href="{PAGELINK}"><img src="{MEDIUM}" alt="{CAPTION}" width="{MEDIUMWIDTH}" height="{MEDIUMHEIGHT}" class="alignnone size-medium wp-image-{ID}" /></a>
                [thumbnail_left] => <div style="float:left;margin-right:10px;"><a href="{IMAGE}"><img src="{THUMBNAIL}" alt="{CAPTION}" title="{CAPTION}" class="attachment" /></a></div>
                [thumbnail_right] => <div style="float:right;margin-left:10px;"><a href="{IMAGE}"><img src="{THUMBNAIL}" alt="{CAPTION}" title="{CAPTION}" class="attachment" /></a></div>
                [robert_felty] => <div style="margin-right:10px;background:black;color:white;padding:2px; width:{MEDIUMWIDTH};float:left"><a href="{IMAGE}"><img src="{MEDIUM}" alt="{CAPTION}" title="{CAPTION}" class="attachment" /></a><div style="padding:.2em;text-align:left">{CAPTION}</div></div>
                [postie_legacy] => <div class="postie-image-div"><a href="{IMAGE}"><img src="{THUMBNAIL}" alt="{FILENAME}" title="{FILENAME}" style="border:none" class="postie-image" /></a></div>
                [custom] =>
            )
    
        [input_protocol] => imap
        [interval] => tenminutes
        [mail_server] => imap.server.nu
        [mail_server_port] => 143
        [mail_userid] => xx@xx.xx
        [maxemails] => 0
        [message_start] => :start
        [message_end] => :end
        [message_encoding] => UTF-8
        [message_dequote] => 1
        [post_status] => publish
        [prefer_text_type] => plain
        [return_to_sender] => 0
        [role_access] => Array
            (
            )
    
        [selected_audiotemplate] => simple_link
        [selected_imagetemplate] => custom
        [selected_video1template] => simple_link
        [selected_video2template] => simple_link
        [shortcode] =>
        [sig_pattern_list] => Array
            (
                [0] => --\s?[\r\n]?
                [1] => --\s
                [2] => --
                [3] => ---
            )
    
        [smtp] => Array
            (
            )
    
        [start_image_count_at_zero] => 0
        [supported_file_types] => Array
            (
                [0] => application
            )
    
        [turn_authorization_off] => 0
        [time_offset] => 2
        [video1template] => <a href="{FILELINK}">{FILENAME}</a>
        [video1types] => Array
            (
                [0] => mp4
                [1] => mpeg4
                [2] => 3gp
                [3] => 3gpp
                [4] => 3gpp2
                [5] => 3gp2
                [6] => mov
                [7] => mpeg
                [8] => quicktime
            )
    
        [video2template] => <a href="{FILELINK}">{FILENAME}</a>
        [video2types] => Array
            (
                [0] => x-flv
            )
    
        [video1templates] => Array
            (
                [simple_link] => <a href="{FILELINK}">{FILENAME}</a>
                [small] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="128"height="96"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="128" height="96"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="128" height="110" scale="tofit"></embed> </object>
                [medium] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320"height="240"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="320" height="240"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="320" height="260" scale="tofit"></embed> </object>
                [medium_widescreen] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480"height="270"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="480" height="270"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="480" height="290" scale="tofit"></embed> </object>
                [large] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480"height="360"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="480" height="360"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="480" height="380" scale="tofit"></embed> </object>
                [large_widescreen] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="640"height="360"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="640" height="360"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="640" height="380" scale="tofit"></embed> </object>
                [vshortcode] => [video width="568" height="320" {FILETYPE}="{FILELINK}"][/video]
                [custom] =>
            )
    
        [video2templates] => Array
            (
                [simple_link] => <a href="{FILELINK}">{FILENAME}</a>
                [small] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="128"height="96"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="128" height="96"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="128" height="110"></embed> </object>
                [medium] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320"height="240"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="320" height="240"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="320" height="260"></embed> </object>
                [medium_widescreen] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480"height="270"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="480" height="270"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="480" height="290"></embed> </object>
                [large] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480"height="360"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="480" height="360"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="480" height="380"></embed> </object>
                [large_widescreen] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="640"height="360"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="640" height="360"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="640" height="380"></embed> </object>
                [flv_embed] => [flv:{FILELINK} 480 270]
                [custom] =>
            )
    
        [wrap_pre] => no
        [featured_image] => 0
        [include_featured_image] => 1
        [email_tls] => 0
        [post_format] => standard
        [post_type] => post
        [generaltemplates] => Array
            (
                [postie_default] => <a href="{FILELINK}">{ICON} {FILENAME}</a>
                [simple_link] => <a href="{FILELINK}">{FILENAME}</a>
                [custom] =>
            )
    
        [generaltemplate] => <a href="{FILELINK}">{ICON} {FILENAME}</a>
        [selected_generaltemplate] => postie_default
        [generate_thumbnails] => 1
        [reply_as_comment] => 1
        [force_user_login] => 0
        [auto_gallery_link] => Default
        [ignore_mail_state] => 0
        [strip_reply] => 1
        [postie_log_error] => 1
        [postie_log_debug] => 0
        [category_colon] => 1
        [category_dash] => 1
        [category_bracket] => 1
    )
    
    1: ------------------------------------
    
    RemoveExtraCharactersInEmailAddress: xx@xx.xx (1)
    
    Array
    (
        [0] => Xx Xxxx <xx@xx.xx>
        [1] => xx@xx.xx
    )
    
    ValidatePoster: post postie_filter_email xx@xx.xx
    
    RemoveExtraCharactersInEmailAddress: xx@xx.xx(1)
    
    Array
    (
        [0] => xx@xx.xx<xx@xx.xx>
        [1] => xx@xx.xx
    )
    
    ValidatePoster: post postie_filter_email2 xx@xx.xx
    
    ValidatePoster: post postie_filter_email3 xx@xx.xx
    
    Confirming Access For xx@xx.xx
    
    ValidatePoster: looking up default user XX Xxxx
    
    ValidatePoster: pre postie_author (default) 2
    
    ValidatePoster: post postie_author (default) 2
    
    ValidatePoster: found user '2'
    
    tmp post id is 1074
    
    Message Id is :<DB5PR07MB16054E3A81095B4B74F9AF70C9940@DB5PR07MB1605.eurprd07.prod.outlook.com>
    
    filter_PreferedText: begin 2
    
    filter_PreferedText: part: 0 multipart/alternative
    
    filter_PreferedText: keeping: multipart
    
    filter_PreferedText: part: 1 image/jpeg
    
    filter_PreferedText: keeping: image
    
    2 parts
    
    filter_PreferedText: end
    
    GetContent: ---- start
    
    GetContent: primary= multipart, secondary = related
    
    GetContent: pre sanitize file name ''
    
    GetContent: file name ''
    
    GetContent: extension ''
    
    GetContent: secondary lookup failed, checking configured extensions
    
    GetContent: found no extension
    
    GetContent: mimetype multipart/related
    
    GetContent: multipart: 2
    
    filter_PreferedText: begin 2
    
    filter_PreferedText: part: 0 multipart/alternative
    
    filter_PreferedText: keeping: multipart
    
    filter_PreferedText: part: 1 image/jpeg
    
    filter_PreferedText: keeping: image
    
    2 parts
    
    filter_PreferedText: end
    
    GetContent: ---- start
    
    GetContent: primary= multipart, secondary = alternative
    
    GetContent: pre sanitize file name ''
    
    GetContent: file name ''
    
    GetContent: extension ''
    
    GetContent: secondary lookup failed, checking configured extensions
    
    GetContent: found no extension
    
    GetContent: mimetype multipart/alternative
    
    GetContent: multipart: 2
    
    filter_PreferedText: begin 2
    
    filter_PreferedText: part: 0 text/plain
    
    filter_PreferedText: checking prefered type
    
    filter_PreferedText: keeping: plain
    
    [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    filter_PreferedText: part: 1 text/html
    
    filter_PreferedText: checking prefered type
    
    filter_PreferedText: removing: html
    
    1 parts
    
    filter_PreferedText: end
    
    GetContent: ---- start
    
    GetContent: primary= text, secondary = plain
    
    GetContent: pre sanitize file name ''
    
    GetContent: file name ''
    
    GetContent: extension ''
    
    GetContent: secondary lookup failed, checking configured extensions
    
    GetContent: found no extension
    
    GetContent: mimetype text/plain
    
    GetContent: ctype_primary: text
    
    GetContent: text charset: iso-8859-1
    
    GetContent: text encoding: quoted-printable
    
    before HandleMessageEncoding
    
    email charset: iso-8859-1
    
    email encoding: quoted-printable
    
    quoted-printable detected
    
    after HandleMessageEncoding
    
    converting from iso-8859-1 to UTF-8
    
    GetContent: plain text
    
    GetContent: body text
    
    GetContent: html allowed
    
    GetContent: meta_return: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    GetContent: ==== end
    
    GetContent: meta_return: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    GetContent: ==== end
    
    GetContent: ---- start
    
    GetContent: primary= image, secondary = jpeg
    
    DecodeBase64Part: base64 detected
    
    GetContent: pre sanitize file name 'ananas.jpg'
    
    GetContent: file name 'ananas.jpg'
    
    GetContent: extension 'jpg'
    
    GetContent: secondary lookup found image/jpeg
    
    GetContent: mimetype image/jpeg
    
    GetContent: image Attachement: ananas.jpg
    
    pre-sanitize name: ananas.jpg, size: 22620
    
    post sanitize name: ananas.jpg
    
    using post date
    
    postie_handle_upload: missing file[type]
    
    postie_handle_upload: substituting wp_filetype[type] - image/jpeg
    
    postie_handle_upload: detected file type for ananas.jpg is image/jpeg
    
    postie_handle_upload (type/ext): 'image/jpeg' / 'jpg'
    
    wp_unique_filename: ananas.jpg
    
    upload: rename to /path/public_html/logg/wp-content/uploads/2016/04/ananas.jpg succeeded
    
    upload: permissions changed
    
    upload: before apply_filters
    
    upload: after apply_filters
    
    reading metadata
    
    before wp_insert_attachment
    
    after wp_insert_attachment: attachement id: 1075
    
    wp_generate_attachment_metadata
    
    wp_update_attachment_metadata complete
    
    GetContent: adding image: 1075
    
    GetContent: found cid: fb0a2db4-0d63-4aec-a41e-c7884672d0d5
    
    parseTemplate - before: <a href="{IMAGE}"><img src="{MEDIUM}" alt="{CAPTION}" width="{MEDIUMWIDTH}" height="{MEDIUMHEIGHT}" class="aligncenter" /></a>
    
    No registered filters for image_downsize
    
    Sources
    
    Array
    (
        [0] => http://xx/logg/wp-content/uploads/2016/04/ananas-150x150.jpg
        [1] => http://xx/logg/wp-content/uploads/2016/04/ananas.jpg
        [2] => http://xx/logg/wp-content/uploads/2016/04/ananas.jpg
    )
    
    Heights
    
    Array
    (
        [0] => 150
        [1] => 168
        [2] => 168
    )
    
    Widths
    
    Array
    (
        [0] => 150
        [1] => 250
        [2] => 250
    )
    
    parseTemplate - after: <a href="http://xx/logg/wp-content/uploads/2016/04/ananas.jpg"><img src="http://xx/logg/wp-content/uploads/2016/04/ananas.jpg" alt="{CAPTION}" width="250px" height="168px" class="aligncenter" /></a>
    
    GetContent: CID Attachement: fb0a2db4-0d63-4aec-a41e-c7884672d0d5
    
    GetContent: meta_return: 
    
    GetContent: ==== end
    
    GetContent: meta_return: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    GetContent: ==== end
    
    CreatePost: '[cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    '
    
    Array
    (
        [html] => Array
            (
                [ananas.jpg] => <a href="http://xx/logg/wp-content/uploads/2016/04/ananas.jpg"><img src="http://xx/logg/wp-content/uploads/2016/04/ananas.jpg" alt="{CAPTION}" width="250px" height="168px" class="aligncenter" /></a><br />
            )
    
        [cids] => Array
            (
                [fb0a2db4-0d63-4aec-a41e-c7884672d0d5] => Array
                    (
                        [0] => http://xx/logg/wp-content/uploads/2016/04/ananas.jpg
                        [1] => 0
                    )
    
            )
    
        [image_files] => Array
            (
            )
    
    )
    
    Predecoded subject: Hej hej
    
    tag_Subject: Looking for subject in email body
    
    tag_Subject: No subject found, using default [1]
    
    Subject: Hej hej
    
    filter_RemoveSignature: pattern: /^(--\s?[\r\n]?|--\s|--|---)\s?$/mi
    
    post sig: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    post excerpt: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    RemoveExtraCharactersInEmailAddress: xx@xx.xx (1)
    
    Array
    (
        [0] => Xx Xxx <xx@xx.xx>
        [1] => xx@xx.xx
    )
    
    post author: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    before HandleMessageEncoding
    
    email charset: 
    
    email encoding: 
    
    after HandleMessageEncoding
    
    filter_Delay: post date: 2016-04-11 21:52:13 / 2016-04-11 19:52:13 (gmt)
    
    post date: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    post ubb: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    post type: found format 'standard'
    
    post type: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    pre category: 1
    
    post postie_category_default 1
    
    tag_Categories: found categories
    
    Array
    (
    )
    
    tag_Categories: using default: 1
    
    post category: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    post tag: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    post comment: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    post status: [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]
    
    ReplaceImageCIDs
    
    looking for fb0a2db4-0d63-4aec-a41e-c7884672d0d5 in content
    
    found fb0a2db4-0d63-4aec-a41e-c7884672d0d5
    
    # cid attachments: 1
    
    $attachments["html"]
    
    Array
    (
        [ananas.jpg] => <a href="xx/logg/wp-content/uploads/2016/04/ananas.jpg"><img src="http://xx/logg/wp-content/uploads/2016/04/ananas.jpg" alt="{CAPTION}" width="250px" height="168px" class="aligncenter" /></a><br />
    )
    
    $used
    
    Array
    (
        [0] => 0
    )
    
    looking for 0 in used
    
    Looking for '<a href="http://xx/logg/wp-content/uploads/2016/04/ananas.jpg"><img src="http://xx/logg/wp-content/uploads/2016/04/ananas.jpg" alt="{CAPTION}" width="250px" height="168px" class="aligncenter" /></a><br />' in attachments
    
    $html
    
    Array
    (
    )
    
    post cid: [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]
    
    begin: filter_linkify
    
    begin: filter_linkify (html)
    
    autolink_do: check this for '[' [
    
    autolink_do: found '[' so not linkifying (in a shortcode)
    
    autolink_do: check this for '[' [http://
    
    autolink_do: found '[' so not linkifying (in a shortcode)
    
    begin: filter_linkify (email)
    
    post linkify: [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]
    
    post vodafone: [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]
    
    post custom: [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]
    
    GetParentPostForReply: Looking for parent 'Hej hej'
    
    GetParentPostForReply: No parent found
    
    Not a reply
    
    filter_Newlines: filternewlines
    
    filter_Newlines: convertnewline: 0
    
    post newline: [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]  
    
    post start: [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]  
    
    post end: [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]  
    
    images in post: 1
    
    Array
    (
        [0] => WP_Post Object
            (
                [ID] => 1075
                [post_author] => 2
                [post_date] => 2016-04-11 22:00:46
                [post_date_gmt] => 2016-04-11 20:00:46
                [post_content] =>
                [post_title] => ananas
                [post_excerpt] =>
                [post_status] => inherit
                [comment_status] => open
                [ping_status] => closed
                [post_password] =>
                [post_name] => ananas
                [to_ping] =>
                [pinged] =>
                [post_modified] => 2016-04-11 22:00:46
                [post_modified_gmt] => 2016-04-11 20:00:46
                [post_content_filtered] =>
                [post_parent] => 1074
                [guid] => http://xx/logg/wp-content/uploads/2016/04/ananas.jpg
                [menu_order] => 0
                [post_type] => attachment
                [post_mime_type] => image/jpeg
                [comment_count] => 0
                [filter] => raw
            )
    
    )
    
    Auto gallery: none
    
    auto adding images to end
    
    post body ReplaceImagePlaceHolders: [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]  
    
    Post postie_post filter
    
    Array
    (
        [post_author] => 2
        [comment_author] => Xx
        [comment_author_url] =>
        [user_ID] =>
        [email_author] => xx@xx.xx
        [post_date] => 2016-04-11 21:52:13
        [post_date_gmt] => 2016-04-11 19:52:13
        [post_content] => [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]
        [post_title] => Hej hej
        [post_type] => post
        [ping_status] => open
        [post_category] => Array
            (
                [0] => 1
            )
    
        [tags_input] => Array
            (
            )
    
        [comment_status] => open
        [post_name] => hej-hej
        [post_excerpt] =>
        [ID] => 1074
        [customImages] => Array
            (
            )
    
        [post_status] => publish
    )
    
    Post Author: 2
    
    Date: 2016-04-11 21:52:13
    
    Category: 1
    
    Ping Status: open
    
    Comment Status: open
    
    Subject: Hej hej
    
    Postname: hej-hej
    
    Post Id: 1074
    
    Post Type: post
    
    MailToRecipients: send mail
    
    To: xx@xx.xx
    
    From: =?utf-8?b?TGVzIELDpW5ncyBCw6VuZ3NibG9nZw==?=  <xx@xx.xx>
    
    MailToRecipients: Successfully posted to Les Bångs Bångsblogg
    Your post 'Hej hej' has been successfully published to xx <http://xx/logg/2016/04/hej-hej/>.
    
    Done
    
    1: processed
    
    Mail fetch complete, 1 emails
    
    memory at end of email processing:17974216
    Plugin Author Wayne Allen

    (@wayneallen-1)

    For some reason it appears the message text ends up in a shortcode type syntax.

    Please send a sample message from outlook to test@postieplugin.com and leave a note here when you have done so and I will take a look at the message structure.

    Done!

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Outlook seems to be wrapping internal links in square brackets when converting a styled email to plain text.

    This is the actual content of the plain text portion of the email

    [cid:fb0a2db4-0d63-4aec-a41e-c7884672d0d5]

    Postie turns the cid portion into a link to the uploaded media:

    [http://xx/logg/wp-content/uploads/2016/04/ananas.jpg]

    Which WordPress doesn’t render since that is the syntax for a shortcode.

    A workaround is to switch “Preferred Text Type” to “html”

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Outlook-sent images not showing’ is closed to new replies.