Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

Adding text using a filter

Last post 07-02-2009, 22:25 by Chris Bolton. 2 replies.
Sort Posts: Previous Next
  •  07-01-2009, 21:56

    Adding text using a filter

    I'm trying to read my IMAP mail in Mercury using a smartphone. The native mail client (Symbian 60 messaging) connects OK but, bizarrely, while it will display html messages or those with attachments, it only displays the header of plain text messages. My MercuryI logs show that body is sent to the phone, but the phone won't display it.

    So I'm trying to add some html to all the plain text emails, to trick the phone into reading them. I can see it could be complex to get the additions in the right place, but at the moment I can't add anything at all, and I don't know why.

    I'm trying to do this using a general rule. The Mercury Core Process shows the alias works and the rule triggers, but nothing is inserted. I've stripped the rule down to the simplest form to debug it. The rule is:

    Always InsertText "C:\\MERCURY\\flag.txt"
    Always Move "Chris"

    flag.txt contains a single word, 'flag', which I expected to find embedded in the message source file - the message is delivered but the insert is not there. I'm testing this using Thunderbird, not the phone client.

    Am I doing something wrong, or am I trying to make Mercury do something it's not intended to?

    Thanks

    Filed under: ,
  •  07-01-2009, 23:10

    Re: Adding text using a filter

    Always InsertText "C:\\MERCURY\\flag.txt"
    Always Move "Chris"

    Major problem, the MOVE takes the message out of the normal delivery system so the InsertText filter is never completed.  You need to use a normal delivery to a user and then use a forward file to forward the mail to user "Chris"  You can also use a filter that only adds this text when the mail is sent to this user and use a normal delivery.

     


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
  •  07-02-2009, 22:25

    Re: Adding text using a filter

    Thanks, Thomas. I must have misunderstood the Help info on how to use a normal delivery in a filter - I thought I had to use MOVE or COPY to obtain delivery?

    However, I can now scrap this attempt - the vendor of Profimail, the mail client I wanted to use but was having SSL issues with, has now published a beta update which uses TLS and works with Mercury. I am not sure whether or not this was written in response to me reporting my problems to them via their forum, but it's either impressive service or impressive co-incidence.

    Thank you for all your help with this

     Chris

View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2010 David Harris / Peter Strömblad. | Pegasus Mail Home Page