Showing posts with label mail. Show all posts
Showing posts with label mail. Show all posts

Friday, February 25, 2011

Mail in spam? Try (also) this…

Recently some messages from one of my site started being marked as spam by gmail and others.

The particular message is the “confirm registration” one, and it’s easy to understand that it’s imperative that it does not go to the spam folders… if you want regitered users, I mean.

I noticed that in the standard routine that we use to send mail messages there was no setting for the “Message-ID” header. I tried to add it (see below a code sample) and now the “marked as spam” rate is incredibly low!

See here (Wikipedia) a brief explanation of what the particular Message-ID header field is.

Here is the code sample, in bold the three new lines:

private bool PrepareAndSendMail(string emailKey, string senderName, string senderEmail, string destName, string destEmail, StringDictionary args)
{
    try
    {
        MailMessage m = new MailMessage();

        m.From = new MailAddress(senderEmail, senderName);
        m.To.Add(new MailAddress(destEmail, destName));
        m.Subject = MailSettings.Emails[emailKey].Subject;

        // this is to limit the "marked as spam" messages
        Guid messageGuid;
        messageGuid = Guid.NewGuid();
        m.Headers.Add("Message-ID", messageGuid.ToString());

        m.IsBodyHtml = true;
        m.BodyEncoding = Encoding.GetEncoding("iso-8859-1");
        m.Body = ReadTemplateFromFile(Globals.MapPath(MailSettings.Emails[emailKey].Template), args);

        return SendMail(m);
    }
    catch (Exception ex)
    {
        Log.Error("An error occurred sending mail", ex);
        return false;
    }

}

Wednesday, November 05, 2008

Windows Mobile: Messaging not working, a solution

Sometimes in WM5 (but also in WM6, I’m sure) the messaging system stops working. You cannot even open the inbox, or send an SMS, nothing.

If you find yourself in this situation… try this:

- open your storage card file system
- look for a folder named Inbox.mst12345678 (the number here may change) 
- delete it and reboot your device.

This should work, hope this helps!

Wednesday, March 19, 2008

Xobni, usage impressions

After some days after the first setup, I can report some impressions on this Xobni plugin (http://www.xobni.com)

First of all after the setup process Xobni took some time to initializa, but given my huge mailbox this time has been ridicolously short. A fake? No... Actually Xobni started working immediately, with no glitches.

I have to say that this piece of software is really well designed, and given its speed (awesome) also the code must be great code. Great quality.

In the Outlook interface Xobni lives as a single new sidebar, and everything happens in there. This is a completely different choice from (for example) ClearContext. Actually the functionality of Xobni and CliaerContext are different, so given this, both choices are correct.

What I like most in Xobni? Search, for start. Fast (really fast) and complete. Then the information visualization, that collects in a very little space a lot of very well organized information extracted from my mailbox, contact list, and attachment collection. Please go here and take a tour of the screenshots.

But also "people navigation", or email analytics, or the threaded conversations are good ideas!

So as you maybe understood... I really like Xobni !!! :-)

chips

Saturday, March 15, 2008

Xobni - installed right now...

I just installed the Xobni Outlook plugin, that's now in public beta.

The Xobni claim is about "email happiness", and if it works like the video demonstrations say it will be actually a good product.

It works as a sidebar, every new functionality is there in the Xobni sidebar; a different approach from ClearContext, for example, that integrates its services in the standard Outlook menus and windows.

Just installed, let's see how it works... and let's see if ClearContext AND Xobni can live together!!!

Friday, January 04, 2008

Outlook 2007 (was) painfully slow!!!

I hope I managed to solve this issue, that was causing me a lot of trouble and of wasted time.

What I was experiencing: from a certain date on OL2007 was really slow in opening, then in updating headers, then it hanged for seconds while I( was composing new messages, then... in a word it was going to be completely un-usable.

After googling and discussing for days, trying different ways, that went from disabling RSS feeds to checking out encryption in transmission between OL and Exchange, finally I understood that my real problem was... the mailbox size. And the corresponding OST file size on my hard disk.

What i understand is that in OL2007 MS changed the underlying data structure of PST and PST files, in a way that requires a lot of disk access when the file size is big. So the solution for me has been "simply" to split my OST archiving some hundreds of messages in a new .pst file.

I think that I need some more archiving work, to really solve the issue; but even now OL reacts much better than before.

hope this helps... :-)

Butt Out

Saturday, November 24, 2007

ClearContext IMS

If you use Microsoft Outlook and like me receive a huge load of emails during your work day, give a look to ClearContext - it's not free, but it's really a great software, helps a lot in clearing and sorting tour inbox, and "getting things done".

I'm in the 30 days trial period, but I think that I will buy this one.

What you get after setup is a new Outlook toolbar that will help you categorize your email and file single mails or threads to folders (that ClearContext will create for you), and give you shortcut to new functions like prioritizing your contacts (so that email from high priority contact will display with greater emphasis), or turn off email notifications for - say - 30 minutes or an hour... but actually the things that ClearContext can do for you are many, and you will get e netter service :-) if you jump to their site and give a look to some of the very good video tutorials offered!

Rural mailbox

Saturday, May 26, 2007

Windows Desktop Search: how to index uncached exchange items

With Windows Desktop Search (I'm running 3.01) you cannot (by default) index you email if it is not configured to run in cached mode.

Well, you can change this through a group policy modification or thru this registry mod:

Create a DWORD registry key in:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
called “PreventIndexingUncachedExchangeFolders” and setting it to a value of 0.

Regarding the group policy: read this document and use this .adm file (for some reasons the file is not linked in the document).

That's all. I tried both ways, and both worked.