• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help HTC Sync corrupting Email Addresses in Outlook 2010?

Km76

Newbie
Aug 29, 2010
10
0
Hi, I have a HTC Desire (updated to Froyo) and have been syncing my contacts with my Outlook 2010 (running Windows 7 Enterprise - 32 bit). Everything seems to synchronize well but somehow the "email address - Display As" fields gets updated in outlook, which then doesnt allow me to send emails to those email addresses unless I manually go and update the display as field inside my outlook contacts.
I have manually updated all the contacts once already hoping that it may not be due to HTC Sync but when I did the sync then immediately all my Outlook email ids got updated.
Now everytime I try and send an email I immediately get Undeliverable receipt from System Administrator stating the following:
Your message did not reach some or all of the intended recipients.
Subject: test Sent: 14-Sep-2010 17:41
The following recipient(s) cannot be reached: abc@xyz.com on 14-Sep-2010 17:41
None of your e-mail accounts could send to this recipient.

Please help.
 
Same problem here too. Also HTC Desire Froyo and Outlook 2007).
Same solution, (blank the 'display as' field, which subsequently defaults to Outlook's preferred display method automatically).

Additionally in the notes field of corrupted Outlook contacts, HTC Sync has added the following text:
<HTCData><Favorite>actionid:ViewContactCard</Favorite></HTCData>

1) Are there better sync clients between outlook and Froyo?
2) I'm irritated anyway that HTC Sync does not sync taks and notes. Any solution that does all of this, and does it without corruption?
 
Upvote 0
Hi Km76,
here you are.

here you can find how to enable macros and developer tab:Getting Started with VBA in Outlook 2010


And here you are my macro. I was started from an MS procedure: OL2002: How to Change the File As Field for All Contacts

Sub UpdateMailDisplayAs()

Dim CurFolder
Dim MyItems
Dim MyItem
Dim NumItems, i

' Use whichever folder is currently selected
Set CurFolder = Application.ActiveExplorer.CurrentFolder

' Make sure it's a contact folder
If CurFolder.DefaultItemType = 2 Then
MsgBox "This process may take some time. You will be " & _
"notified when complete.", , "Contact Tools Message"
Set MyItems = CurFolder.Items
NumItems = MyItems.Count
For i = 1 To NumItems
Set MyItem = MyItems.Item(i)

If TypeName(MyItem) = "ContactItem" Then

MyItem.Email1DisplayName = ""
MyItem.Email2DisplayName = ""
MyItem.Email3DisplayName = ""
MyItem.Save

End If

Next

MsgBox "Finished updating contacts."

Else

MsgBox "The current folder must be a contacts folder."

End If

Set MyItem = Nothing
Set MyItems = Nothing
Set CurFolder = Nothing

End Sub

HTH
juxx

EDIT: make a backup before run! ;)
 
Upvote 0
Hi

HTC Sync changes SMTP to SMPT

I'm getting the same sorts of problems, although Notes are ok. For the random recipient addresses that mysteriously failed after sync, I discovered that the "Email Type" in Outlook Properties was set to "SMPT" instead of "SMTP" , causing an immediate transport failure. I reset them and they worked again. I noticed also that the File As and Display As fields got changed as described in the other posts.

I've noted the earlier post about Favourites being a factor (htcdesirePaul). This may explain why only certain contacts get corrupted. Will check.
 
Upvote 0
Hi marshallrh,
I will check for this on my contacts too.

I modified a little my procedure, rewriting mail addresses, and now I've no more problems... I think that rewriting mail address outlook reset MailAddressType field.

Sub UpdateMail()

Dim CurFolder
Dim MyItems
Dim MyItem
Dim NumItems, i
Dim sMail1, sMail2, sMail3
Dim sMailType1, sMailType2, sMailType3

' Use whichever folder is currently selected
Set CurFolder = Application.ActiveExplorer.CurrentFolder

' Make sure it's a contact folder
If CurFolder.DefaultItemType = 2 Then

If MsgBox("This process may take some time. You will be notified when complete.", vbOKCancel, "Contact Tools Message") = vbOK Then

Set MyItems = CurFolder.Items
NumItems = MyItems.Count
For i = 1 To NumItems
Set MyItem = MyItems.Item(i)

If TypeName(MyItem) = "ContactItem" Then

Debug.Print MyItem

sMail1 = ""
sMail2 = ""
sMail3 = ""
sMailType1 = ""
sMailType2 = ""
sMailType3 = ""

sMail1 = MyItem.Email1Address
sMail2 = MyItem.Email2Address
sMail3 = MyItem.Email3Address

sMailType1 = MyItem.Email1AddressType
sMailType2 = MyItem.Email3AddressType
sMailType3 = MyItem.Email3AddressType


MyItem.Email1Address = ""
MyItem.Email1Address = ""
MyItem.Email1Address = ""
MyItem.Email1DisplayName = ""
MyItem.Email2DisplayName = ""
MyItem.Email3DisplayName = ""
MyItem.Save

If Trim(sMail1) > "" Then
MyItem.Email1Address = sMail1
End If
If Trim(sMail2) > "" Then
MyItem.Email2Address = sMail2
End If
If Trim(sMail3) > "" Then
MyItem.Email3Address = sMail3
End If
MyItem.Save

End If

Next
End If


MsgBox "Finished updating contacts."

Else

MsgBox "The current folder must be a contacts folder."

End If

Set MyItem = Nothing
Set MyItems = Nothing
Set CurFolder = Nothing

End Sub

After this I made HTCSync many times but I've got no more errors...

