Printable Version of Topic

Click here to view this topic in its original format

Web Design Seo Forum _ Joomla Extensions _ Post By Email Pro

Posted by: Ivan Stamenov Jul 6 2011, 07:42 AM

New, enhanced http://3dwebdesign.org/post-by-email-pro Joomla component is released. Component is working with joomla 1.5, 2.5 and with Joomla 3.

Цитат
Post by email Pro is included as free bonus in http://3dwebdesign.org/forum/free-bonus-with-every-copy-of-seo-articles-network-t927


The main features added in the Pro version are:

- Support for attached files (see below for more details);
- Support for base64 encoded e-mails and ssl encryption. If received email is encoded, is automatically decoded.
- Subscribing email address - for kunena forum.
- Itegration with Kunena, K2 and Ignite Gallery (JomSocial support is for Joomla 2.5 version only).
- Optimized threading algorithm for Kunena - all emails with same subject (include Re:, Fw:, Re, Fwd, etc.) are going automatically to the same thread in kunena. You have option in admin ("Reply tag" function) to configure these strings.
- Included Scraper - Scraper can parse link from email body and will grab content on page where link point.
- CSV import functions.
- Video player options.
- Included content formatting functions: you can control titles, urls, meta description and body of imported emails.
- Improved update: New versions are installed without uninstalling old version. On update configured email boxes stay untouched in admin.

Цитат
Known issues: Conflicts with Blogsten and Maljet.


How to update to next version?
Just install over. Configured emails will stay untouched.



For Joomla 2.5 folder must be located in images/stories. Example folder "postbyemail" real path is
Код
public_html/images/stories/postbyemail


For Joomla 3.xx folder must be located in images. For Joomla3 example folder "postbyemail" real path will be:
Код
public_html/images/postbyemail



Version history:
14.09.2018: Post by email Pro v.1.10.3 released. Changes: Updated to work with Php 7.2.

09.11.2015: v.1.10.2 for Joomla 3 - added is Kunena 4 support.
12.01.2015: v.1.10.1 for Joomla 3 - fixed bug in cron job.
24.11.2014: http://3dwebdesign.org/forum/index.php?showtopic=743&view=findpost&p=7833. Two new tabs, many Scraper and content formatting function improvements! Now you have full control of imported content due on many new rules and filters - titles, urls, meta description and body of imported emails!
- you can search and replace special characters, symbols and words (title and alias).
- you can remove too short words (title and alias).
- you can transliterate titles and alias.
- you can search in email body for keywords or strings and to import only content you want.
- you can remove headers and footers or signature lines from imported emails.
- you can control Meta Description and to add a #hashtags to the Meta Description.

New functions are ONLY for Joomla 3 version!



http://3dwebdesign.org/forum/index.php?showtopic=743&view=findpost&p=7833


20.11.2014: PBE v.1.9.11 - minor bug fix in JomSocial importer (Joomla 2.5 version only).
16.10.2014: http://3dwebdesign.org/forum/index.php?showtopic=743&view=findpost&p=7794. Latest Ignite Gallery v.3 support for both versions. Support for in-line and attached images when importing in Kunena forum (untill now was supported only in-line images).


29.09.2014: http://3dwebdesign.org/forum/index.php?showtopic=743&view=findpost&p=7779.

Video Attachments:


Video Players code examples (video containers):


23.09.2014: v.1.9.8 for Joomla 3 - fixed wrong image path bug in scraper.
21.07.2014: Huge improvements and 30% more new functions added: http://3dwebdesign.org/forum/index.php?showtopic=743&view=findpost&p=7635. Now the power of http://3dwebdesign.org/joomla-scraper is inside Post by Email. Removed Limit for replay markers for Kunena.
18.06.2014: Bug fixes in CSV import export component for Joomla 3.
22.04.2014: V.1.9.6 for Joomla 3 and v.1.8.5 for Joomla 2.5: bug fixes for Kunena importer amd JUtility Joomla function changed to JMail in Joomla 3 version. http://3dwebdesign.org/forum/index.php?showtopic=743&view=findpost&p=7374.
02.04.2014: V.1.9.5 for Joomla 3 is released - Added are CSV import functions over free component included in "Post by Email" package. Is updated only version for Joomla 3! Full guide and functions description: http://3dwebdesign.org/forum/csv-import-export-free-joomla-component-t2081.
2014-03-10: Both versions are updated.
v1.9.4 for Joomla 3. Fixed bug - "Publish automatically" selection. Till now was only possible to select YES.
PBM v1.8.4 for Joomla 2.5 - Improved parsing to "From" email header. This affects in a greater degree Kunena importing.

2014-02-26: http://3dwebdesign.org/forum/index.php?showtopic=2051&view=findpost&p=7149.
12 February 2014: v.1.8.3 for Joomla 2.5 and v.1.9.3 for Joomla 3.xx are released - better compatibility with other Joomla components.
06 January 2014: http://3dwebdesign.org/forum/index.php?showtopic=2019&view=findpost&p=6922.
16 December and 03 December 2013: two bugfixes for K2 importer. v.1.9.2 For Joomla 3.x and v.1.8.2 for joomla 2.5: Bug fixes in K2 importer (K2 team update again and again K2...) and "copy" button bug fix in Joomla 2.5 version.
26 November 2013: http://3dwebdesign.org/forum/index.php?showtopic=743&view=findpost&p=6771
11 July 2013: v.1.8.0 for joomla 2.5 and minor bug fixes in V.1.8.9 for joomla 3 version to work better with kunena 3.
19.06.2013: V.1.8.9 released. Version for Joomla 3.0 updated to work with latest php versions.
12.06.2013: Added Kunena 3 support in Joomla! 2.5 and in Joomla 3 versions.
07.06.2013: Added Italian translation in Joomla 2.5 version. Paolo Giustiniani, Thank you!
15.04.2013: Updated Kunena parser (update of Auto-reply function for Kunena) in J! 2.5 and J!3.0 versions. Now PBE is able to parse "Re: [Forum] Topic (Category)" and "Re: Re : Re: Fwd : [Forum] Topic (Category)".
04.04.2013: v.1.7.8 for joomla 2.5 and v.1.8.7 for Joomla 3.0: added is Kunena parser. When you select to post as reply in kunena, "Forum" and "Thread ID" options don't work - parser post email in the right topic automatically based on email name (name of topic must be included in email title). Post by email for Joomla 3 does NOT support Kunena for Joomla3 for now!



25 March 2013: v.1.7.7 for joomla 2.5 and v.1.8.6 for Joomla 3.0: added option to allow posting from all registered users in addition to the "from" filters.
19 March 2013: v.1.7.6 for joomla 2.5 and v.1.8.5 for Joomla 3.0: small fixes to support latest kunena and new option in admin - Reply tag.
04 March 2013: v.1.7.5 for joomla 2.5 and v.1.8.4 for Joomla 3.0: added option to import items in content and K2 with the same titles many times.
12 February 2013: v.1.7.4 for joomla 2.5 and v.1.8.3 for Joomla 3.0: If the sender's e-mail address is recognised as a Joomla user's e-mail address, the relevant user gets set as content item author. Otherwise the default author is used.
07 February 2013: v.1.7.3 for joomla 2.5 and v.1.8.2 for Joomla 3.0: Timezones bug fix.
01 February 2013: v.1.7.2 for joomla 2.5: is added option to add included as attachment picture in K2 tab "picture".
16.01.2013: v.1.8.0 for Joomla 3.0. Joomla 3 version of Post By Email support only content and K2!
10.01.2013: v.1.7.1 for Joomla 2.5: Is added language option for content and K2.
07.12.2012: Fixes in cronjob in joomla 2.5 version to be more robust.
21.11.2012: Vesrion 1.7.0 for Joomla 2.5 is launched. It has xajax removed, code optimized and works with both Kunena 1.7 and 2.0.x. Kunena ver. 1.6 and below are no longer supported and may not work correctly.
14.11.2012: v.1.6.4 of Post By Email Pro - added is file extension type option and bug fix with imported from gmail images. The accepted attachment file types now might be set as file extension in addition to the MIME type, e.g. "xls;doc;pdf". Note that the extensions must be entered without the trailing dot! Are updated both versions - for Joomla 2.5 and for Joomla 1.5!
05.11.2012 - v.1.6.3 and two new options: "Notify subscribers" option for Kunena and storing of information from imported emails in database table. If option is switched on, sender's name and/or e-mail address are stored in joomla database. Is updated Joomla 2.5 version only!
18.09.2012 - v.1.6.2 - added is http://3dwebdesign.org/forum/index.php?showtopic=743&view=findpost&p=4256 for posted from Iphone emails with images (Joomla 2.5 version only). There are two new settings: mode and concatenation html. Mode = Default means that the component will work as it worked by now: the last part of the message, which is not an attachment, will be set as a content of the resulting article; the rest will be ignored. E.g. if you have an e-mail with two variants of the message (plain text and HTML), the plain text variant will be ignored and the HTML variant will be set as the article's body. Mode = iPhone means that no part of the message will be ignored. All these parts will be concatenated using the HTML code, set in the concatenation html setting (e.g. <br />, <hr />, etc.).

Screenshot from New functions in v.1.6.2:


03.09.2012 - v.1.6.1 for Joomla 2.5 - Integration with Ignite Gallery. Only Ignite Gallery v.2.xx is supported. Component is not tested with Ignite Gallery v.3.xx. You can configure category in gallery where image and description will be posted and what user is owner of this picture. (Joomla 2.5 version only)

Screenshot from New functions in v.1.6.1:


20.08.2012 - v.1.6.0 for Joomla 2.5 - http://3dwebdesign.org/forum/index.php?showtopic=1063&view=findpost&p=4101. Both versions for Joomla 2.5 are updated. (for Kunena 2.0 and over and for old Kunena).
v.1.5.9 for Joomla 2.5 - added is support for non-standart charsets. Only version for Joomla 2.5 is updated. (27.07.2012)
v.1.5.8 for Joomla 2.5 and v.1.5.4 for Joomla 1.5 - addes is function to remove html entities if strip "html tags" function is switched on. http://3dwebdesign.org/forum/index.php?showtopic=1103&view=findpost&p=3942
v.1.5.7 for Joomla 2.5 - bug fix for Kunena (12.07.2012). Only version for Joomla 2.5 support Kunena 2.0 and over!
v.1.5.6 for Joomla 2.5 - Sender Filter (Allowed and forbidden emails option) and update to work with Kunena 2.0 and over. Joomla 2.5 version only! (09.07.2012)
v.1.5.3 for Joomla 1.5 - option for posting in k2 is added to joomla 1.5 version (04.06.2012)
v.1.5.5 - Support for Apple Message framework messages is added (Joomla 2.5 version only). If the message contains HTML header part, it is stripped out and the body tag is replaced by a div tag.
v.1.5.4 - Subject of email going automatically to alt of imported images and to meta description in K2 and com_content (16.05.2012)

