JS

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.

Error (ESLint) i.CLIEngine is not a constructor in Visual Studio 2019

To correct the ESLint error 'i.CLIEngine is not a constructor' in Visual Studio 2019 with ESLint version 8.57.0, you can follow thes...