Hi guys,
i have just installed moodle 1.5.x, everything went well, except the mail function, i tried it both by leaving the SMTP information blank and by putting the SMTP information, by putting the information, i get the following error
[code]
Warning: fputs(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\izwbt\lib\phpmailer\class.smtp.php on line 146
Warning: fgets(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\izwbt\lib\phpmailer\class.smtp.php on line 1025
ERROR: The following From address failed: <font color="#0000aa">myname@myco.parentco.com</font>
Tried to send you an email but failed! |
[/code]
in the SMTP setting during installation, i put my setting like this:
SMTP host = sm-tp-host.myco.parentco.com
Login = ab45678
Pwd = mypassword
on this point, i just want to make one thing clear, that when we are setting up outlook accounts, we use only "sm-tp-host" and then everything is fine and my address comes as <font color="#0000aa">myname@myco.parentco.com</font>.
Can anyone help this noob please ??
Thanks in advance.