Help.

WarriorH

New Member
Messages
55
Reaction score
0
Points
0
Hello, I am having trouble installing a script.

define("CONF_MAIL_FROM", "CHANGE THIS");
define("CONF_MAIL_SMTP", "CHANGE THIS");


It asks for that information, how do I find out what to place in those blanks.
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
Usually there's some line of code near that tells you what to fill in...
But I suppose in this case you'll need to fill in (in the first) the mail address where you want to send a mail from, and in the second the SMTP server, I don't know what you should fill in there, but you could try "localhost".
 

phpasks

New Member
Messages
145
Reaction score
0
Points
0
Hello, I am having trouble installing a script.

define("CONF_MAIL_FROM", "CHANGE THIS");
define("CONF_MAIL_SMTP", "CHANGE THIS");


It asks for that information, how do I find out what to place in those blanks.

Which mail server using sent mail????


You can currently working on php then
mail
PHP:
<?php
$to      = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@example.com' . "\r\n" .
    'Reply-To: webmaster@example.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?>
 
Top