Author |
Message |
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 05/04/2006 00:59:28
|
Martina
Newbie
Joined: 03/04/2006 21:50:05
Messages: 4
Offline
|
help!
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 05/04/2006 22:42:18
|
Carbonize
Master
![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)
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 |
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/04/2006 18:13:14
|
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!
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 07/04/2006 21:51:01
|
Webmaster
Site Admin
![[Avatar]](/forum/images/avatar/c81e728d9d4c2f636f067f89cc14862c.png)
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
- $from_email = ($this->email == "") ? $this->db->VARS['admin_mail'] : $this->email;
- if ($this->db->VARS["notify_private"]==1 && $this->private==1) {
- @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");
- }
- if ($this->db->VARS["notify_admin"]==1 && $this->private==0) {
- @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");
- }
- if ($this->db->VARS["notify_guest"]==1 && $this->email != '') {
- @mail($this->email,$this->db->LANG["EmailGuestSubject"],$this->db->VARS["notify_mes"], "From: ".$this->db->VARS['admin_mail']."\nX-Mailer: Advanced Guestbook 2");
- }
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 08/04/2006 10:55:31
|
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','');
|
|
|