<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Windows doesn't have a mail server on
it by default, so you need to point SMTP to a machine that has the
server software to send mail (ie: sendmail). <br>
<br>
Here's the problem, especially with local testing. Most mail
servers won't let you send mail through them without
authentication. If you are running a mail server that allows mail
to be sent without authentication, then you can plan on being
blacklisted by most email providers within a couple of months
because you are running a spammers heaven. <br>
<br>
So you only have a couple of routes around this. The first is to
have whatever IP addresses you are connecting to the SMTP server
from to be white listed so they don't need to authenticate. Your
hosting provider might set this up for you, but many won't (fear
of arbitrary addresses that can be used to connect in and send
spam).<br>
<br>
The best and much simpler route it to use the SMTP module:<br>
<br>
<a href="http://drupal.org/project/smtp">http://drupal.org/project/smtp</a><br>
<br>
No php.ini changes. Instead just upload it, activate it and setup
the server settings in the module configuration screen. You can
use any mail server you have POP/SMTP access to, including the one
from your ISP. That's it.<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
On 7/27/2012 1:04 AM, Anthony wrote:<br>
</div>
<blockquote
cite="mid:CADEDVdrB13s1Thp9sB7hy0cV9Cuf=LAbhz97op3VwJXUjQdGNg@mail.gmail.com"
type="cite">Sorry I didn't get back to this earlier.<br>
<a moz-do-not-send="true"
href="http://www.php.net/manual/en/mail.configuration.php#ini.smtp">http://www.php.net/manual/en/mail.configuration.php#ini.smtp</a><br>
<br>
my local wamp php.ini says:<br>
[mail function]<br>
; For Win32 only.<br>
; <a moz-do-not-send="true" href="http://php.net/smtp">http://php.net/smtp</a><br>
<b><br>
; so you are saying this line <br>
SMTP = localhost</b><br>
<b>; should be changed to</b><br>
<b>SMTP = <a moz-do-not-send="true"
href="http://mail.example.com">mail.example.com</a></b><br>
<b>;?</b><br>
<br>
; <a moz-do-not-send="true" href="http://php.net/smtp-port">http://php.net/smtp-port</a><br>
smtp_port = 25<br>
<br>
Plus the sendmail_from value.<br>
<br>
Perfect and thanks.<br>
Tony<br>
<br>
<br>
<div class="gmail_quote">On Thu, Jul 26, 2012 at 7:04 AM, Earnie
Boyd <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Jul 26, 2012 at 1:37 AM, Anthony
wrote:<br>
> On remote server it works. Locally nada:<br>
><br>
> Unable to send e-mail. Contact the site administrator
if the problem<br>
> persists.<br>
><br>
> Status message<br>
><br>
> A welcome message with further instructions has been
e-mailed to the new<br>
> user tonyx.<br>
<br>
</div>
As others have already stated you need to modify your php.ini
file and<br>
give it a SMTP server for the mail. Assuming your host name
is<br>
<a moz-do-not-send="true" href="http://example.com"
target="_blank">example.com</a> and you have a MX entry for
the DNS of <a moz-do-not-send="true"
href="http://mail.example.com" target="_blank">mail.example.com</a><br>
then your SMTP value will be <a moz-do-not-send="true"
href="http://mail.example.com" target="_blank">mail.example.com</a>.
The common smtp_port<br>
value is 25. You also need to set the sendmail_from value to
one of<br>
the mail users you have on your bluehost system, for my
example<br>
<a moz-do-not-send="true" href="mailto:admin@example.com">admin@example.com</a>.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Earnie<br>
-- <a moz-do-not-send="true"
href="https://sites.google.com/site/earnieboyd"
target="_blank">https://sites.google.com/site/earnieboyd</a><br>
</font></span>
<div class="HOEnZb">
<div class="h5">--<br>
[ Drupal support list | <a moz-do-not-send="true"
href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<p><b style="font-family:'Lucida
Handwriting',cursive;font-size:13px;background-color:rgb(255,255,255)"><i>Anthony
Stefan Maciejowski</i></b></p>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>