New functions in v.1.5.4:
Subject of email going automatically to alt of imported in content images and to meta description in K2 and com_content.
Meta desc add words - this option add selected number of first words from email body in meta description.



v.1.5.3 - K2 support - released on 15.05.2012.
v.1.5.2 - Bug fixes for Joomla 2.5 version (08 May 2012)
v.1.5.1 - Bug fixes for Joomla 2.5 and joomla 1.5 version (23 April 2012)
v.1.5.0 for Joomla 1.5 is released. Now both versions of component (j15 and j17) have the same functions (14 February 2012)
v.1.5.0 - stability fixes and code improvements for version for Joomla 1.7 (23 December 2011)
v.1.4.6 - four new options ( two for attached images, two for readmore separator). Only Joomla 1.7 version is updated! (22 December 2011)
v.1.4.5 - stability fixes. Both versions are updated - for joomla 1.7 and for joomla 1.5 (15 November 2011)
v.1.4.4 - bug fixes. Both versions are updated - for joomla 1.7 and for joomla 1.5 (31 October 2011)
v.1.4.3.2 - only joomla 1.5 version is updated to work with new version of jomsocial (27 October 2011)
v.1.4.3.1 - More error messages added in component for diagnostic of possible problems with mail server (24 October 2011)
v.1.4.3 - Post By Email Pro For Joomla 1.7 And Joomla 1.6 (7 October 2011)


Other features added:

- Strip HTML Tags setting (for outlook express and other email clients). Instructs the component whether to strip the HTML tags from the e-mail message or not. This setting should be set to YES if you are posting into a forum thread and it should be set to NO if the content is published as an article;

- Allowed Tags setting. If the Strip HTML Tags setting is set to YES, the tags listed here will NOT be stripped from the message (e.g. <img><br><p>, etc). There must be no characters between the listed HTML tags (coma, space or whatever);

- Insert Before Content setting. A text block which will be prepended to every message processed. Can contain HTML markup. If Strip HTML Tags is set to YES the Insert Before Content HTML markup will be stripped as well;

- Insert After Content setting. Similar to the above setting, this text will be appended to every message processed. Can contain HTML markup. If Strip HTML Tags is set to YES the Insert After Content HTML markup will be stripped as well;

- Default Title setting. If an e-mail is sent without a subject, this string will be set as a title of the post/article. Prior to the current component version the e-mail message would have been ignored under certain conditions;

- Attachments Directory setting. The directory in which the attached files will be saved to;

- Accepted MIME Types setting. A complete list of the MIME types accepted. By default these are images exclusively (jpg, gif or png) (see below for more details).

- Charset: The message's charset and author detection are now much more robust. All Bugs are already fixed also.

- TimeZones: Are used global Joomla TimeZone setting. The following Joomla global setting must be set correctly:
Код
Administration => Global Configuration => Server => Locattion Settings => Server Time Zone


Requirements of Post by email
PHP 5.2+ and http://3dwebdesign.org/forum/mbstring-call-to-undefined-function-mb-internal-encoding-t1355 PHP extension: must be installed, enabled and properly configured.


There are some requirements which must be met for an attached file to appear into the post or article's content:

1. The MIME type of the attached file must be listed in the Accepted MIME Types setting. If so it will be saved into the Attachments Directory and its URL or tag will be placed on the relevant place in the message (see 2.). If the MIME type of the attached file is not among the accepted types it will be discarded. A list of the files' MIME types by their extensions may be found here: http://www.webmaster-toolkit.com/mime-types.shtml.

2. Edited by Ivan Stamenov on 14.12.2011 - the use of lowercase names is not a must anymore: The attached file's name enclosed in square brackets must be placed somewhere in the message's body. If you want to put the image FLowERs.JPG somewhere in your article, attach it to the e-mail message and put the text [FLowERs.JPG] where you want the image to appear in your message's body. If the attached file's tag is not found within the message's body it WILL NOT be added at the end automatically.


You can attach as many files as you wish to your e-mail messages. They all will be processed if the following conditions are met:

- the attached file is an image;
- the e-mail message is going to be posted as an Joomla article;
- the Strip HTML Tags setting is set to NO.

then the attached file's tag [lower_case_name_of_the_file] in the message will be replaced with an <img> tag pointing to the locally saved file. Otherwise the attached file's tag will be replaced with the absolute URL pointing to the locally saved file.

- "Notify subscribers" option for Kunena. When importing into Kunena (ver. 1.7 or 2.0+), the component is now capable of sending e-mails to the subscribed users, if the "Notify subscribers" setting is switched on.
- Kunena support following HTML tags - <b><strong><i><u><img><a><code> . Video attachments are not supported for Kunena!
- Storing of information from imported messages in database table - if option is switched on, sender's name and/or e-mail address are stored in database. When importing into com_content or K2, the component is now capable of storing information about the message sender's name (if present) and/or e-mail address. To do so, the relevant table field names must be set in the "Additional info" section of the PBM settings. The component checks if these fields exist in the relevant table. If not - it creates them.



How to make Post by Email automatically working? How to setup Cron?

Цитат
Test your email box configuration manual first! If is working well manual, try with cron.


By default cron function work only over php. Here are two ways to schedule your mailboxes: Open cron jobs page in cpanel and set up cron:
Код
/usr/local/bin/php -q /relative path to host directory/public_html/administrator/components/com_post_by_email/cron.post_by_email.php >> /dev/null


for Windows 8 or Server 2012:
Код
Invoke-WebRequest http://WEBSITE_URL_HERE/administrator/components/com_post_by_email/cron.post_by_email.php | Out-Null


If you don't have cpanel and cron jobs function in your control panel: Post by Email work great also with free cron services http://3dwebdesign.org/forum/free-cron-service-to-configure-your-cron-jobs-t2035.

Way 2:
1. Create file with name mycron.php. Code for this php file:
Код
<?php
$a = file_get_contents('http://yoursite.com/administrator/components/com_post_by_email/cron.post_by_email.php');
?>


2. Upload file mycron.php in your public_html. Create cronjob in your cpanel with command:
Код
/usr/local/bin/php -q /relative path to public_html/mycron.php >> /dev/null


3. Set cron to run in your control panel (cpanel or other) every 15 or 30 minutes (recommended). In Unix Style view this should be:
Код
*/30 * * * *



If you want to use cron from browser or from curl function, make this simple change:
1. Open file "\administrator\components\com_post_by_email\cron.post_by_email.php" and replace
Код
if (!empty($_SERVER['REMOTE_ADDR'])) exit;


with:
Код
//if (!empty($_SERVER['REMOTE_ADDR'])) exit;



2. Open file "\administrator\components\com_post_by_email\controller.php" and replace (it is located around line 80 in body of the function named "cron" )
Код
if (!empty($_SERVER['REMOTE_ADDR'])) exit;


with
Код
//if (!empty($_SERVER['REMOTE_ADDR'])) exit;



Where to see email preferences?
Email settings for your server ar known from yur host support and are visible in your hosting control panel. This info is visible at this page (cpanel):
Код
link-to-control-panel-of-host/frontend/x3/mail/clientconf.html?acct=email@web-site.com


If there are no incoming server port - test first with standart port 110, if not working - with port 25.
For SSL - port 995 is the standart port.


How to test?
Read this topic: http://3dwebdesign.org/forum/index.php?showtopic=635

Configuration of Gmail Accounts
- Be sure that pop3 protocol is switched ON for account before test!
- Mail Server: ssl://pop.gmail.com
- port: 995
- ssl must be switched ON in your email settings
- Read this for configuration: http://support.google.com/mail/bin/answer.py?hl=en&answer=13287

Google Apps configuration:

If you use Gmail and Google Apps, you may need to unlock your account:

Цитат
If you're a Google Apps user, enter www.google.com/a/your_domain.com/UnlockCaptcha to clear the CAPTCHA. Replace "your_domain.com" with your domain name. If your Google Apps account has been changed, you can clear your CAPTCHA with this link.


Or try the link: https://www.google.com/accounts/UnlockCaptcha


Price of Post by Email is 29 USD. Download and online Purchase: http://3dwebdesign.org/post-by-email-pro

http://3dwebdesign.org/post-by-email-pro


________________________________________________________________________________


FAQ


For Kunena:
Цитат
I have 'post as reply' set to 'No'
hmmm... id DOES seem to be odd at the minute. SOME posts are as a new topic, and some are added to an older topic


If email subject is exactly matching thread in selected category or if "Thread ID" is set, then email is posted as replay to that thread! Else email is posted as new thread in selected category. This is protection from floating forum with threads which already exists!

------------
Joomla have duplicate content protection. If you want to import many emails with the same titles, you must use options "Use MD5 aliases" or "Add timestamp", or both! In this way, date, hour, minute and seconds of import will be set as alias of imported content item.

Import of items with duplicate titles is possible only for one item at once - with every next import will be imported one new item with unique alias. And we recommend you to set option: "Delete processed e-mails" to YES. In this way on first import will be imported one item and this item will be deleted, on import two will be imported again one item and will be deleted, and so....
------------
1. If "delete emails" function is not working with your email server, you may need to setup POP3 recent mode!

Setting up 'recent mode':
In your PBM settings, replace 'username@gmail.com' in the 'Login username' field with 'recent:username@gmail.com'

Read more: http://3dwebdesign.org/forum/index.php?showtopic=2086&view=findpost&p=7354


2. If your site is not working well when importing many emails or with many images inside emails or with huge images, you probably use function download images (attachments) on server with unsufficient power. To work well Post by Email with huge number of imported messages at once and to download and import big images, you need more power on server.

Just increase memory_limit and max_execution time settings of php over php.ini file. If you don't have access to these settings, ask your host support to change them.

Recommended setings are: memory_limit - 64MB or more (Recommended: 128), max_execution time - 60 or more seconds. Code for php.ini:
Код
memory_limit = 128M // or more
max_execution time = 60 // or more

_______________________________________________________________________________

