If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
2.4.1 don't send me e-mail notification after an entry...  XML
Forum Index » Advanced Guestbook Forum
Author Message
Martina
Newbie

Joined: 03/04/2006 21:50:05
Messages: 4
Offline

help!
[Email]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

You have the option enabled and the correct email address supplied?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Martina
Newbie

Joined: 03/04/2006 21:50:05
Messages: 4
Offline

yes i've all boxex checked and a correct e-mail address!
I've just upgrade to 2.4.1..... before this i'd 2.3.4.... anche the mail notification worked fine! But, after this upgrade the mail don't start!
[Email]
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

some mta doesn't like "\r\n" in the email header

here is a fix

line 304 in add.class.php

  1. $from_email = ($this->email == "") ? $this->db->VARS['admin_mail'] : $this->email;  
  2.         if ($this->db->VARS["notify_private"]==1 && $this->private==1) {  
  3.             @mail($this->db->VARS["admin_mail"],$this->db->LANG["EmailAdminSubject"],"$this->name\n$this->host\n\n$this->comment", "From: $from_email\nX-Mailer: Advanced Guestbook 2");  
  4.         }  
  5.         if ($this->db->VARS["notify_admin"]==1 && $this->private==0) {  
  6.             @mail($this->db->VARS["admin_mail"],$this->db->LANG["EmailAdminSubject"],"$this->name\n$this->host\n\n$this->comment", "From: $from_email\nX-Mailer: Advanced Guestbook 2");  
  7.         }  
  8.         if ($this->db->VARS["notify_guest"]==1 && $this->email != '') {  
  9.             @mail($this->email,$this->db->LANG["EmailGuestSubject"],$this->db->VARS["notify_mes"], "From: ".$this->db->VARS['admin_mail']."\nX-Mailer: Advanced Guestbook 2");  
  10.         }  
[Email] [WWW]
Martina
Newbie

Joined: 03/04/2006 21:50:05
Messages: 4
Offline

i try it... nothing news!!!

but i've found that this line was missing.... i inserted it and all works fine!
Thanks to all, all the same!

the line i inserted (just before line 304):

ini_set('sendmail_from','');
[Email]
 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum