Page 1 of 1

Problem with sending mail

Posted: 21 Mar 2005, 13:55
by cfraboulet
Hi !

I saw the "same" topic on http://forums.mantisbt.org/viewtopic.php?t=32. But I still do not understand what to do to resolve my problem.

I got the error :
"PROBLEMS SENDING MAIL TO:
Mailer Error: Could not instantiate mail function."

I tried changing parameters by adding these lines :


$g_phpMailer_method = 2;

$g_smtp_host = 'localhost';

$g_smtp_username = '';

$g_smtp_password = '';

But now I got the error :

"PROBLEMS SENDING MAIL TO:
Mailer Error: SMTP Error: Could not connect to SMTP host."

I use Internet explorer and the last Mantis (0.19.2).

If some one can help... Thanks :)

Posted: 21 Mar 2005, 14:08
by vboctor
You need to specify a valid user name, password, and smtp server. These are similar to the ones you specify in your email client for allowing it to send emails.

Also note that some smtp servers will allow you to only send emails if you are connected to the internet through them, or if your server is hosted with them.

Regards,
Victor
Visit my blog about Mantis, MantisConnect and other stuff...
http://www.futureware.biz/

Posted: 21 Mar 2005, 14:26
by cfraboulet
Where can i read these information in my email client (internet explorer) ?

Thanks

Posted: 21 Mar 2005, 14:30
by vboctor
Assuming that you are using Outlook:
- Try Tools-Accounts

Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect/

Posted: 21 Mar 2005, 14:52
by cfraboulet
We use a Microsoft Exchange server.

if I specify his name in $g_smtp_host, it doesn't work.
The error is still the same :

PROBLEMS SENDING MAIL TO:
Mailer Error: SMTP Error: Could not connect to SMTP host.

:(

Posted: 21 Mar 2005, 21:12
by vboctor
As far as I know, Microsoft Exchange is able to provide SMTP support. Please contact your IT administrator.

Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect