Category: Email

Configuring Exchange Autodiscover
article #254, updated 1610 days ago

A Microsoft reference is here:

with further notes here:

This has to be set at the Internet level only. We’ll use “” as the domain name, just replace it with yours.

  1. If there are any A or CNAME records pointing to “”, delete them. If the cert for your server uses “”, change it to something else, e.g., “”.
  2. If there are any A or CNAME records pointing to “*”, an asterisk for global, you’ll have to remove them too. You will need to replace with multiple specific records, or a subdomain, if you’re using a global configuration.
  3. In your Internet DNS, create a new SRV record:

At Network Solutions, the “Service” pulldown needs to have “_autodiscover”, the “Protocol” pulldown needs to have “_tcp”, “Priority” and “Weight” need to be zero, the “Port” needs to be 443, and the “Target” needs to be the A record name used in the MX record, e.g., “”.

At GoDaddy, “Service” needs to contain “_autodiscover”, “Protocol” needs to contain “_tcp”, “Name” needs to contain “@”, “Priority” needs to be 0 (zero), “Weight” needs to be 0 (zero), “Port” needs to be 443, and “Target” needs to be the A record name used in the MX record, e.g., “”.

You can test the setup with nslookup:

nslookup -querytype=SRV

The result should be approximately thus:

Server:  dns.domain.local

Non-authoritative answer:        SRV service location:
          priority       = 0
          weight         = 0
          port           = 443
          svr hostname   =

Categories:   Exchange and Exchange Online   Email


Internet email whitelist
article #537, updated 1623 days ago

Something new, an Internet email whitelist:

Categories:   Email   


Configure iPhone for Exchange Email
article #500, updated 1729 days ago

Here is a great set of instructions with screenshots:

Categories:   Email   Exchange and Exchange Online


Changes to all AT&T/Yahoo/SBCglobal email
article #455, updated 1903 days ago

Learned this today (7/31/2012). AT&T has changed the names of the POP and SMTP servers for all email accounts for,, and several others (a list is below). Some users will immediately find that Outlook or other email software will not send or receive email, until it is reconfigured to match; it is not unlikely that the changes will not affect everyone at once, but will eventually become essential.

Previously, each of the domains below had different server names for sending and receiving; now, they are all the same, for reception (POP) and for transmission (SMTP). POP has to be done on port 995, SSL turned on; SMTP has to be done on port 465, also with SSL turned on.

Categories:   Email   


Exchange 2007 and 2010 email message size limits
article #344, updated 1911 days ago

A very good reference for 2007:

And another for both:

Categories:   Email   Exchange and Exchange Online


Send email via Gmail SMTP by VBscript (incl. SMTP auth!)
article #341, updated 2239 days ago

Here is a VBscript which, if edited for your Gmail account and environment, will work well on anything XP, Server 2003, or above. It does not require any additional installations, CDO is an object built in to Windows:

EmailSubject = "Sending Email by CDO"
EmailBody = "This is the body of a message sent via" & vbCRLF & _
		"a CDO.Message object using SMTP authentication."

Const EmailFrom = ""
Const EmailFromName = "My Very Own Name"
Const EmailTo = ""
Const SMTPServer = ""
Const SMTPLogon = ""
Const SMTPPassword = "gMaIlPaSsWoRd"
Const SMTPSSL = True
Const SMTPPort = 465

Const cdoSendUsingPickup = 1 	'Send message using local SMTP service pickup directory.
Const cdoSendUsingPort = 2 	'Send the message using SMTP over TCP/IP networking.

Const cdoAnonymous = 0 	' No authentication
Const cdoBasic = 1 	' BASIC clear text authentication
Const cdoNTLM = 2 	' NTLM, Microsoft proprietary authentication

' First, create the message

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = EmailSubject
objMessage.From = """" & EmailFromName & """ <" & EmailFrom & ">"
objMessage.To = EmailTo
objMessage.TextBody = EmailBody

' Second, configure the server

objMessage.Configuration.Fields.Item _
("") = 2

objMessage.Configuration.Fields.Item _
("") = SMTPServer

objMessage.Configuration.Fields.Item _
("") = cdoBasic

objMessage.Configuration.Fields.Item _
("") = SMTPLogon

objMessage.Configuration.Fields.Item _
("") = SMTPPassword

objMessage.Configuration.Fields.Item _
("") = SMTPPort

objMessage.Configuration.Fields.Item _
("") = SMTPSSL

objMessage.Configuration.Fields.Item _
("") = 60


' Now send the message!


Categories:   Email   Scripting


Command-line SMTP mailer with SSL for Windows
article #160, updated 2253 days ago

For many years there was ‘blat’, the all-purpose command-line mailer for Windows.  However, blat was never updated for SSL, and a great many email providers (e.g.,. Gmail) require SSL.  One can add a second tool called ‘stunnel’ to create a chain for the purpose, but I don’t like to kludge that much. 

For a while I preferred the applet ‘email’, which is part of Cygwin. However, this is not a standalone applet, and there have been other issues. Just now SwithMail came to light for me:

Am testing. So far, it is working very well indeed.

Categories:   Email   Windows OS-Level Issues


Outlook and SBS Certificate Issues
article #323, updated 2272 days ago

Several certificate issues involving Outlook 2007/2010 and SBS 2008/2011 are covered here:

Categories:   Certificates   Email


Test and Fix Webmail (OWA) and ActiveSync on Exchange
article #197, updated 2288 days ago

Here is an online tool:

put up by Microsoft, which tests all Exchange server communications, including Outlook Anywhere, mobile/ActiveSync/Android/iPhone, etc.  The downloadable tool at the following web site, seems to work better sometimes:

The following two KBs, if their fix-it steps are done in order, will fix many OWA and ActiveSync problems:


A large number of things to do in case of many specific error-codes, is here:

Categories:   Handheld and Mobile   Email


Sync Gmail Contacts with Thunderbird
article #300, updated 2337 days ago


is reportedly the best.

Categories:   Email