Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 09:08 pm EST
Geeklog Forums
mail problem.
Status: offline
cinoz
Forum User
Chatty
Registered: 09/07/04
Posts: 61
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for wertjangt@yahoo.co.uk in c:inetpubwwwrootpublic_htmladminmail.php on line 183
this is the syntax that comes out when i tried to email all my online users... why? help help~
this is the syntax that comes out when i tried to email all my online users... why? help help~
3
7
Quote
Status: offline
cinoz
Forum User
Chatty
Registered: 09/07/04
Posts: 61
// Loop through and send the messages!
$successes = array();
$failures = array();
for ($i = 1;$i $A = DB_fetchArray($result);
$til = '';
if (!isset($A['fullname'])) {
$til .= $A['username'];
} else {
$til .= $A['fullname'];
}
$til .= '';
$sendttil .= $til . '
';
if (!mail($A['email'], stripslashes ($vars['subject']),
183--> stripslashes ($vars['message']), $headers)) {
$failures[] .= $til;
} else {
$successes[] = $til;
}
}
$successes = array();
$failures = array();
for ($i = 1;$i $A = DB_fetchArray($result);
$til = '';
if (!isset($A['fullname'])) {
$til .= $A['username'];
} else {
$til .= $A['fullname'];
}
$til .= '';
$sendttil .= $til . '
';
if (!mail($A['email'], stripslashes ($vars['subject']),
183--> stripslashes ($vars['message']), $headers)) {
$failures[] .= $til;
} else {
$successes[] = $til;
}
}
5
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by cinoz: Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for wertjangt@yahoo.co.uk in c:inetpubwwwrootpublic_htmladminmail.php on line 183
Seems like your SMTP server doesn't like receiving mail from your computer. Try using authentication ('auth' => true) or try one of the other methods of sending mail.
bye, Dirk
3
3
Quote
Status: offline
cinoz
Forum User
Chatty
Registered: 09/07/04
Posts: 61
mail($A["email"]
,"{$_CONF["site_name"]}: {$LANG04[16]}"
,$mailtext
,"From: {$_CONF["site_name"]} rnReturn-Path: rnX-Mailer: GeekLog " . VERSION . "rnContent-Type: text/plain; charset={$charset}"
);
i also have trouble when registration... it comes from these lines.. seems my registration + send email don't work.. i will use 1.3.8 coz updates will configure n lots lots of changes
,"{$_CONF["site_name"]}: {$LANG04[16]}"
,$mailtext
,"From: {$_CONF["site_name"]} rnReturn-Path: rnX-Mailer: GeekLog " . VERSION . "rnContent-Type: text/plain; charset={$charset}"
);
i also have trouble when registration... it comes from these lines.. seems my registration + send email don't work.. i will use 1.3.8 coz updates will configure n lots lots of changes
2
4
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by cinoz: i realize that i didn't have pear file on my system as 1.3.9 does.. can i installed it on 1.3.8? will it work?
You will either have to upgrade to 1.3.9 or see if this FAQ entry helps.
bye, Dirk
6
4
Quote
qwerty
Anonymous
pongada..........................
8
7
Quote
All times are EST. The time is now 09:08 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content