X10hosting mail server?

Status
Not open for further replies.

yhap2003

New Member
Messages
222
Reaction score
0
Points
0
Hey guys, I was wondering if you guys support phpmail and stmp? Cause i'm running IPB and i can't send any mail to my members. The members can't even receive any password recovery mail.

If you guys do support php or stmp what's the stmp info?
 

BrettFreeman

New Member
Messages
106
Reaction score
0
Points
0
I don't think you need the info. Just use PHP mail function.

PHP:
<?php

//variables (change these)

$youremail = "email address";
// your email address

$subject = "EMail Subject";
// the subject of the email

$thankyou = "Thankyou Page";
// thank you page

// don't change anything else

if($email == ""){
?>
No email address added. Please go back.<br/>
<?php
}elseif($name == ""){
?>
No name added. Please go back.<br/>
<?php
}elseif($message == ""){
?>
No message added. Please go back.<br/>
<?php
}else{

$msg = ereg_replace("\\\'", "'", $message);
$msg = ereg_replace('\\\"', "\"", $msg);
$message1 = "from: $name\nemail: $email\nmessage:\n$msg1";

mail($youremail, $subject, $msg, "From: $email\r\nReply-to: $email\r\n");
?>
<meta http-equiv="refresh" content="0; url=<?echo $thankyou;?>"">
<?php
}
?>
 

yhap2003

New Member
Messages
222
Reaction score
0
Points
0
Tx m8. But never mind i got everything working. Can someone please close this topic plz? Tx
 

Chris

New Member
Messages
1,538
Reaction score
0
Points
0
Just so others can get help if they have the same problem, can you post the solution? I mean I know what to use, but was it like a different problem?
 

Richard

Active Member
Messages
2,028
Reaction score
0
Points
36
For SMTP settings you need to create an email account using the email address and {mail.yourmain.com} as the server.
 

yhap2003

New Member
Messages
222
Reaction score
0
Points
0
@ Chris, at first when one of my members tried to recovered their password he didn't get any email after 10 mins of wait. So i tried it and the same thing happened to me. I went to Admin cp>view all general settings and then email setups and i changed it to stmp, save and then change it back to php mail. And it worked.
 

Richard

Active Member
Messages
2,028
Reaction score
0
Points
36
A little computer lesson:

SMTP:
Simple
Mail
Transfer
Protocol

PS: Its an easy mistake to make while typing
 
Status
Not open for further replies.
Top