Sorry I didn't get back to this earlier.
http://www.php.net/manual/en/mail.configuration.php#ini.smtp

my local wamp php.ini says:
[mail function]
; For Win32 only.
; http://php.net/smtp

; so you are saying this line
SMTP = localhost

; should be changed to
SMTP = mail.example.com
;?

; http://php.net/smtp-port
smtp_port = 25

Plus the sendmail_from value.

Perfect and thanks.
Tony


On Thu, Jul 26, 2012 at 7:04 AM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
On Thu, Jul 26, 2012 at 1:37 AM, Anthony wrote:
> On remote server it works. Locally nada:
>
> Unable to send e-mail. Contact the site administrator if the problem
> persists.
>
> Status message
>
> A welcome message with further instructions has been e-mailed to the new
> user tonyx.

As others have already stated you need to modify your php.ini file and
give it a SMTP server for the mail.  Assuming your host name is
example.com and you have a MX entry for the DNS of mail.example.com
then your SMTP value will be mail.example.com.  The common smtp_port
value is 25.  You also need to set the sendmail_from value to one of
the mail users you have on your bluehost system, for my example
admin@example.com.

--
Earnie
-- https://sites.google.com/site/earnieboyd
--
[ Drupal support list | http://lists.drupal.org/ ]



--

Anthony Stefan Maciejowski