mail-complete-function

mail-complete-function is a variable defined in `mailalias.el'.
Its value is
ispell-complete-word


Documentation:
Function to call when completing outside `mail-complete-alist'-header.

You can customize this variable.