Poco Forums Forum Index
          by PocoSystems.com
Welcome to Poco Forums!
Discuss PocoMail, Barca and more but please follow
our forum guidelines and let the moderators rest!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Extension of attached file shows TXT instead of PDF

 
Post new topic   Reply to topic    Poco Forums Forum Index -> PocoMail Help and How-To
View previous topic :: View next topic  
Author Message
Georges
Poco Tourist


Joined: 25 Jul 2004
Posts: 43
Location: Mexico City

PostPosted: Sat Jan 24, 2009 5:08 am    Post subject: Extension of attached file shows TXT instead of PDF Reply with quote

Some files I received as attachments show as filename.txt when in fact they are filename.pdf files.
They can be opened with Adobe reader but not at all with a text editor.

Same behaviour with Poco latest official release and beta 4370.

Is somebody able to confirm or explain the incorrect extension?
Back to top
View user's profile Send private message
Tomas
Pillar of the Community


Joined: 25 Jul 2004
Posts: 1257

PostPosted: Sat Jan 24, 2009 9:58 am    Post subject: Re: Extension of attached file shows TXT instead of PDF Reply with quote

I have seen such cases fairly rarely reported (2-3x?), but don't remember the causes anymore. Three possibilities come to mind:

- incorrectly encoded attachment by sender's email software. Particularly if it was not a regular email client but some bulk email sending solution.

- server side antivirus (was found to be cause in one case, it was incorrectly configured)

- bug in Pocomail can't be excluded, maybe it can't handle some very specificaly encoded attachments.

_________________
Tomas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sandy
Essential Contributor


Joined: 25 Jul 2004
Posts: 554
Location: Seattle

PostPosted: Sat Jan 24, 2009 12:31 pm    Post subject: Reply with quote

This has come up before. A search of the forum might turn it up.

If I remember right, Pocomail appends TXT as a default when the incoming email has no extension as part of the attached file's name. (MACs don't use extensions).
Back to top
View user's profile Send private message
Georges
Poco Tourist


Joined: 25 Jul 2004
Posts: 43
Location: Mexico City

PostPosted: Sat Jan 24, 2009 2:11 pm    Post subject: Reply with quote

Thank you for your answers, I just found these threads:
http://www.pocosystems.com/forum/viewtopic.php?t=5365&highlight=txt+extension
http://www.pocosystems.com/forum/viewtopic.php?t=2386&highlight=txt+extension


I confirm that the same message read from the server with Outlook Express comes with the right PDF extension.

Attached file indicated by Poco:
Conseil .txt

Attached file indicated by O.E.:
Conseil pour la gestion des mails.pdf

As you can see the name of the attached file has been truncated in Poco.

Downloading the message from the View on Server window gives the same result (AVG anti virus was disabled).
Back to top
View user's profile Send private message
DaveP
Poco Tourist


Joined: 23 Feb 2006
Posts: 19
Location: Toronto, Canada

PostPosted: Sun Jan 25, 2009 9:41 am    Post subject: Reply with quote

I run into this with one particular customer of mine.

He is not computer savvy, and purchased a new HP Vista equipped desktop. He uses Outlook Express, with default settings. Whenever he "forwards" an attachment to me, it is received with a .txt extension, regardless of what type of file it is. If I get him to create a new message, and attach the file, it comes to me with the correct extension.

His previous computer was XP equipped, and I had no problems with attachments received from that machine.

I had chalked it up to a Vista related Outlook Express problem.

Dave P
Back to top
View user's profile Send private message
Sandy
Essential Contributor


Joined: 25 Jul 2004
Posts: 554
Location: Seattle

PostPosted: Sun Jan 25, 2009 2:27 pm    Post subject: Reply with quote

Quote:
As you can see the name of the attached file has been truncated in Poco.

Probably.

There has been a bug in Poco for years that truncates an attached filename if it has an ampersand in it. The & and everything after it is truncated.

My guess is that this file was sent to you without an extension (pdf). Poco probably looks for the extension and when it doesn't find it, it truncates everything but the first word.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Poco Forums Forum Index -> PocoMail Help and How-To All times are GMT - 12 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group