Archive for December, 2008

Filing a DBA in New York City

Monday, December 22nd, 2008

The name change is now on the books -- What was Lantenengo Industries is now officially Ink Plant. The process of filing a DBA was actually relatively simple after I figured out what had to be done. To spare you the same difficulty I had in tracking all that info down, I'll list it here...

How to register a sole proprietorship in Manhattan (New York County):

  • Choose your business name. It has to be composed of real words or your name (You can't just make up some cool sounding word.)
  • Hop on the subway and head down to 60 Centre Street.
  • Buy a DBA form from the coffee shop right inside the front door ($2). Don't fill it out yet.
  • Go to the County Clerk's office in Room 109B in the basement.
  • Go up to the counter and check with the clerk to see if the name you want is acceptable. If it is, fill out the form, pay them $120 (cash, money order, or credit card) and they'll give you two notarized copies of the certificate.
  • That's it. You're official now. Congratulations.

Connecting to an IMAP Mailbox with PHP

Sunday, December 7th, 2008

There are a number of cool things that you can do after opening up an IMAP connection in PHP (monitoring bounce-back rates, processing incoming attachments, etc.) but before you do, you have get connected. Normally, this is a pretty straight-forward process, but sometimes different mail server settings can throw you a curveball. Here's a couple quick tips to help you get started:

  1. Open up a phpinfo() page and make sure that you have the IMAP extensions installed. If you don't, here are the instructions on how to get them.
  2. Copy our PHP IMAP Connection Tester onto your server and configure it with your account information.
  3. That's it. I told you that was easy!

A note: I ran into the following error today: "Certificate failure for mail.example.com: Server name does not match certificate." It took me a while to find the solution but finally came up with this -- add /novalidate-cert after the port number. So, for example, if you're using our tester, set $mail_port = 143/novalidate-cert; Hope that helps!

If you have any other tips, help the world out and share them below!


Copyright © 2010, Ink Plant. All rights reserved.