Unable to Send Email Using BTConnect Email Accounts on iOS

The following applies to BTConnect email accounts that haven’t yet been migrated to Office 365.

When using a BTConnect email account on iOS it’s necessary to specify the outgoing SMTP authentication credentials when using mobile broadband, or non-BT wifi. But when using a BT internet connection (home or work wifi) those credentials must not be used.

So to be able to send emails wherever the device is, setup two smtp servers, one using the email account’s username and password and the other with those fields left blank. Both should specify smtp.btconnect.com as the outgoing server name, either port 25 or 587 can be used. SSL is not supported by BT.

Assuming the initial SMTP settings with username and password have already been entered, do the following to add the additional anonymous version:

In Settings > Mail, Contacts, Calendars > Select your BT Connect email account.

Then choose ‘SMTP’

Select ‘Add Server’

Type in smtp.btconnect.com (if a BT Busniness user)  as the email server, or mail.btconnect.com if a BT Home subscriber. Leave the login details blank and click the Save button.

If the device isn’t currently connected to a BT internet connection then it will take a few minutes attempting to verify the server and then fail. If prompted choose not to attempt the connection using SSL and then save the settings ignoring the warning that you may not be able to send emails.

Make sure the new server settings are enabled, if it’s showing as off then tap its name and switch it on.

The device should now be able to send emails when using both BT and non-BT interent connections.

Send Mailbox Usage Figures by Email in Exchange 2007

I need to monitor the mailbox sizes of several group mailboxes in my Exchange 2007 environment, here’s a script that automates the process of sending out the mailbox sizes. Disk space is an issue on this server so the script also shows which mailboxes are taking up space because of the deleted items retention policy.

C:\WINDOWS\system32\WINDOW~2\v1.0\powershell.exe -PSConsoleFile “C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1” -Command “C:\SendStats\sendstats.ps1”

Contents of sendstats.ps1:

###Send mailbox statistics script

###First, the administrator must change the mail message values in this section
$FromAddress = “rfrood@trafficpenaltytribunal.gov.uk”
$ToAddress = “rfrood@trafficpenaltytribunal.gov.uk”
$MessageSubject = “Mailbox Size Report”
$MessageBody = “Attached is the current list of mailbox sizes and the retention dumpster sizes.”
$SendingServer = “mcc-exch01.parking-adjudication.gov.uk”

###Now get the mailbox size stats and store in a text file
Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount > mailbox_sizes.txt

###Get the Retained Item Sizes (Dumpster) and store in a 2nd text file
Get-MailboxStatistics | Sort-Object TotalDeletedItemSize -Descending | ft DisplayName,DeletedItemCount,@{label=”TotalDeletedItemSize(MB)”;expression={$_.TotalDeletedItemSize.Value.ToMB()}} > mailbox_retention_size.txt

###Create the mail message and add the statistics text file as an attachment
$SMTPMessage = New-Object System.Net.Mail.MailMessage $FromAddress, $ToAddress,
$MessageSubject, $MessageBody
$Attachment1 = New-Object Net.Mail.Attachment(“c:\sendstats\mailbox_sizes.txt”)
$Attachment2 = New-Object Net.Mail.Attachment(“c:\sendstats\mailbox_retention_size.txt”)
$SMTPMessage.Attachments.Add($Attachment1)
$SMTPMessage.Attachments.Add($Attachment2)

###Send the message
$SMTPClient = New-Object System.Net.Mail.SMTPClient $SendingServer
$SMTPClient.Send($SMTPMessage)

Creating a Public Unattended Calendar in Exchange 2007

Creating and sharing a calendar in Exchange 2007 is the easy part, but allowing meetings to be created and automatically accepted requires the use of  the Exchange Powershell (where ResourceName is the name of the mailbox holding the calendar):

Set-MailboxCalendarSettings “ResourceName” -AutomateProcessing:Autoaccept

This will create the meetings when an appointment email is sent to the mailbox, but the titles of them will be blank. The subject of the email can be used instead:

Set-MailboxCalendarSettings “ResourceName” -DeleteSubject:$False

Finally assigning Full Access Permissions to the mailbox will allow users to view it without first creating a calendar entry, the same group of users will also be able to edit the entries. If it’s a calendar for everyone to use then assign the Everyone group full access.