HTH
 
Upvote 0
I have had non-stop problems with HTC sync. I have reinstalled and uninstalled the program at least 10 times and talked to HTC's tech support for hours. Their most recent solution was to install the European version of HTC sync 3.0. It works fairly well except now it is corrupting my ability to send emails from my computer to email addresses that worked previously. Why can't these guys get it right? It is frustrating to have a cutting edge phone that can't even do the basics like sync to your computer, sync tasks and notes, etc. I wish I had my blackberry back! This HTC EVO phone is a pain in the neck. Does anyone have a solution on how to fix their problem between HTC Sync 3.0 and Outlook 2007 running on Windows 7 64 bit? Thanks for your help.
 
Upvote 0
I have had non-stop problems with HTC sync. I have reinstalled and uninstalled the program at least 10 times and talked to HTC's tech support for hours. Their most recent solution was to install the European version of HTC sync 3.0. It works fairly well except now it is corrupting my ability to send emails from my computer to email addresses that worked previously. Why can't these guys get it right? It is frustrating to have a cutting edge phone that can't even do the basics like sync to your computer, sync tasks and notes, etc. I wish I had my blackberry back! This HTC EVO phone is a pain in the neck. Does anyone have a solution on how to fix their problem between HTC Sync 3.0 and Outlook 2007 running on Windows 7 64 bit? Thanks for your help.

look at post #12...works like a champ...yeah, I know we shouldn't have to do this, but it works...
 
Upvote 0
I have had non-stop problems with HTC sync. I have reinstalled and uninstalled the program at least 10 times and talked to HTC's tech support for hours. Their most recent solution was to install the European version of HTC sync 3.0. It works fairly well except now it is corrupting my ability to send emails from my computer to email addresses that worked previously. Why can't these guys get it right? It is frustrating to have a cutting edge phone that can't even do the basics like sync to your computer, sync tasks and notes, etc. I wish I had my blackberry back! This HTC EVO phone is a pain in the neck. Does anyone have a solution on how to fix their problem between HTC Sync 3.0 and Outlook 2007 running on Windows 7 64 bit? Thanks for your help.

I feel exactly the same...
 
Upvote 0
Thanks Juxx.. Your Macro is a lifesaver... I really do hope the guys at HTC get their act together...


Hi marshallrh,
I will check for this on my contacts too.

I modified a little my procedure, rewriting mail addresses, and now I've no more problems... I think that rewriting mail address outlook reset MailAddressType field.



After this I made HTCSync many times but I've got no more errors...

HTH
 
Upvote 0
I have a similar problem - HTC Desire - Windows XP Pro SP3 - Outlook 2007.
It doesn't effect all my contacts - The "display as" is not blank but, if I manually re-enter what's already there, it works - I have 1,476 contacts - this is not a viable way to proceed.

I'm not very tech-savvy - juxx - would that same macro work for Windows XP Pro SP3 32bit and Outlook 2007? Also, how do I implement that macro, juxx - what do I do? :thinking:.

If it's a really long answer, is there any chance you could email me something to john @ green-shoot .com? (I don't know if this forum allows Email addresses).

With a company as large as HTC, you'd think they might check this sort of thing ...
 
Upvote 0
I've been bashing my head against this one, and HTC, for some time. great script. Thanks. One problem remains:

When the contacts are viewed one row at a time after the script has been run the "File As" column displays "Forename Surname" even though the Contact details were originally "Surname, Forename" and still are set to this. Modifying the name and saving fixes this problem, and it is a problem as it screws up sorting by "Surname, Forename". Not viable to do this manually for 1000s contacts. Can the script be amended to tackle this?

The sync also removes all spacing details from phone numbers. this is very annoying but not in the same class of problem as that above.
 
Upvote 0
hi bunker,
I don't know if I really understand your problem.
I use "file as" field as: Last name, first name (Company)
but my "display as" field is always: First Last (mail@ddre.ss)
maybe the original script, the one I used as model, can help you.
Look at post #9 in our tread... or directly OL2002&#58; How to Change the File As Field for All Contacts


Let me know if this solve.

I've not problem with phone number spaces...
 
Upvote 0
Juxx,

Thanks for the message. Here is the sequence that illustrates the problem.

1. Original contact has Full Name = FFFF SSSSSS and File As = SSSSSS, FFFFF.
2. When contact viewed as a single row in summary display, File As = SSSSSS, FFFF.
3. Home Phone = 012345 6789.
4. On phone Display Name is FFFF SSSSSS as this is how it was created by HTC Sync 3. All People have this format. Home Phone = 0123456789, as created by HTC Sync 3 (so HTC Sync 3 has removed the spaces).
5. Use contact on phone to make call.
6. HTC Sync 3.
7. Now Outlook Contact has changed. Email corruption as detailed here. Also Home Phone = 0123456789, this has been updated with the phone version even though this hasn't changed. In full Outlook Contact view, File As = SSSSSS, FFFF. However in single row summary display File As = FFFF SSSSSS. When name is modified in the Outlook Contact summary row File As reverts to SSSSSS, FFFF.

So when I view Outlook Contacts in summary view some contacts are in FFFF SSSSS format and others are in SSSSSS, FFFF format, so sorting is stuffed.

I have read that Froyo supports sort options under Contacts and I assume this allows SSSSSS, FFFF format but my Android 2.2 Orange HTC Desire doesn't have Contacts, just People, and this doesn't have any sort options.

So how to amend the script so that the File As isn't messed about? Also any ideas about the phone space problem?

Your help is appreciated.

Paul
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones