Monday, January 24, 2011

Config Bugzilla to send mail to gmail

This guidelines is for Bugzilla and James on the same server. (I have not tested with different servers yet.)
1.       Install Bugzilla.
2.       Download Apache James Server 3.0-M2 and unzip to your server.
3.      Config James Server
    Open file mailetcontainer.xml in conf folder.
    Add these lines before <mailet match="All" class="RemoteDelivery">
    <mailet match="HostIs=gmail.com" class="RemoteDelivery">
          <outgoingQueue>outgoing</outgoingQueue>
          <delayTime>5 minutes</delayTime>
          <debug>true</debug>
          <maxRetries>25</maxRetries>
          <maxDnsProblemRetries>0</maxDnsProblemRetries>
          <deliveryThreads>10</deliveryThreads>
          <sendpartial>true</sendpartial>
          <bounceProcessor>bounces</bounceProcessor>
         <gateway>smtp.gmail.com</gateway>
          <gatewayPort>587</gatewayPort>
         <gatewayusername>your gmail</gatewayusername>
          <gatewayPassword>your password</gatewayPassword>
          <!-- enable starttls -->
          <mail.smtp.starttls.enable>true</mail.smtp.starttls.enable>
     </mailet>
4.      Start James Server
5.      Config Bugzilla
    Log in Bugzilla with administrator account.
    Click Parameters -> Email
    Update smtpserver to IP address of your James Server
     Save changes.

Sunday, January 9, 2011

The global template information is out of date

If on one beautiful day, you open a project in your Visual Studio, add a New Item and see this.
(No template information found. See the application log in Event Viewer for more details. To open Event Viewer, click Start, click Control Panel, double-click Administrative Tools, and then double-click Event Viewer)


You are thinking of uninstalling Visual Studio. Don't do it. Try this first:
- Open Event Viewer and find the line like picture. It says that "The global template information is out of date. Regenerate the templates by running 'devenv.exe /installvstemplates' or reinstalling the application."

- Close Visual Studio. Open a Visual Studio Command Prompt with administrator right and run this command "devenv.exe /installvstemplates" without quotes.
- Open Visual Studio and check if the error is solved. If it is not solved, maybe thinking of reinstalling Visual Studio is a good idea. : )

No name

It is only difficult if you don't know it.

Tuesday, December 21, 2010

What is the purpose of your life now

When you are a child, you are told to do this to be a good child. Then you are told to study hard to get good grades. You are told to graduate from high school and university with high grades to get a good job. You are told to get a good job to earn much money. You are told to earn much money to buy house, ... Continuously, you are told to do this so that you can get another thing.
So what is the purpose of your life now?

Permission error when running "Power Platform Backup Environment" in Azure DevOps

 When we run action "Power Platform Backup Environment" in Azure Devops with an App Registration account, we get the error "P...