BlogEngine Tip: Set gmail account as E-mail in Settings of BlogEngine.NET

Posted: April 26th, 2009 | Author: | Filed under: Empty words | Tags: , , | 5 Comments »

I have several emails and also one here in Codelite but in my day I’m only watching gmail account. Here is the tip to setup the E-mail settings of BlogEngine.NET.

First and foremost open your web.config and change or add:

  • change
    <trust level=High /> to <trust level=Full />
  • add
    Inside <system.web>  add <trust level=Full />

In Control Panel of BlogEngine.NET click on Settings and find E-mail:

SMTP Server: smtp.gmail.com.

Port Number: 465 or 587.

Username: must have nickname and @gmail.com.

Enable SSL: must be checked.

Send comment e-mail: Checked if you want receive the comments through mail.

Subject prefix: I usually add [] so for me it is [Codelite]. The purpose of subject prefix is when you get a comment you know to what it is referring e.g. I could have such subject in my mailbox – [Codelite] comment on Testing source code.

An at last click on button Test mail settings and you should get Test successfull.