• Resolved testapp

    (@testapp)


    I installed the plugin on a fresh WP without any problems. Configured the mail server and address and passed the check. Actually, Postie fetches email, cleans the mailbox and posting to the WP. The only problem is that the post is empty and only has a title: tmptitle and conten: tmpPost

    I cannot fiqure what is wrong ๐Ÿ™

    http://wordpress.org/extend/plugins/postie/

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

    (@wayneallen-1)

    Can you send a sample email to postie-test@devzing.om

    Thread Starter testapp

    (@testapp)

    I sent the email as required

    Plugin Author Wayne Allen

    (@wayneallen-1)

    What was the subject line? I don’t know what sample was yours.

    Thread Starter testapp

    (@testapp)

    Thread Starter testapp

    (@testapp)

    @wayne Allen, the email title was Hello World

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Thanks. I did get your message and it works fine on my test system.

    Please try and capture the error by following the instructions here: http://postieplugin.com/enabling-debug-output/

    Thread Starter testapp

    (@testapp)

    Hi again,

    Here is the debug output which shows a fatal error

    Error log: /var/www/html/wp-content/debug.log
    Array
    (
        [add_meta] => no
        [admin_username] => MBSM
        [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
            (
            )
    
        [banned_files_list] => Array
            (
            )
    
        [confirmation_email] =>
        [convertnewline] => 0
        [converturls] => 1
        [custom_image_field] => 0
        [default_post_category] => 1
        [default_post_tags] => Array
            (
            )
    
        [default_title] => ุชุญุฏูŠุซ ุขู„ูŠ
        [delete_mail_after_processing] => 1
        [drop_signature] => 1
        [filternewlines] => 1
        [forward_rejected_mail] => 1
        [icon_set] => silver
        [icon_size] => 32
        [auto_gallery] => 1
        [image_new_window] =>
        [image_placeholder] => #img%#
        [images_append] => 1
        [imagetemplate] => <div id="attachment_{ID}" class="wp-caption alignleft" style="width: {MEDIUMWIDTH};"><a rel="attachment wp-att-{ID}" href="{PAGELINK}"><img class="size-medium wp-image-{ID}" title="{TITLE}" alt="{CAPTION}" src="{MEDIUM}" /> </a><p class="wp-caption-text">{CAPTION}</p></div>
        [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] => <div id="attachment_{ID}" class="wp-caption alignleft" style="width: {MEDIUMWIDTH};"><a rel="attachment wp-att-{ID}" href="{PAGELINK}"><img class="size-medium wp-image-{ID}" title="{TITLE}" alt="{CAPTION}" src="{MEDIUM}" /> </a><p class="wp-caption-text">{CAPTION}</p></div>
                [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] => pop3-ssl
        [interval] => tenminutes
        [mail_server] => imap.gmail.com
        [mail_server_port] => 995
        [mail_userid] => egymb.news@gmail.com
        [mail_password] => ho,hk1434
        [maxemails] => 0
        [message_start] => ุจุฏุงูŠุฉ:
        [message_end] => :ู†ู‡ุงูŠุฉ
        [message_encoding] => UTF-8
        [message_dequote] => 1
        [post_status] => pending
        [prefer_text_type] => html
        [return_to_sender] => 1
        [role_access] => Array
            (
                [editor] => 1
                [author] => 1
            )
    
        [selected_audiotemplate] => simple_link
        [selected_imagetemplate] => wordpress_default
        [selected_video1template] => simple_link
        [selected_video2template] => simple_link
        [shortcode] => 0
        [sig_pattern_list] => Array
            (
                [0] => --
                [1] => ---
            )
    
        [smtp] => Array
            (
            )
    
        [start_image_count_at_zero] => 0
        [supported_file_types] => Array
            (
                [0] => application
            )
    
        [turn_authorization_off] => 0
        [time_offset] => 0
        [video1template] => <a href="{FILELINK}">{FILENAME}</a>
        [video1types] => Array
            (
                [0] => mp4
                [1] => mpeg4
                [2] => 3gp
                [3] => 3gpp
                [4] => 3gpp2
                [5] => 3gp2
                [6] => mov
                [7] => mpeg
            )
    
        [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"></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>
                [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] => 1
    )
    
    ------------------------------------
    The directory /var/www/html/wp-content/plugins/postie/test_emails/ does not exist, creating this optional directory will allow saving copies of emails for debugging purposes.
    Confirming Access For ahmedrshdy@gmail.com
    posting as user 4
    new post id is 39
    Message Id is :<CAE-tOZQZUn0T9a96OwX=i8o04k88wJoiVnomYJJ0yG60GPc4ZQ@mail.gmail.com>
    stdClass Object
    (
        [headers] => Array
            (
                [delivered-to] => egymb.news@gmail.com
                [received] => Array
                    (
                        [0] => by 10.64.24.212 with SMTP id w20csp297678ief; Tue, 22 Jan 2013 16:49:24 -0800 (PST)
                        [1] => by 10.68.125.1 with HTTP; Tue, 22 Jan 2013 16:49:23 -0800 (PST)
                    )
    
                [return-path] => <ahmedrshdy@gmail.com>
                [received-spf] => pass (google.com: domain of ahmedrshdy@gmail.com designates 10.68.238.165 as permitted sender) client-ip=10.68.238.165
                [authentication-results] => mr.google.com; spf=pass (google.com: domain of ahmedrshdy@gmail.com designates 10.68.238.165 as permitted sender) smtp.mail=ahmedrshdy@gmail.com; dkim=pass header.i=@gmail.com
                [x-received] => Array
                    (
                        [0] => from mr.google.com ([10.68.238.165]) by 10.68.238.165 with SMTP id vl5mr44557754pbc.0.1358902163476 (num_hops = 1); Tue, 22 Jan 2013 16:49:23 -0800 (PST)
                        [1] => by 10.68.238.165 with SMTP id vl5mr44557754pbc.0.1358902163471; Tue, 22 Jan 2013 16:49:23 -0800 (PST)
                    )
    
                [dkim-signature] => v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=fZABQ+/XsiHEG0SBOOLxVrLzQFdlck/3T5hTowcCPqQ=; b=vIsiobXlEIhmdoigxKC05s++ynKE077I+RWe3PWxfGzmiRIjw1FgBIN0ZG20nDTTP6 e7a7/IdIwosqrkMdRekAgO5p+fDoXX5jZLZ6+ie51GgUAaJ4JJensEV15KYusvDpVbQi HBBDEp//0BXN6NPFKUTIbAFQTC/jC0tXuhw7HEfz3XvHODQqBBF8GtEl1GMQscR7ecRS TFStIj3tCLBQfkrEzRGDwwuL7vXaK87Wwm+AwrKAro8dYahuL/V2QzSPfIPoK/K/szen uWO4Um+xlbDWfdWweHyiBIBQahTqCaNHIZA+tPs463dmeSXNhO39chIYi9ESAbZnRS0i hxNA==
                [mime-version] => 1.0
                [in-reply-to] => <CAE-tOZScScfu7SxCeSiUH2mOa+q-TC1iugSBnAxK8oO2v3ZK7g@mail.gmail.com>
                [references] => <CAE-tOZRRzZeSFQ5wCDk4B8Z0pudJgs6Ys+JFJOSQe4keCZjQ_g@mail.gmail.com> <CAE-tOZScScfu7SxCeSiUH2mOa+q-TC1iugSBnAxK8oO2v3ZK7g@mail.gmail.com>
                [date] => Wed, 23 Jan 2013 02:49:23 +0200
                [message-id] => <CAE-tOZQZUn0T9a96OwX=i8o04k88wJoiVnomYJJ0yG60GPc4ZQ@mail.gmail.com>
                [subject] => Fwd: This is a test
                [from] => Ahmed El Shalaby <ahmedrshdy@gmail.com>
                [to] => egymb.news@gmail.com
                [content-type] => multipart/alternative; boundary=047d7b3392adbcfc6904d3ea101f
            )
    
        [ctype_primary] => multipart
        [ctype_secondary] => alternative
        [ctype_parameters] => Array
            (
                [boundary] => 047d7b3392adbcfc6904d3ea101f
            )
    
        [parts] => Array
            (
                [0] => stdClass Object
                    (
                        [headers] => Array
                            (
                                [content-type] => text/plain; charset=UTF-8
                            )
    
                        [ctype_primary] => text
                        [ctype_secondary] => plain
                        [ctype_parameters] => Array
                            (
                                [charset] => UTF-8
                            )
    
                        [body] => This is a test after activating debug mode
    
    *Ahmed Roshdy*
    
                    )
    
                [1] => stdClass Object
                    (
                        [headers] => Array
                            (
                                [content-type] => text/html; charset=UTF-8
                            )
    
                        [ctype_primary] => text
                        [ctype_secondary] => html
                        [ctype_parameters] => Array
                            (
                                [charset] => UTF-8
                            )
    
                        [body] => <div dir="ltr"><br><div class="gmail_quote"><br><br><div class="HOEnZb"><div class="h5"><div dir="ltr"><br><div class="gmail_quote"><br><div dir="ltr">This is a test after activating debug mode</div></div></div></div></div>
    </div><br><div dir="ltr"><b>Ahmed Roshdy</b></div>
    </div>
    
                    )
    
            )
    
    )
    
    FilterTextParts: begin 2
    part: 0 text/plain
    checking prefered type
    removing: plain
    part: 1 text/html
    checking prefered type
    keeping: html
    <div dir="ltr"><br><div class="gmail_quote"><br><br><div class="HOEnZb"><div class="h5"><div dir="ltr"><br><div class="gmail_quote"><br><div dir="ltr">This is a test after activating debug mode</div></div></div></div></div>
    </div><br><div dir="ltr"><b>Ahmed Roshdy</b></div>
    </div>
    
    1 parts
    FilterTextParts: end
    stdClass Object
    (
        [headers] => Array
            (
                [delivered-to] => egymb.news@gmail.com
                [received] => Array
                    (
                        [0] => by 10.64.24.212 with SMTP id w20csp297678ief; Tue, 22 Jan 2013 16:49:24 -0800 (PST)
                        [1] => by 10.68.125.1 with HTTP; Tue, 22 Jan 2013 16:49:23 -0800 (PST)
                    )
    
                [return-path] => <ahmedrshdy@gmail.com>
                [received-spf] => pass (google.com: domain of ahmedrshdy@gmail.com designates 10.68.238.165 as permitted sender) client-ip=10.68.238.165
                [authentication-results] => mr.google.com; spf=pass (google.com: domain of ahmedrshdy@gmail.com designates 10.68.238.165 as permitted sender) smtp.mail=ahmedrshdy@gmail.com; dkim=pass header.i=@gmail.com
                [x-received] => Array
                    (
                        [0] => from mr.google.com ([10.68.238.165]) by 10.68.238.165 with SMTP id vl5mr44557754pbc.0.1358902163476 (num_hops = 1); Tue, 22 Jan 2013 16:49:23 -0800 (PST)
                        [1] => by 10.68.238.165 with SMTP id vl5mr44557754pbc.0.1358902163471; Tue, 22 Jan 2013 16:49:23 -0800 (PST)
                    )
    
                [dkim-signature] => v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=fZABQ+/XsiHEG0SBOOLxVrLzQFdlck/3T5hTowcCPqQ=; b=vIsiobXlEIhmdoigxKC05s++ynKE077I+RWe3PWxfGzmiRIjw1FgBIN0ZG20nDTTP6 e7a7/IdIwosqrkMdRekAgO5p+fDoXX5jZLZ6+ie51GgUAaJ4JJensEV15KYusvDpVbQi HBBDEp//0BXN6NPFKUTIbAFQTC/jC0tXuhw7HEfz3XvHODQqBBF8GtEl1GMQscR7ecRS TFStIj3tCLBQfkrEzRGDwwuL7vXaK87Wwm+AwrKAro8dYahuL/V2QzSPfIPoK/K/szen uWO4Um+xlbDWfdWweHyiBIBQahTqCaNHIZA+tPs463dmeSXNhO39chIYi9ESAbZnRS0i hxNA==
                [mime-version] => 1.0
                [in-reply-to] => <CAE-tOZScScfu7SxCeSiUH2mOa+q-TC1iugSBnAxK8oO2v3ZK7g@mail.gmail.com>
                [references] => <CAE-tOZRRzZeSFQ5wCDk4B8Z0pudJgs6Ys+JFJOSQe4keCZjQ_g@mail.gmail.com> <CAE-tOZScScfu7SxCeSiUH2mOa+q-TC1iugSBnAxK8oO2v3ZK7g@mail.gmail.com>
                [date] => Wed, 23 Jan 2013 02:49:23 +0200
                [message-id] => <CAE-tOZQZUn0T9a96OwX=i8o04k88wJoiVnomYJJ0yG60GPc4ZQ@mail.gmail.com>
                [subject] => Fwd: This is a test
                [from] => Ahmed El Shalaby <ahmedrshdy@gmail.com>
                [to] => egymb.news@gmail.com
                [content-type] => multipart/alternative; boundary=047d7b3392adbcfc6904d3ea101f
            )
    
        [ctype_primary] => multipart
        [ctype_secondary] => alternative
        [ctype_parameters] => Array
            (
                [boundary] => 047d7b3392adbcfc6904d3ea101f
            )
    
        [parts] => Array
            (
                [0] => stdClass Object
                    (
                        [headers] => Array
                            (
                                [content-type] => text/html; charset=UTF-8
                            )
    
                        [ctype_primary] => text
                        [ctype_secondary] => html
                        [ctype_parameters] => Array
                            (
                                [charset] => UTF-8
                            )
    
                        [body] => <div dir="ltr"><br><div class="gmail_quote"><br><br><div class="HOEnZb"><div class="h5"><div dir="ltr"><br><div class="gmail_quote"><br><div dir="ltr">This is a test after activating debug mode</div></div></div></div></div>
    </div><br><div dir="ltr"><b>Ahmed Roshdy</b></div>
    </div>
    
                    )
    
            )
    
    )
    
    ----
    primary= multipart, secondary = alternative
    multipart: 1
    FilterTextParts: begin 1
    part: 0 text/html
    checking prefered type
    keeping: html
    <div dir="ltr"><br><div class="gmail_quote"><br><br><div class="HOEnZb"><div class="h5"><div dir="ltr"><br><div class="gmail_quote"><br><div dir="ltr">This is a test after activating debug mode</div></div></div></div></div>
    </div><br><div dir="ltr"><b>Ahmed Roshdy</b></div>
    </div>
    
    1 parts
    FilterTextParts: end
    ----
    primary= text, secondary = html
    ctype_primary: text
    charset: UTF-8
    html
    
    Fatal error: Call to undefined function mb_detect_encoding() in /var/www/html/wp-content/plugins/postie/simple_html_dom.php on line 1235
    Plugin Author Wayne Allen

    (@wayneallen-1)

    It looks like you do not have mbstring enabled.

    Thread Starter testapp

    (@testapp)

    Hi,

    I installed mbstring and it is workign fine now, will test the needed features now ๐Ÿ™‚

    Thanks a lot for your kind help

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Glad to help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Not working’ is closed to new replies.