Removing Incorrect Email Auto-Complete Entries


Follow

When replying to your cases, FogBugz will automatically complete any previously entered email addresses it comes across.

If you notice that any of these email addresses (email ID) or the name of the recipient is showing incorrectly then you need to remove them using our FogBugz API. When the customer replies next time, FogBugz will save the correct name and email address.

 


Solution

 

Acquire an API Token

Acquire an API Token. This will allow you to issue commands against the API to remove email addresses.

 

Remove the Target Email Correspondent

With your token, issue the deleteEmailAddress command through the FogBugz XML API. The “@” symbol should be encoded as “%40”. For example, if your correspondent is “whoops@thisiswrong.notright”, your request might look something like this:

https://<yoursite>.fogbugz.com/api.asp?cmd=deleteEmailAddress&token=<token>&sEmail=whoops%40thisiswrong.notright

 

Check the result

If the email address was found and deleted, then the returned result will contain rows_affected="1".

If the email address was not found (or it was previously deleted) the result will be rows_affected=0. In this case, check whether the email address you provided was correct.

These steps can be repeated as many times as necessary to remove auto-complete entries.

 

Execute API logoff command to invalidate your token

 As a last step issue the API logoff command. This invalidates your token and ends your XML API session.

 

Known Limitations:

  • This process will only remove the corresponding email cache but will not modify the actual email in the case history. We cannot remove addresses from the incoming email.
  • For community users appearing in the autofill options, those cannot be deleted using this method. You will need to deactivate the community user to prevent the email address from auto-filling in your email cases.

 

Back to the top


Testing

If you get a reply from a deleted correspondent email on any of your cases or on a new case, his email address will be saved again by FogBugz and available for you on your next reply.

 

Back to the top