If you looking for parsers for Post by Email: check this topic: http://3dwebdesign.org/forum/diy-parser-for-post-by-email-t2041

Jomsocial and Kunena Setup Guide: http://3dwebdesign.org/forum/post-by-email-setup-guides-for-kunena-and-jomsocial-t2122

If you try to import many emails with the same titles, read this topic: http://3dwebdesign.org/forum/post-by-email-error-alias-duplicate-solved-t1172

Цитат
To switch off duplicates protection, use option Use MD5 aliases. This will generate aliases of content items as MD5 string with date, hour and second inside and no matter are your articles only with one title or not, all imported articles will be with different urls (aliases).


If you need to attach image as article intro image and full text image, try this code hack:
http://3dwebdesign.org/forum/index.php?showtopic=2223&view=findpost&p=8087


If you have troubles with php 7.1 or php 7.2, you can try to change php version only for post by email folder: create one new .htaccess file and place it in this directory:
Код
public_html/administrator/components/com_post_by_email/


Code for this .htaccess file to change to php 5.6:
Код
AddHandler x-httpd-php56 .php

If doesn't works, replace code with:
Код
AddHandler application/x-httpd-php56 .php

_______________________________________________________________________________

Posted by: muddauber Sep 5 2011, 02:45 AM

Just tried to forward our Constant Contact email ( a lot of embedded images
using URL links, not in email message)
into Post by EMail and it loaded all the images and layout correctly.

Only problem was with the width of the email newsletter.

Great extension! Continue developing this great product!

Posted by: Ivan Stamenov Oct 17 2011, 10:09 AM

New features are added and Post by Email Pro is ready and available for purchase.

In latest version for Joomla 1.5 (Post by Email Pro 1.4.3) are added:

1. Now you can have single email parsed into multiple articles. A suitable PHP parser file must be present in the administrator/components/com_post_by_email/parsers/ directory and the email's "Parser" setting must point to the corresponding parser file. A working example for LinkedIn is available. It retrieves the articles' author, title and intro for each article in the LinkedIn email and passes the information back to the controller so that each article is published separately.

2. If you are publishing in the com_content, now you can turn ON the new duplicate content check filter. If the new article's title already exists in the database, the article will be ignored and it will not be imported again.


In version for Joomla 1.7 are more two extras, you can read here about http://3dwebdesign.org/forum/index.php?showtopic=813.

Posted by: Web Design Seo Oct 28 2011, 12:56 PM

Today version for joomla 1.5 of Post by Email Pro is updated also - v.1.4.3.2 is latest. Component is updated to work with latest jomsocial.

Oct 31 2011: New version is released - Post by Email Pro v.1.4.4 - with two bug fixes. Both versions are updated - for joomla 1.7 and for joomla 1.5.

Posted by: Web Design Seo Nov 21 2011, 07:37 AM

Questions are http://3dwebdesign.org/forum/index.php?showtopic=826&view=getlastpost.

Цитат
This topic is guide for functions and new releases, please, dont post here support questions.

Posted by: Web Design Seo Dec 22 2011, 01:47 PM

Today new version of post by email pro is released. Only Joomla 1.7 version is updated! Screen from updated version:



New options in v.1.4.6 and over (Joomla 1.7 and 1.6 only):
- Introtext separator
- Introtext size [words]
- HTML container and Default position for attached images.

Posted by: Web Design Seo Feb 14 2012, 09:46 AM

Version of Post by email Pro for Joomla 1.5 is updated today. All functions from Joomla 2.5/1.7 version are now included in version for Joomla 1.5 also.

On 23 April 2012 is released v.1.5.1 - This version is bug fix for bot Joomla 2.5 and joomla 1.5 versions. Problem is described in http://3dwebdesign.org/forum/index.php?showtopic=994.

Posted by: acmb Apr 24 2012, 11:13 PM

HINT:
(so no-one else spends as long as I did trying to re-configure mailservers!)
For Gmail accounts (or any other that require SSL encryption for POP3), use:
Mail Server: ssl://pop.gmail.com
Port: 995

This tells the fsockopen function to open an SSL connection when it is called in the pop3.class.php procedures

Posted by: Web Design Seo May 8 2012, 01:07 PM

Extension is updated again today. Latest version is 1.5.2, updated on 08 May 2012.

Changes in this version are only Bug Fixes from this topic:
http://3dwebdesign.org/forum/index.php?showtopic=1010

Optional: If you have problems with posting in latest Kunena, try this:
http://3dwebdesign.org/forum/index.php?showtopic=1013

Posted by: Web Design Seo May 15 2012, 02:31 PM

Post by Email Pro v. 1.5.3 is released. Now http://3dwebdesign.org/forum/index.php?showtopic=1030.

Only version for joomla 2.5/1.7 support k2!

Updated version is already uploaded in our file directory.

Posted by: lupo May 15 2012, 09:26 PM

QUOTE (acmb @ Apr 24 2012, 11:13 PM) *
HINT:
(so no-one else spends as long as I did trying to re-configure mailservers!)
For Gmail accounts (or any other that require SSL encryption for POP3), use:
Mail Server: ssl://pop.gmail.com
Port: 995

This tells the fsockopen function to open an SSL connection when it is called in the pop3.class.php procedures


Thank you very much!!! smile.gif

Posted by: Ivan Stamenov May 16 2012, 08:58 AM

Today Post by Email Pro v. 1.5.4 was released.

Changelog:

Bug is fixed: when a file is attached and a tag is present within the message body, the tag will be ignored if a file with the same name has been uploaded previously. The bug was caused by the fact that the file is renamed when uploaded thus the original tag in the message body was not recognised.

If a html container is set for the uploaded files, the second string %s in it will be replaced with the message's subject, e. g.

Код
<img src="%s" title="%s" />

will become something like
Код
<img src="path/to/my/image.jpg" title="The subject of my message" />



The subject of the message is set automatically as Meta description of the content item and as title of the inline images if using K2 or com_content.

Posted by: Ivan Stamenov May 30 2012, 08:59 AM

Today Post by Email Pro v. 1.5.5 was released. Is updated Joomla 2.5 version only!

Changelog:
Support for Apple Message framework messages is added (not tested extensively);

If the message contains HTML, HEADER and BODY tags:
- the HTML tags are replaced with an empty string;
- the HEADER part gets stripped, its contents are ignored;
- the BODY tag is replaced with a DIV tag, its styling and attributes are preserved.

Note: please be careful when setting the Introtext settings in the PBM. You are strongly advised to use the Introtext separator setting and do not rely on the Introtext size [words] setting as the latter merely counts the spaces from the beginning of the message and the Read More tag may end up within a HTML tag...

New version is already updated in our file directory.

Posted by: Web Design Seo Jun 4 2012, 08:25 AM

v.1.5.3 for Joomla 1.5 is released - now option for posting to k2 is added to joomla 1.5 version. Latest version screenshot:


Posted by: Ivan Stamenov Jun 25 2012, 12:17 PM

A new setting has been added to the J2.5 version: Sender Filter. A list of e-mail addresses may be specified and the component may be told what to do with these addresses:
- Accept e-mails only from these addresses;
- Ignore the e-mails from these addresses (ban).




Is updated only version for Joomla 2.5!

Posted by: Web Design Seo Jul 9 2012, 02:49 PM

On 09.07.2012 is released v.1.5.6 of Post by Email Pro for Joomla 2.5. No new functions, component is updated to work with Kunena 2.0 and over.

This update is for joomla 2.5 version only! Only version for Joomla 2.5 support Kunena 2.0 and over!

Posted by: Web Design Seo Jul 20 2012, 09:10 AM

v.1.5.8 for Joomla 2.5 and v.1.5.4 for Joomla 1.5 - addes is function to remove html entities if strip "html tags" function is switched on.

http://3dwebdesign.org/forum/index.php?showtopic=1103&view=findpost&p=3942

Posted by: Web Design Seo Jul 24 2012, 08:23 AM

Check encoding of imported emails first. You can send two exact looking emails from every email client to one email box but email message one can be in utf-8, other in cyrillic for example.

Posted by: Web Design Seo Aug 20 2012, 08:54 AM

Post by Email Pro v.1.6.0 is here. Is added option to clear field Publish Up date when (only for content and K2). Option is named "Use publish up date".



Is updated only Joomla 2.5 version.

http://3dwebdesign.org/forum/index.php?showtopic=1063&view=findpost&p=4101.

Posted by: Ivan Stamenov Sep 14 2012, 07:28 AM

Цитат(mitirino @ Sep 14 2012, 05:57 AM) *
How does it handle the case where I send the email from my iPhone and I don't know what is the name of the attached file? Also on iPhone I can "Copy" images from my album and then "Paste" them into the email body... is this supported.

