Welcome Guest ( Log In | Register )

 Forum Rules Extensions Support
 
Reply to this topicStart new topic
> Pdf Attachment In K2, Post by Email
bossies
post Jul 13 2015, 11:03 AM
Post #1


Newbie
*

Group: Members
Posts: 9
Joined: 22-July 14
Member No.: 2,076



I am unable to email pdf attachments to K2 with "Post by Email" - is this possible or am I missing something?
Go to the top of the page
 
+Quote Post
Web Design Seo
post Jul 13 2015, 12:32 PM
Post #2


Web Design Seo
****

Group: Root Admin
Posts: 4,031
Joined: 29-April 09
From: Sofia
Member No.: 1



Hello. First You must add filetype PDF in Accepted files field.




Quote:
Цитат
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. 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.


Read more: http://3dwebdesign.org/forum/post-by-email-pro-t743


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
bossies
post Jul 13 2015, 02:28 PM
Post #3


Newbie
*

Group: Members
Posts: 9
Joined: 22-July 14
Member No.: 2,076



thanks - but is it possible to K2, it seems it only works when posting to articles in joomla self?
Go to the top of the page
 
+Quote Post
Web Design Seo
post Jul 13 2015, 03:02 PM
Post #4


Web Design Seo
****

Group: Root Admin
Posts: 4,031
Joined: 29-April 09
From: Sofia
Member No.: 1



Yes, is possible. Post by email only insert path to file in HTML code, does not upload attachments to K2 folders. You must know also:

1. Attachment will be saved in some of your folders. Is important to configure the right folder path and folder must have the right permissions.

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


2. To download big size attachments, your site may need more time to execute script, so, you may need to configure 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




--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No New Posts Pdf Attachment's Name In Post By Email Pro
3 ilansch 1,953 18th April 2014 - 02:33 PM
Last post by: jayw
No New Posts Attachment Directory For Pbm
1 agrawal_atul 1,348 1st May 2013 - 05:59 AM
Last post by: Web Design Seo
No new Attachment Not Saved [solved]
Post by email
9 Eileen 2,867 15th November 2012 - 07:56 AM
Last post by: Web Design Seo
No New Posts Pdf Attachments In Post By Email?
PostbyEmail Mime Types
1 davidd 1,991 1st November 2012 - 08:16 AM
Last post by: Web Design Seo


 



RSS Lo-Fi Version Time is now: 26th September 2018 - 01:13 PM
Clicky Web Analytics