iOS Mail not syncing with Outlook

I’ve stuck with the built in mail app for my iPhone 7, it works OK for my purposes, most of the time.

Every now and again if I delete or move emails in Outlook on my desktop, they will stay in my Inbox on my iPhone. I will update, refresh, restart all of that and nothing works.
I was removing my Outlook account from the phone and putting it back, but I’ve found an easier way.

  1. Make sure the mail app is at the mailboxes screen, where you choose which mailbox or inbox to open.
  2. Switch to Settings
  3. Tap Mail
  4. Tap Accounts
  5. Tap Outlook
  6. Turn off Mail, go back to Mailboxes and check Outlook has been removed.
  7. Switch back to Settings
  8. Turn Mail on again.
  9. Switch back to Mailboxes and Outlook should be there again and syncnorized with the server.

 

thanks,
Malcolm.

Configure gmail to delete and not archive mail on iOS devices

When you add a gmail account to an iOS device, the default “swipe left” action when discarding email is to archive the email, whereas for all other accounts (i.e. hotmail) the default action is delete.

If you want to change that, here’s how.

  1. Tap Settings
  2. Tap Mail, Contacts, Calendars
  3. Tap Gmail
  4. Tap Account
  5. Tap Advanced (at the bottom of the screen, you may have to scroll down)
  6. In the “MOVE DISCARDED MESSAGES INTO section, select either Deleted Mailbox or Archive Mailbox
  7. Press the Home button

Manually adding a mail account to SQL2005/2008

I was having trouble adding configuring Database Mail on a SQL2005 server today.
I followed the wizard just like I had done on the previous 6 servers, but this one just didn’t want to add it. It was giving me an error about not being able to insert a NULL into the server name field, although I was giving it a server name.

I tried manually adding the data into the table, but of course that didn’t work. You have to use a stored procedure.
You need to use msdb.dbo.sysmail_add_account_sp with options like below,

msdb.dbo.sysmail_add_account_sp @account_name='company.com mail server',@email_address='john.doe@company.com',@display_name='John Doe',@replyto_address='john.doe@company.com',@mailserver_name='mail.company.com',@port=25;