(not sure how other phones work but I don't think they give you an option to name the pictures you make with your camera)

I want to get this mostly so people can create articles from their phones directly after taking a picture... just click "email" and put some simple subject (for a title) and some body (for the text of the article). If this is supported I'm getting your extension.

Thanks


Hi, mitirino.

I remember a few months ago we had such a request and I think the component supports such a format now (but I am not entirely sure - only 99% smile.gif). We may do the following: please send us such an email through your iPhone (with an image attached) to the following e-mail: test_test[at]3dwebdesign.org ; I will parse it with the PBM and will inform you about the results...

Posted by: Web Design Seo Sep 18 2012, 09:37 AM

New version v.1.6.2 of Post by Email Pro for Joomla 2.5 is present.

Added are functions:

- Iphone mode - for posted from iphone emails with images.
- Integration with Ignite Gallery (www.ignitegallery.com). You can configure category in gallery where image and description will be posted and what user is owner of this picture.

In order to use PBM with Ignite Gallery please enter the PBM e-mail's settings and set:
- Publishing Settings => Publish the content in => select Ignite Gallery;
- Choose the Ignite Gallery Category the pictures are to be published to (Ignite Gallery => Category);

Цитат
The e-mails must have subject, it will be displayed upon import if an error occurs (e.g. if the attached file is not an image file).

!!! Important !!! There must be only one file attached to every e-mail. If there are more files, only the last one will be processed. Company logos, attached to the e-mail as part of the user's signature, will probably be imported instead of the attached file because usually they come last.

The e-mail's content will be used as a description of the attached picture - exact html will be posted, so is recommended to use option: Strip HTML tags.


About Iphone mode: probably this mode will work well with android phones also.


New version is added to our file directory. Only Joomla 2.5 version is updated.

Posted by: Ivan Stamenov Sep 18 2012, 09:38 AM

Today version 1.6.2 of the component for Joomla 2.5 was released. There are some new features:

1. There are two new settings: mode and concatenation html.

Mode = Default means that the component will work as it worked by now: the last part of the message, which is not an attachment, will be set as a content of the resulting article; the rest will be ignored. E.g. if you have an e-mail with two variants of the message (plain text and HTML), the plain text variant will be ignored and the HTML variant will be set as the article's body.

Mode = iPhone means that no part of the message will be ignored. All these parts will be concatenated using the HTML code, set in the concatenation html setting (e.g. <br />, <hr />, etc.).







2. Support for Ignite Gallery is added. You have to chose the Ignite category the images will be imported to. The content of the e-mail will be set as description of the imported image. If multiple images are attached to the message, only the last one will be processed!


Posted by: Web Design Seo Nov 5 2012, 07:51 AM

Цитат
How do I get it back but that the mail will be picked up automatically. Is this possible using a cron job?

Yes, there is a cronjob, just read guide in first post in this topic.



New v.1.6.3 of Post by Email for Joomla is published today!

Added are two new options:

- "Notify subscribers" option for Kunena. When importing into Kunena (ver. 1.7 or 2.0+), the component is now capable of sending e-mails to the subscribed users, if the "Notify subscribers" setting is switched on.
- Storing of information from imported messages in database table - if option is switched on, sender's name and/or e-mail address are stored in database. When importing into com_content or K2, the component is now capable of storing information about the message sender's name (if present) and/or e-mail address. To do so, the relevant table field names must be set in the "Additional info" section of the PBM settings. The component checks if these fields exist in the relevant table. If not - it creates them.



Is updated Joomla 2.5 version only!

Posted by: Web Design Seo Nov 6 2012, 11:16 AM

Today http://3dwebdesign.org/forum/index.php?showtopic=1359&view=findpost&p=4741 is released, version of component for Joomla 2.5 is updated again.

Posted by: Ivan Stamenov Nov 14 2012, 10:12 AM

A new version will be released in a few hours. The accepted attachment file types now might be set as file extension in addition to the MIME type, e.g. "xls;doc;pdf" (please note that the extensions must be entered without the trailing dot).

Fixed is a bug when the message boundary ends with the '=' character. To fix it manually, open the PBM controller at /administrator/components/com_post_by_email/controller.php:



1. Replace (line 457 J2.5 or 568 J1.5):

Код
if (!$$param) {
    if (FALSE !== ($pos = stripos($chunk, $string))) {
        $$param = trim(substr($chunk, $pos+strlen($string)),"\"\r\n\t=: ");
            if (FALSE !== ($pos = stripos($$param, "\n")))
            $$param = trim(substr($$param, 0, $pos),"\"\r\n\t=: ");
    }
    if ('boundary' != $param && 'filename' != $param)
        $$param = strtolower($$param);
}


with:

Код
if (!$$param) {
    if (FALSE !== ($pos = stripos($chunk, $string))) {
        $$param = trim(substr($chunk, $pos+strlen($string)+1),"\"\r\n\t ");
        if ('boundary' != $param && 'filename' != $param && 'cid' != $param)
            $$param = strtolower($$param);
    }
}




2. Replace (line 709 J2.5 or 721 J1.5):

Код
//preserve the ?= pairs
$message = str_replace("?=\r\n", 'pbm?=pbm', $message);
//soft line breaks - quoted-printable encoded messages
$message = str_replace("=\r\n", '', $message);
//restore the ?= pairs
$message = str_replace('pbm?=pbm', "?=\r\n", $message);
//unfolding...
$message = str_replace("\r\n ", ' ', $message);
$message = str_replace("\r\n\t", "\t", $message);


with:

Код
//unfolding...
//preserve the soft line breaks
$message = str_replace("=\r\n", 'pbmSLBpbm', $message);
$message = str_replace("\r\n ", ' ', $message);
$message = str_replace("\r\n\t", "\t", $message);
$message = str_replace('pbmSLBpbm', "=\r\n", $message);

Posted by: Web Design Seo Nov 14 2012, 12:45 PM

New version is already uploaded. Are updated both versions - for Joomla 2.5 and for J1.5!

Posted by: Ivan Stamenov Nov 21 2012, 09:54 AM

Vesrion 1.7.0 (for Joomla 2.5) is launched. It has xajax removed, code optimized and works with both Kunena 1.7 and 2.0. Kunena ver. 1.6 and below are no longer supported and may not work correctly.

New version is already uploaded and available.

Posted by: Web Design Seo Jan 10 2013, 11:57 AM

New version is released and is already available - v.1.7.1 for Joomla 2.5. Is added option "language" for content and K2. Now you can post imported content only in one language or in all languages in website.

Posted by: Ivan Stamenov Jan 16 2013, 11:14 AM

A version 1.8.0 for Joomla 3.0 of the Post By Email component is already available.

The content below refers only to those, which hosting runs PHP 5.2.x and below:

If you want to use Joomla 3.x and automatic import from cron job, you may add the following code on top of the .htaccess file:

Код
AddHandler x-httpd-php53 php


Then you'll have to alter (as described in the file itself) the cron.post_by_email.php file in order to make it work under these conditions, basically:

1. Replace
Код
die('Your host needs to use PHP 5.3.1 or higher to run this version of Joomla!');

with
Код
define('MY_SITE_ROOT', 'http://my.site.domain/root/');
echo file_get_contents(MY_SITE_ROOT.'administrator/components/com_post_by_email/cron.post_by_email.php');
exit;


2. Replace http://my.site.domain/root/ with your site's domain and root directory. These steps will ensure that the .htaccess directive has effect upon the cron job and it will not die with fatal errors.

Post by email version for Joomla 3 support only content and K2!

Posted by: Web Design Seo Feb 1 2013, 09:35 AM

01 February 2013: v.1.7.2 for joomla 2.5 is released: is added option to add included as attachment picture in K2 tab "picture". VErsion for Joomla 3.0 is updated - v.1.8.1 is latest.

Posted by: Ivan Stamenov Feb 12 2013, 10:06 AM

New versions are released for both Joomla 2.5 and 3.0 (v.1.7.4 for joomla 2.5 and v.1.8.3 for Joomla 3.0).

If the sender's e-mail address is recognised as a Joomla user's e-mail address, the relevant user gets set as content item author. Otherwise the default author is used.

Posted by: Web Design Seo Mar 19 2013, 10:57 AM

Today is released new version - v.1.7.6 for Joomla 2.5 and v.1.8.5 for Joomla 3.0.

1. Is added a new setting in the admin (Reply tag), now you are able to set what the reply emails' subjects must start with. You may set this to AW, WG, RE, FWD or whatever you want. If an email subject starts with AW:, wg:, Re: or fWd: (case insensitive), the message will be threatened as a reply to the relevant topic.
2. Some small changes to work well with latest kunena 2.0.4.

Цитат
Older versions of Post By Email are inside archive. If your version of Kunena is older, i recommend you to use v.1.7.5 of Post By Email for Joomla 2.5 and v.1.8.4 of Post By Email for Joomla 3.0.



New version is uploaded and available for download.

Posted by: gruz Apr 2 2013, 12:04 PM

Disregard it. The uses misconfigured the plugin.

Posted by: pavelKukov Apr 2 2013, 01:36 PM

Post By Email do NOT trigger joomla before/after save events.

Importer for com_content is located at: /public_html/administrator/components/com_post_by_email/helpers/importers/com_content.php

Write code looks like:

Код
... line ~51
$row =& JTable::getInstance('content');
$row->bind($data);
if ($row->store()) {
...

Posted by: Web Design Seo Apr 8 2013, 03:57 PM

New version is released 04.04.2013: v.1.7.8 for joomla 2.5 and v.1.8.7 for Joomla 3.0.



Цитат
Added is Kunena parser. When you select to post "as reply" in kunena, "Forum" and "Thread ID" options don't work - parser post email in the right topic automatically based on email name (name of topic must be included in email title).




Post by email for Joomla 3 does NOT support Kunena for Joomla3 for now!

Posted by: Web Design Seo Apr 15 2013, 01:18 PM

15.04.2013: Post By Email Pro now have new update of Auto-reply (RE and FWD) function for Kunena. Now PBE is able to parse "Re: [Forum] Topic (Category)" and "Re: Re : Re: Fwd : [Forum] Topic (Category)".

Цитат
Are updated both versions - for Joomla 2.5 and for Joomla 3. New version is already published in our website and is available for download from users with active subscription.

Posted by: Web Design Seo Apr 16 2013, 10:32 AM

New version is released:

Цитат
16.04.2013: Fixed one notice in cron in version for Joomla 1.5.


Is updated only version for Joomla 1.5!

Posted by: Web Design Seo Jun 7 2013, 12:40 PM

Today is added Italian translation (only in Joomla 2.5 version) by Paolo Giustiniani.
Thank you, Paolo!

Posted by: pavelKukov Jun 12 2013, 11:29 AM

Soon will be available new downloadable version of "Post By Email". Versions are as follows:

for Joomla 2.5 -> 1.7.9
for Joomla 3.0 -> 1.8.8

What's new in this versions?

1. Added support for kunena 3.x
2. Conversion for basic html tags to bbcode when posting to kunena.
3. Minor code improvements.

Posted by: Web Design Seo Jun 12 2013, 12:39 PM

New version is already uploaded and available for download. Now latest version of "Post by email" support kunena 3.

Posted by: Web Design Seo Jun 19 2013, 09:51 AM

V.1.8.9 for Joomla 3.0 is released. Version for Joomla 3.0 is updated today to work with latest php versions.

Only joomla 3.0 version is updated.

Posted by: chrigu888 Jul 5 2013, 06:21 AM

Hi,

I have yesterday installed Post By E-mail. This is working perfect. I can send E-Mails directly to the News section of my Joomla Website. This is working perfect by Google Mail and by the iPad. Text and also images are displayed correct.
But if I use my Samsung Galaxy S2 only the Text will be diesplayed. The image will be ignored. Any idea what I have to do?

I run version 1.7.8 on Joomla 2.5.11.

Kind regards
Chrigu

Posted by: pavelKukov Jul 8 2013, 11:49 AM

New versions of post by email are released.

1.8.9 for joomla 3+
1.8.0 for joomla 2.5

Changes are in kunena support. Now is possible to have moderated categories. Imported with PBM topics and messages will wait approval. It has minor improvement in parsing email subject.

Fixed bug:
Create topic in first category when target category is not found.
------ Now topic won't be created at all. ------


Example:

You have category named "Cat" and topic named "Black"

1. If category is moderated new topics and messages will wait approval. (in previous version will be published directly, without moderation)
2. If email subject is "Dog", when you try to import, will give an error because category "Dog" do not exists. (in previous version will be created topic "dog" in first category)
3. If email subject is "Orange (Cat)" will be created topic named "Orange" in category "Cat"
4. If email subject is "Re: Black (Cat)" will be posted new message in category "Cat" topic "Black" with subject "Re: Black"
5. If email subject is "Black (Cat)" will be posted new message in category "Cat" topic "Black" with subject "Re: Black"

Posted by: Julian Oct 3 2013, 10:04 PM

Hi Pavel,

the component is really great and thanks a lot for it.

There is just one feature, that I am missing a lot:
A line like that for the answers:

<----- Write above that line to answer the posting ----->

Whatever is written in that line, that´s not important.
The important thing (for me) is, that I won´t like to have the complete mail in the forum. Most users quote the complete text of the answered email, becuase Outlook and others do it automatically. This is not a problem in eMails, but if that happens in the forum it will get a problem.

In addition to that, many users add footer-linkes in their eMails, sometimes eMail-Adresses appear in answers, that should not get posted in the forum and stuff like that.

By adding a line like the above one and have the funcion, that only the text ABOVE the line is posted in the forum, this would make it much more conveniant.

Do you see a chance for that?

All the best, Julian!

Posted by: Web Design Seo Oct 4 2013, 06:11 AM

Post by Email can work with parsers. We have one old example for linkedin in package (is non-working, linkedin change their emails content). Every php programmer or company as developer can make parser - for outlook or for some website like emails received from facebook for example.

3D Web Design to make parsers soon? There is no chance to make some parser soon, we have many prepaid orders for custom development and we will work only on these orders in next 1-2 months.

Posted by: Julian Oct 8 2013, 02:08 AM

QUOTE (Web Design Seo @ Oct 4 2013, 06:11 AM) *
Post by Email can work with parsers. We have one old example for linkedin in package (is non-working, linkedin change their emails content). Every php programmer or company as developer can make parser - for outlook or for some website like emails received from facebook for example.

3D Web Design to make parsers soon? There is no chance to make some parser soon, we have many prepaid orders for custom development and we will work only on these orders in next 1-2 months.


Unfortunately I am not a php-programmer, so I guess I pass this topic for the moment.

But I have another question:
ARe there any problems with the cron?

Since four days I try to get the cron working. But even if I call the URL directly, the eMails are not taken into the forum.
The cron-command I use in the moment is:

CODE
/usr/MYSERVER/php -q /home/netsh106601/html/administrator/components/com_post_by_email/cron.post_by_email.php &>> /dev/null


or

CODE
http://www.MYDOMAIN.de/administrator/components/com_post_by_email/cron.post_by_email.php


Nothing happens. Even If I directly open the url
CODE
http://www.MYDOMAIN.de/administrator/components/com_post_by_email/cron.post_by_email.php

nothing happens.

But When I click on "Import" in the backend, everything works.
Any Idea?

All the best, Julian!

Posted by: Web Design Seo Oct 8 2013, 06:13 AM

Julian, is possible to have some php error. Is your test with http://3dwebdesign.org/images/stories/joomla-extensions/joomla-error-reporting.png?

Posted by: Julian Oct 8 2013, 06:50 AM

QUOTE (Web Design Seo @ Oct 8 2013, 06:13 AM) *
Julian, is possible to have some php error. Is your test with http://3dwebdesign.org/images/stories/joomla-extensions/joomla-error-reporting.png?


Now I made a test with the Setting "Maximum".
But nothing. It doesn´t work, and there are no Error-Messages.

Posted by: Web Design Seo Oct 8 2013, 07:08 AM

We can't help you without error. Test manual first.

Posted by: Julian Oct 8 2013, 07:46 AM

QUOTE (Web Design Seo @ Oct 8 2013, 07:08 AM) *
We can't help you without error. Test manual first.


What do you mean with "Test manual"?
I tested it manual: When I call the php directly, there is no error-message. It´s just a blank screen.

So I´ve put two echo inside with the text "Hello world".
One on line 10, one on the bottom.
When I call the php manualy, the first echo is shown on the page, the last isn´t.

Meaning to me:
When the script is called, it works. But I don´t know on which line it breaks.
So I tested some more:
Even when I place an echo after the first line of code, it is not shown anymore in the output.

What does this line mean:
CODE
if (!empty($_SERVER['REMOTE_ADDR'])) exit;


I am not a coder, but as far as I try to understand, everything after this line is ignored.

All the best, Julian!

Posted by: Web Design Seo Oct 8 2013, 08:17 AM

The only one way to find problem is access to your website - joomla admin login and ftp login data. If you want, send data to our email. Email must be sent from email used in your order.

Posted by: Julian Oct 10 2013, 01:46 PM

I´ve just sent it to you!

Posted by: pavelKukov Oct 21 2013, 07:30 AM

Today one user wanted to add many possible mime types. In order to do so, he needed to increase limit of input field in configuration.

To increase length of mime types field follow steps below.

1. Open File /administrator/components/com_post_by_email/views/item/tmpl/default.php"
2. Find (around line 164)
id="params_accepted_mime_types" size="50" maxlength="160"
3. Replace with
id="params_accepted_mime_types" size="50"

Posted by: pavelKukov Nov 26 2013, 11:48 AM

Update is available for download!
For Joomla 3.x version is 1.9.1 (important update for compatibility with php 5.3 and joomla 3.x)
For joomla 2.5.x version is 1.8.1

1.9.1 changes
1. Fixed minor bugs under joomla 3.2
2. Modified declarations of few methods for compatibility with joomla 3.2 declarations
3. Fixed passing by reference for compatibility with php 5.3+

1.8.1 changes
1. Modified declarations of few methods for compatibility with joomla 2.5 declarations
2. Fixed passing by reference for compatibility with php 5.3+

Note:
update for joomla 2.5 is not important because joomla itself violates php 5.3 recommendations and standarts
update for joomla 3.x is recommended since joomla 3.x must run on php 5.3 at least

Posted by: supamic Dec 3 2013, 12:41 AM

The Extension is working great, I have 2 issues though.

First is one you can help by directing me to the relevant php file... I have a couple auto-posts from newsletters that use <style> tag, this does not appear to be part of html tags which are stripped by PostbyEmail function so can you direct me to the appropriate file for modification (and some direction if it isn't straight forward).

Second is the Copy function for duplicating different PostbyEmail profiles is not accurately copying tables, I haven't downloaded 1.9.1 or 1.8.1 yet so if you've already fixed this bug then Thank you in advance.

Thanks so much for a great Component, it has saved my clients and I countless hours!
(Do you have any custom parsers you've created that could be pared down for a general template us developers could build off of?I usually just need a start point)

Posted by: pavelKukov Dec 3 2013, 02:42 PM

Цитат(supamic @ Dec 3 2013, 02:41 AM) *
The Extension is working great, I have 2 issues though.

First is one you can help by directing me to the relevant php file... I have a couple auto-posts from newsletters that use <style> tag, this does not appear to be part of html tags which are stripped by PostbyEmail function so can you direct me to the appropriate file for modification (and some direction if it isn't straight forward).

Second is the Copy function for duplicating different PostbyEmail profiles is not accurately copying tables, I haven't downloaded 1.9.1 or 1.8.1 yet so if you've already fixed this bug then Thank you in advance.

Thanks so much for a great Component, it has saved my clients and I countless hours!
(Do you have any custom parsers you've created that could be pared down for a general template us developers could build off of?I usually just need a start point)


Hello!

About First
Open file "/administrator/components/com_post_by_email/helpers/helper.php"

Around Line 180 search for:

Код
//Final touch
if ($parser_params['strip_tags']) {
    $content = empty($parser_params['allowed_tags']) ? strip_tags($content) : strip_tags($content, $parser_params['allowed_tags']);
    $content =  html_entity_decode( $content, ENT_QUOTES, mb_detect_encoding( $content, array_unique( array_merge( array('cp1251', 'utf-8', 'iso-8859-1', 'windows-1251', 'ASCII', 'UTF-7'), mb_list_encodings() ) ) ) );//$charset);
}


About Second
Soon will be available update in whom this bug is fixed! This was fixed in version for Joomla 3.x
New version will be 1.8.2 and will be released after about one hour.

Posted by: pavelKukov Dec 3 2013, 03:05 PM

New updates are available for both versions!

For Joomla 2.5 version is 1.8.2
For Joomla 3.x version is 1.9.2

What's New?
Fixed Bug in both versions.
Bug was that K2 imports only one email (this function was working previous k2 versions, tested before 2-3 months... but k2 is updated again, so, now import in K2 work well in latest K2 version also)

Fixed bug in j2.5 version.
Copy functionality is now working!

This update is highly recommended for users that use K2!

Posted by: supamic Jan 20 2014, 11:36 PM

I am having an issue where email subjects with a single quote ’

It will not transfer the rest of the subject into the title of article, so just ends at the single quote point for example turning
"It’s time!" into "It"

This is only seems to happen with ’ character as opposed to '
I cant tell you what the character code of the problem single quote is but I have noticed the difference in conversion of subject to title, hopefully we can have the title conversion handle this problem character.

For my own reference are the custom parsing scripts run before creating article title or after?

Posted by: pavelKukov Jan 21 2014, 08:04 AM

Цитат(supamic @ Jan 21 2014, 01:36 AM) *
I am having an issue where email subjects with a single quote ’
...


Subject is treated in different ways based on component in to whom emails are imported.
This is called everywhere to clean extra white space.
Код
$subject = mb_ereg_replace("[[:blank:]]+",' ', trim(substr($line, 8),"\r\n\t "));

For com content they are no other filters. Just joomla database "quote".
ASCII grave accent ( ` ) or "backtick" is used to escape MySQL reserved words.

Posted by: almerbiner Jan 29 2014, 09:51 AM

Hello,

I'm interested by the Post by email extension for Joomla.
But as there is no trial version I'm wondering how I can make it work with my config.
Basically, I'm hosted on a shared server where I don't have access to cPanel and don't have the possibility to add a cron job.
I know I can log in as administrator and run manually the rules, but is there a way to automate this rule either by running a url without authentication or using the XTCronjob extension for example ?
Thanks in adance for your quick reply
Almer Biner

Posted by: Web Design Seo Jan 29 2014, 09:55 AM

Extension can work manual and automatic over cron job.

If you don't have cpanel and cron jobs in your contol panel: Post by Email work great also with http://3dwebdesign.org/forum/free-cron-service-to-configure-your-cron-jobs-t2035.

Posted by: Web Design Seo Feb 12 2014, 02:55 PM

New version is uploaded today. Latest versions are:
v.1.8.3 for Joomla 2.5
v.1.9.3 for Joomla 3.xx

Changes are for better compatibility with other Joomla components. Table, model and view are renamed from Item to PBMItem.

Posted by: DavidVdM Feb 24 2014, 04:42 PM

Hi,

I'm having a problem with some emails not showing up in K2. Emails being sent through a special radio email service (for a friend on a boat) don't seem to be parsed by Post by Email. Test mails sent from Gmail work fine but messages sent from her boat don't show up. The mailbox is checked by Post By Email because I can see the emails become 'read' but they never show up in K2.

I've already checked with 'maximum' error reporting but no errors showed up. What should I do?
Maybe there is something weird with how the emails are being formatted? Could you check this if I ask her to send you a test email?

Thanks in advance!

p.s. Sorry if this was posted in the wrong place.

PHP Version 5.3.28
Post by Email Pro 1.9
Joomla! 2.5.6 Stable

Posted by: Web Design Seo Feb 24 2014, 04:49 PM

There is no Post by Email Pro v.1.9 for Joomla 2.5. Latest for Joomla 2.5 is v.1.8.3, latest for Joomla 3.xx is v.1.9.3 - released on 12 February 2014. Read more: http://3dwebdesign.org/post-by-email-pro

Please, check version in extension xml fil or on page "manage extensions" in Joomla admin:

Код
/administrator/index.php?option=com_installer&view=manage

Posted by: DavidVdM Feb 24 2014, 05:41 PM

QUOTE (Web Design Seo @ Feb 24 2014, 05:49 PM) *
There is no Post by Email Pro v.1.9 for Joomla 2.5. Latest for Joomla 2.5 is v.1.8.3, latest for Joomla 3.xx is v.1.9.3 - released on 12 February 2014. Read more: http://3dwebdesign.org/post-by-email-pro

Please, check version in extension xml fil or on page "manage extensions" in Joomla admin:
CODE
/administrator/index.php?option=com_installer&view=manage


Sorry, I looked at the zip file. The actual version is 1.7.6.

Posted by: Web Design Seo Feb 25 2014, 07:11 AM

You need just to update your version, there is no support for older versions. Latest for Joomla 2.5 is v.1.8.3, released on 12 February 2014. In latest version are fixed all known bugs.

Quote from version history:

Цитат
16 December and 03 December 2013: two bugfixes for K2 importer. v.1.9.2 For Joomla 3.x and v.1.8.2 for joomla 2.5: Bug fixes in K2 importer (K2 team update again and again K2...) and "copy" button bug fix in Joomla 2.5 version.

Posted by: Web Design Seo Feb 25 2014, 01:14 PM

New versions are published: Updated are both Jomla 3 and Joomla 2.5 versions. http://3dwebdesign.org/forum/index.php?showtopic=2051&view=findpost&p=7149.

Posted by: pavelKukov Mar 10 2014, 12:11 PM

New versions are published: Update affects both Jomla 3 and Joomla 2.5 versions.

Joomla 3.x - PBM v1.9.4
Fixed bug - "Publish automatically" selection. Till now was only possible to select YES.

Both version: Joomla 3.x - PBM v1.9.4, Joomla 2.5 - PBM v1.8.4
Improved parsing to "From" email header. This affects in a greater degree Kunena importing.

Posted by: Web Design Seo Apr 2 2014, 09:57 AM

02.04.2014: V.1.9.5 released - Added are CSV import functions in Joomla 3 version over Csv Import Export Free Component included in Post by Email package.

Full guide and functions description: http://3dwebdesign.org/forum/csv-import-export-free-joomla-component-t2081.

Posted by: pavelKukov Apr 7 2014, 07:51 AM

Component is updated again today. Found and fixed issue with latest version V.1.9.5.
It was compatibility problem with php 5.3. Read bellow for details.

Details:
File: /administrator/components/com_post_by_email/views/pbmitem/view.html.php on line 125

Following code which is compatible with php5.4+

Код
$csv_items = (new CsvimportexportModelConfigurations())->getItems();


is replaced with
Код
$CsvimportexportModelConfigurations = new CsvimportexportModelConfigurations();
$csv_items = $CsvimportexportModelConfigurations->getItems();


which is compatible with php 5.3+

Posted by: Phil Apr 18 2014, 09:22 AM

Hello,

I cannot figure how to program Post by email pro. I have read all the doc on the forum, and I am missing something.

When I send an email to the adress petitesannonces@habitatparticipatif-paca.net.
Nothing happens, I get the following message on my mail box
I'm sorry to have to inform you that your message could not be delivered to one or more recipients.

What am I doing wrong ?

Posted by: Web Design Seo Apr 18 2014, 03:27 PM

Цитат
could not be delivered to one or more recipients

This message is from your email server, not from our component. I can't understand your problem. You send email to configured in post by email email box? And email is not posted in your site automatically?

If this is the question, you need to configure cron job. How-to configure cron and examples are at end of first post in this topic.

Posted by: pavelKukov Apr 22 2014, 08:47 AM

New minor update for PBM.

Versions are as follows:

For joomla 2.5 - Post By Email 1.8.5
For joomla 3.x - Post By Email 1.9.6

It is fixed bug with importer for Kunena forum.
Bug is detected with Kunena versons 3.0.4 and 3.0.5

Changes:

In both versions

In file "administrator\components\com_post_by_email\helpers\importers\com_kunena.php" line 7 was

Код
if(class_exists('KunenaFactory') && method_exists('loadLanguage','KunenaFactory'))


and is changed to

Код
if(class_exists('KunenaFactory') && method_exists('KunenaFactory','loadLanguage'))


In PBM for joomla 3.x

1. File "administrator\components\com_post_by_email\helpers\importers\com_kunena.php" on line 241 was

Код
JUtility::sendMail ($cf->email, 'Post By Email', $kunena_subscribing_email, $subject, $content);


it is replaced by

Код
$mail = JMail::getInstance();
$mail->sendMail($cf->email, 'Post By Email', $kunena_subscribing_email, $subject, $content);

Posted by: tester May 26 2014, 06:39 AM

Hello Guys,

I am new to this field.. i just want to know that will this extension help me to post content on wall via gmail account by any registerd user??Please help me out..

Thanks,

Posted by: Web Design Seo Jun 18 2014, 08:30 AM

Post by Email update from today: Bugs are fixed in CSV import export component for Joomla 3.

Posted by: Web Design Seo Jul 8 2014, 02:35 PM

From now is available package with longer subscription for Post by Email Pro.

If you need longer subscription for our joomla component, you can buy it here: http://3dwebdesign.org/post-by-email-pro-10-downloads.

Posted by: pavelKukov Jul 21 2014, 01:21 PM

New version of Post By Email is available. Version is only for joomla 3.x
Version number is 1.9.7


Scraper for Post By Email

Main idea is to scrape content from URLs. Links should be located into email body. Extracted content can be published in Content Articles or K2. You can configure which URLs to extract and what fragment from page content to use.

For Example:

I've subscribe for breaking news newsletter. In email that I'm receiving are shown links to full article page. Post by email is properly configured to publish scraped content instead of email content. When process starts PBM will extract all links from email body. Then content form each URL will be extracted and published into desired place.


New Options are separated in two tabs "Scraper" and "Scraping Options".


Scraper Tab:

Enable Scraper: Enable/Disable scraper. It is allowed only if "Publish the content in" is set to "Content Articles" or "K2".
Filter By From Email: Comma separated list with emails. Scraper will run only if imported email is from someone in this list. If list is empty scraper will be active in all cases.
Filter By URL: Comma separated list with text fragments. If URL contains one of the fragments, URL will be imported. All URLs which not contains at lest one fragment, are excluded from URLs list. If you leave empty this field than no filter will be applied and all URLs are be considered good for import.
Slice URLs List From: After URLs list is prepared it can be sliced in order to reduce number of imported URLs.
Slice URLs List Length: URLs list maximum length. If 0 is selected than no limit will be applied. Note: If URLs list is too big this can cause PHP time limit to exceeded.
Post Title: Use scraped document title, email subject or default title as new post title. Fall-back option will set title in following order: First: scraped document title, Second: email subject, Third: default title.
Default Title: Fall-Back in order: Doc Title, Subject, Default



Scraping Options Tab:

Test URL: You can test your configuration without real content publishing.
Download Images: Enable/Disable images download to local files.
Download Directory: Images will be downloaded locally into selected folder. Path is relative to your joomla installation document root.
Minimum Size: Images smaller than selected will not be downloaded locally and will be removed from content.
Images Limit: Maximum number of images to be downloaded and kept in content.
Image In-line Style: In-line style attribute.
Images class: Class attribute for imported images.
Extract By Selector: Extract target content by CSS selector.
CSS Selector: If "Extract By Selector" is enabled, this CSS selector will be used for extracting desired content fragment from scraped html. Selector works thought "simple_html_dom" and do not support CCS3 selector like ":first-child" and etc.
:nth-child: Extend CSS selector by getting nth child.
Scrape From: If CSS selector is disabled, than desired content fragment will be extracted by getting content between two strings. This is starting string. It is searched from the beginning of the text.
Scrape To: If CSS selector is disabled, than desired content will be extracted by getting content between two strings. This is ending string. It is searched from the end(backwards) of the text.
Remove By Selector: Remove nodes by css selector. By default are removed script tags, noscript tags and comments.
Strip Tags: Call php build-in function "strip_tags"
Allowed Tags: Allowed tags if "strip_tags" is called. They will be passed as second parameter to "strip_tags" function.
Filter To Plaintext: Use "simple_html_dom" to extract plain text from content.
Prepend Text: This text will be joined at the beginning of the scraped content.
Append Text: This text will be joined at the end of the scraped content.


Posted by: pavelKukov Sep 23 2014, 01:29 PM

New version of Post By Email for joomla 3.x
Version number is 1.9.8

It is fixed bug in scraping functionality.
Description: Scraped images ware downloaded, but wrong path is stored in HTML content.
This issue affects only joomla installations on relative path(Example: my-domain.ext/relative-path/) and downloaded scraped images.

Posted by: pavelKukov Sep 29 2014, 01:27 PM

New versions of Post By Email are available for download.
Changes affects joomla 2.5 and 3.x.
Is added support for video attachments(mp4,ogg,webm,mov and flv).



You can place video player instead of direct link to video file.



New versions are:
1.9.9 for joomla 3.x
1.8.6 for joomla 2.5

How It Works?

1. Attached video file is downloaded locally to your web server (use function with small to medium size videos and check you max_execution_time php setting first!).
2. For rendering(player) is used default HTML5 functionality - "<video>" tag. This tag will be concatenated with email content.
3. By specification HTML5 supported video formats are: mp4,ogg,webm. "webm" is not really supported by all browsers so it is recommended to use mp4 or ogg.
4. If you decide to use flv or mov formats, this will require specific player and configuration.
5. We NOT support third party components - for example you must install in your site some video player extension and to insert in code html code of player.

Note: Some editors(wysiwyg) can strip video tag. This depends on what editor you have installed on your joomla.

Posted by: Web Design Seo Oct 2 2014, 09:42 AM

Added screens from video options and code examples.

Posted by: jayw Oct 11 2014, 12:38 PM

I have PBE configured to set the article author to a user account with an ACL of "Registered Author" but it's being set to the sys admin - "Super User" account.

Just upgraded to PBE to 1.9.9 on J3

Any suggestions on how to debug?

Thanks,

-jay





Posted by: pavelKukov Oct 13 2014, 10:50 AM

New version of Post By Email for joomla 3.x will be available for download in next 2-3 days.
New version is 1.9.10

Changes:
Now all versions have Ignite Gallery support!
Support for in-line and attached images into kunena forum (untill now was supported only in-line images).
Strip tags should be turned off!

You can achieve this for joomla 2.5 version by specifying:
HTML container: <img src="%s" />

Posted by: Web Design Seo Oct 16 2014, 02:08 PM

Now new versions are available for download!

Posted by: Web Design Seo Nov 24 2014, 08:35 AM

Latest Kunena have bug inside - notification email sometimes show wrong link - wrong path to topic inside email. Example link inside Kunena notification message:

Код
/home/myaccount/public_html/components/com_post_by_email/index.php?option=com_kunena&view=topic&catid=5&id=13&mesid=13


Problem is due on Kunena function and may be will be cleared in next Kunena version. In Post by Email this code activate kunena notification function:
"administrator\components\com_post_by_email\helpers\importers\com_kunena.php" line 405:
Код
$message->sendNotification();


After this Post by Email not control anything, what is inside email is controlled only from Kunena.

Posted by: Web Design Seo Nov 24 2014, 02:39 PM

Brand new Major version of "Post by Email" is released. New version is Post by Email Pro v.1.10 (latest previous version is PBE v.1.9.11 from 20 November).


Many Scraper and content formatting improvements in this version! Now you have full control of imported content - titles and body of imported emails!

# New Tabs (These options are available only for com_content and k2):



Title & Alias Rules:
Configure how title of the new post will be generated.

Description Rules:
Configure how meta description of the new post will be generated. Now you can prepend and append text, keywords and hashtags in meta description of imported content.


# New Options in "General" tab -> "Publishing Settings" section.

Content between strings:
This will allow to extract email content from different parts of the email.



Content by CSS selector:
Extract email content by CSS2 selector.

How it works?
Content between strings (This is applied only to email content, NOT to scraped content from URLs. This will affect URLs detected for scraping if scrapper is enabled.)

You can define as many as you wish fragments for extraction separated by new line. Each fragment consists from four parts String Before Fragment|Fragment Start|Fragment End Or Length|String After Fragment. All parts are separated with vertical line:

Код
|


Example:
You have email with following content:

Some content presenting special article named "Obama the last president". Many sentences. And other stuff. Today is 2014-10-19. This is automated email from site.com.

In order to publish "Obama the last president" configure the fragment:
Код
|article named "|". Many|

or configure the fragment:
Код
|article named "|24|

- In the above example 24 is string length of the fragment (24 characters) and is counted after the first occurrence of: article named "

In order to publish "Is that true? Obama the last president - 2016?" configure the fragment:
Код
Is that true? |article named "|". Many| - 2016?

or configure the fragment:
Код
Is that true? |article named "|24| - 2016?


In order to publish "News from 2014-10-19. Obama the last president" configure the fragments:
Код
News from |Today is |. This|.
|article named "|". Many|



Content by CSS selector:
This will extract fragment from email by CSS 2 selector. This procedure will be triggered after "Content between strings" extraction is completed.


Title & Alias Rules:
Title Rules consists of two parts: Title Fragments and Filter Rules.
Alias Rules have only one component Filter Rules.



This will allow you to generate title by using content of email or scraped URL. In Title Fragments you can configure how fragments to be extracted.

Possible methods are:
"between_strings" - This will extract text fragment located between two strings.
"from_string_to_length" - This will extract text fragment with specified length located after string.
"by_selector" - Extract fragment by CSS 2 selector from dom(email body or scraped URL)
"email_subject" - Do not extract nothing. Use email_subject
"scraped_title" - Do not extract nothing. Use scraped_title from URL

In Filter Rules you can apply some replacement to generated title.


Alias Rules.
Alias Rules are replacements applied to title from which article alias (article url) is generated. Alias rules are applied to the title. For example, you can make a rule to replace one letter to another. So you have transliteration possibility. You can remove too short words or special characters.

- Search field is what to be found.
- Replace field is what to be replaced.
- "Is Regular Expression" determine if Search and Replace to be treated as regular expressions.
- Limit is a limit to the number of substitutions.
- The rules are applied consistently one after another.

Examples:
Title: Constantine (later Kiril) and Michael (later Metodii) were born early in the 9th century in Thessalonika into a senatorial family.

Example 1:
Is Regular Expression: 0
Search: Kiril
Replace: Cyril

Result: Constantine (later Cyril) and Michael (later Metodii) were born early in the 9th century in Thessalonika into a senatorial family.

Example 2:
Код
Is Regular Expression: 1
Search: /(^|\s+)[a-z0-9]{1,3}($|\s+)/ui
Replace: '$1-$2'


Result: Constantine (later Kiril) - Michael (later Metodii) were born early - the - century - Thessalonika into - senatorial family.



Description Rules:



Description Rules consists of two parts: Description Fragments and Filter Rules. This will allow you to generate meta description by using content of email or scraped URL. In Fragments you can configure how fragments to be extracted.

Possible methods are:
"between_strings" - This will extract text fragment located between two strings.
"from_string_to_length" - This will extract text fragment with specified length located after string.
"by_selector" - Extract fragment by CSS 2 selector from dom(email body or scraped URL)
"email_subject" - Do not extract nothing. Use email_subject
"scraped_title" - Do not extract nothing. Use scraped_title from URL
"meta_description" - Content of meta description tag for scraped URL


New version is tested more than 3 days and is http://3dwebdesign.org/post-by-email-pro. Version for Joomla 2.5 is not updated. New options are ONLY for Joomla 3 version!

Pictures and more description pending.
Cheers smile.gif

Posted by: Web Design Seo Nov 24 2014, 03:28 PM

NEW Possibilities with PBE v.1.10 for Joomla 3:

1. New Features - for both Email importer and Page Scraper:

1.1. Set the pages Meta Description by:
a. Define a string of characters or html tag for the beginning of the Meta Description.  For the length, specify the number of characters to include OR a end-character string OR html tag. Concatenate different strings i.e., “String1, String2, String3, String4, String5”
b. Use of the subject line of email.
c. Use the Meta Description of the target page.
d. Option to add a #hashtag at the end of the Meta Description string.

1.2. Option for creating the page’s URL and titles based on content in the email, the subject line or the scraped page. Concatenate different strings i.e., “string1, string2, etring3, string4, string5”.


2. New Features ONLY for Email importer: Ability to scrape email content between strings and/or html - Most emails have headers and footers or signature lines - now you can omit them when the page is created. 

3. New Features ONLY for Scraper: Option to not scrape the control characters (CR/LF) in between <pre> and </pre> tags.

Posted by: jayw Dec 5 2014, 12:02 PM

Can I setup multiple cron jobs to import newsletters at different frequencies?

Examples:
I get email weather alerts and I would like to check that email account once every 5 minutes.
I have information newsletters that are ok to process once a day.

-jay

Posted by: Web Design Seo Dec 5 2014, 12:18 PM

With current version - no.

Posted by: Web Design Seo Jan 12 2015, 07:34 AM

"Post by Email" v.1.10.1 for Joomla 3 is released today - fixed is bug in cron job.

Posted by: Compunet Jan 30 2015, 12:39 AM

Request:

When specifying %s, as in; <img src"%s" alt="Attachment" /> Result Displays the Picture if correct extension, etc.

When specified the second time;

CODE
<a href="%s" title="Attachment"><img src="%s" alt="Attachment" /></a>

Result Gives no link, but allows for download.
However if i use the following I have a picture and I can attach several pictures and/or files for download
CODE
<a href="%s" title="Attachment"><img src="staticimage.jpg" alt="Attachment" /></a>


My final question is, can you make %s static for filename and have this as an array and have the second %s changed to %(t or etc)

I tried using {FILE_PATH} and {FILE_NAME} in place of %s but I could not achieve my goal, very possible that I am not coding the {FILE_NAME}, etc correctly.
It is almost perfect for what I am trying to do. I briefly looked at the code to try and find what I needed and got tired last night.

If I were able to use the following, this would work perfectly!
CODE
<a href="%s" alt="{FILE_NAME}"><img src="static.jpg" title="{FILE_NAME}" /></a>


I used to write code from scratch, but I manage too many clients with server/workstation setup to put much time in anymore.

I did purchase already, Thanks for the plugin, I really like it!

Posted by: Web Design Seo Jan 30 2015, 06:54 AM

@Compunet and @jayw, we will think about your recomendations for last update.

Posted by: Compunet Feb 1 2015, 01:02 AM

QUOTE (Web Design Seo @ Jan 30 2015, 12:54 AM) *
Compunet, we will think about your recomendations for last update.

Much Appreciated!

Posted by: Quickheads Mar 8 2015, 11:28 PM

I have the latest version of PBE installed (1.10.1 as of this writing) I really like the component . . . thank you.

I am having trouble configuring a couple of things.

If I have an email subject line in the following format:

Re: [Forum Name] Title of Post (Category Name)

The resulting scrape from PBE places the reply in the correct category, and thread, but it leaves the "Re: [Forum Name]" in the title.
If users continue to reply to these posts, you end up with "Re: Re: Fwd: Re: Re: [Forum Name]" in the title of each post.

I have played around with the "post as reply" settings and I can't seem to get this to work consistently.

Also if a forum user replies to an email automatically generated by Kunena, the new post contains the text of the original email generated by Kunena.
For example the post would look something like this:

Код
This is the ONLY text that I want to appear in the reply via email.

On 2015-03-08 18:50, [Forum Name] wrote:

A new post has been made to a category to which you have assigned as moderator on the [Forum Name]

Message Subject : Vas is das?
Category : Q1 Forum
Posted by : quickheads

URL : www.quickheads.com/index.php?option=com_kunena&amp;view=topic&amp;catid=14&amp;id=1310&amp;mesid=1344&amp;Itemid=468

Message :
yeah yeah real uber good

Please have a look at it after you have logged in on the site.

Do not answer to this e-mail notification as it is a generated e-mail.


I have played around with the "Content between strings" module . . . but again I can't get it to work if the text is at the very start of the string. It either adds a blank post, or doesn't remove the unwanted text. Any help you could provide would be helpful.

Thank you,
Dan Yager
www.quickheads.com

Posted by: Brian Craigie Oct 16 2015, 11:20 AM

Hi,

There is a warning needing silenced in the script libraries/kunena/forum/message/message.php

On line 177: PHP Notice: Undefined index: REMOTE_ADDR

I think you can silence it with:

$message->ip = @$_SERVER ["REMOTE_ADDR"];


Any news on when compatibility with Kunena 4 will be added?

Thanks

Posted by: Web Design Seo Nov 9 2015, 12:57 PM

New version of "Post by Email" component is released - v.1.10.2 for Joomla 3.

Changes: Is added Kunena 4 support.

Posted by: Jacob Skov Jun 20 2016, 08:51 AM

Hi there

I am having trouble with this GREAT component. I have it running on a Joomla 2.5 / PHP 5.6 and running cron from remote (setcronjob.com). It runs, empties the mailbox and posts on website: Perfect.
But I have a Joomla 3.5.1 running on same server, same PHP (5.6) and from same remote cronservice. Only now it doesn't work. But when I do an import from the post by email component it works flawless!
I believe it may have to do with the mentioned remote cronjob setting, where you need to silence this line: //if (!empty($_SERVER['REMOTE_ADDR'])) exit;. But I can't find it in version 1.10.2.
Ps. and this line is silenced in Joomla 2.5 installation.

Posted by: Web Design Seo Jun 20 2016, 09:17 AM

1. You may have many configured email boxes and unsufficient resources - check PHP settings memory limit and max execution time. As result, if you import one email, all works great, but cron import all boxes at once!

2. If you have problems with the same email box only on one server (on one server works, on other not), you can try to switch to ssl (port 995) or nonssl connection (port 110)

Posted by: Brian Craigie Oct 25 2016, 09:56 AM

I am having problems with J3.6.3 and Kunena 4.0.12 and PHP 5.6.27

Importing via the cron job empties the inbox, but does not put the posts into the forum. The mailbox is on the same server as the forum.

I get this warning:

Undefined variable: cid in administrator/components/com_post_by_email/helpers/helper.php on line 87

Line 87 is:
if (!$$param) {

I get this warning several times for one email.

Can you help me get it working please?

Oh and Kunena 5 is now out. If you would rather get it working with Kunena 5, I'd be happy with that. :-)

Thanks

Brian

Posted by: Web Design Seo Oct 25 2016, 11:42 AM

Post by Email is not tested with Kunena 5. What is the message when you try to import in Kunena 4.0.12 manual?

I just update Kunena in http://androidappsdeveloper.net/ (PHP Version 5.6.24) from 4.011 to 4.0.12 and try to import. Result: sucess, imported two new topics.

Posted by: Brian Craigie Oct 26 2016, 09:33 AM

QUOTE (Web Design Seo @ Oct 25 2016, 12:42 PM) *
Post by Email is not tested with Kunena 5. What is the message when you try to import in Kunena 4.0.12 manual?

I just update Kunena in http://androidappsdeveloper.net/ (PHP Version 5.6.24) from 4.011 to 4.0.12 and try to import. Result: sucess, imported two new topics.


Aha! I found that my replies were creating a new thread (which I had not noticed) because my entry in the "Reply tag" box was wrong (did not match the forum name). So I fixed that and it all works now from the cron. Thank you. :-)

Since Kunena 4 is no longer supported, please can you test it with Kunena 5?

Posted by: Brian Craigie Oct 26 2016, 09:40 AM

Just one thing. New lines and paragraphs in email posts and replies do not make it into the posts. Strip HTML tags is set to NO.

Do I need to change anything else?

It's a bit difficult to read posts that are all on the one line. :-)

Thanks

Brian

Posted by: Web Design Seo Oct 26 2016, 10:06 AM

Just tested. It's not working with Kunena 5. We will try to update component next week, after "Joomla! Day Bulgaria" event.

Posted by: Brian Craigie Oct 26 2016, 01:36 PM

Цитат(Web Design Seo @ Oct 26 2016, 11:06 AM) *
Just tested. It's not working with Kunena 5. We will try to update component next week, after "Joomla! Day Bulgaria" event.



Thanks!

Also, I notice that when "Notify Subscribers" is turned on, subscribers get an email with the topic in it, but the URL shows as the absolute file path instead of the url to the post.

For example:

/var/www/xyz.com/administrator/...

Instead of xyz.com

The problem seems to be with line 327 of administrator/components/com_post_by_email/helpers/importers/com_kunena.php:

$postURL = JRoute::_(JString::str_ireplace(JURI::root(TRUE).'/administrator/','', $JROOT.CKunenaLink::GetMessageURL($id, $message->get('catid'), 0, FALSE), 1));

But I don't know how to fix it.

Thanks

Brian

Posted by: alehman Jan 2 2017, 07:32 PM

I recently purchased and am installing 1.10.2. What is the status getting it to work with Kunena 5?

There is no "Kunena" option in the "Publish content in" setting.

Thanks,
Alan

Posted by: Web Design Seo Sep 25 2017, 06:55 AM

@alehman, "Post by Email" its not yet compatible with Kunena 5.

"Post by Email" is tested with Joomla 3.8, latest k2 and php 7.0 - works well, see screenshots. "Post by Email" component is not tested with php 7.1 and latest Ignite Gallery, is http://3dwebdesign.org/forum/index.php?showtopic=2318&view=findpost&p=8527.




Posted by: Web Design Seo Sep 14 2018, 07:23 AM

14.09.2018: Post by email pro v.1.10.3 released. Changes: Updated to work with Php 7.2.

Цитат
Note: Works with Php 7.2 with switched off error reporting.

Posted by: Alex - BluWeb Oct 17 2018, 07:51 PM

Hi!
I am setting up the PBM v1.10.3 on Joomla 3.8.13. The option to use HTML Container on attachments, is returning something strange. So, I'd like some help, please.

What I did:

CODE
HTML Container: <img src='%s' class='myclass' title='%s' alt='Sent by e-mail' />


What it returns:
CODE
<img src="&lt;img src=&quot;https:/temp.mydomain.com/images/postbyemail/myimage.jpg&quot; class=&quot;pbe-image-attachment&quot; /&gt;" class="myclass" title="myimage" alt="Sent by e-mail" />


The client used to send the e-mail is Thunderbird 52.9.1 and also by webmail like SOGo.

Any help will by much appreciated.

Thank you! smile.gif

Posted by: Web Design Seo Oct 18 2018, 05:43 AM

Alex, try with:

Код
<div class='myclass'>%s</div>


The result:


We will edit description of this field also - now is confusing.

Posted by: Alex - BluWeb Oct 18 2018, 10:32 AM

QUOTE (Web Design Seo @ Oct 18 2018, 02:43 AM) *
Alex, try with:
CODE
<div class='myclass'>%s</div>


The result:


We will edit description of this field also - now is confusing.


Hi!
Thanks for the fast reply. I tried your suggestion and it works, but what I'd like to do is to set a class for the image, the way you suggested is setting a DIV class.
Is it possible to set IMG class instead?


Posted by: Web Design Seo Oct 18 2018, 10:51 AM

Post by email set unique class of images - class="pbe-image-attachment". If you want unique class for every single image, you may need to edit post by email php code.

Posted by: Alex - BluWeb Oct 18 2018, 07:16 PM

QUOTE (Web Design Seo @ Oct 18 2018, 07:51 AM) *
Post by email set unique class of images - class="pbe-image-attachment". If you want unique class for every single image, you may need to edit post by email php code.


Ok, I understand - I did the changes and now everyhting is working very nice. One more thing (bear with me, please). Is it possible to add a function to create keywords? I saw that it creates Meta description, which is great.

Thanks! smile.gif

Posted by: Web Design Seo Oct 19 2018, 07:59 AM

Why? Meta keywords are only junk data in database. Keywords are excluded from Google algorithm from more than 7-8 years. No matter what you put inside, I guarantee you - your website will be on the same position.


P.S. The same thing also with Bing and Yahoo. Only some old and exotic search engines use meta keywords.

Posted by: Alex - BluWeb Oct 19 2018, 01:43 PM

Цитат(Web Design Seo @ Oct 19 2018, 04:59 AM) *
Why? This is only junk data in database. Keywords are excluded from Google algorithm from more than 7 years. No matter what you put inside, I guarantee your website will be on the same position.


P.S. The same thing also with Bing and Yahoo. Only some old and exotic search engines use meta keywords.


Ok, thanks. I'll take your advise.
It's just that it is used as tags for internal searching, it wasn't the intention to use it as a Google advantage/tool.

Posted by: Web Design Seo Jan 17 2019, 06:28 AM

If you have troubles with php 7.1 or php 7.2, you can try to change php version only for post by email folder: create one new .htaccess file and place it in this directory:

Код
public_html/administrator/components/com_post_by_email/


Code for this .htaccess file to change to php 5.6:
Код
AddHandler x-httpd-php56 .php


If code doesn't works, replace itwith:
Код
AddHandler application/x-httpd-php56 .php


or with:
Код
AddType application/x-httpd-alt-php56 .php .php5 .phtml

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)