You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 65 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - nice MailHeader patch [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
BartBandit
Nuke Cadet
Nuke Cadet


Joined: Mar 20, 2004
Posts: 1


PostPosted: Sat Mar 20, 2004 8:47 am Reply with quoteBack to top

Hi, i have had the problem of some users not getting the confirmation email and others did recieve the mail, it was driving me nuts, lookt over all the forums I could find but no real solution.

I realized it must be some spam ore virus checker thats deleting ore quarantaining the mails for some users so I looked at the headers i recieved... there not so nice. I changed some code, dont know if it wil help with the original problem.
Code:
// Modules/Your_Account/index.php line 145

       # $from = "$adminmail";
       # mail($user_email, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
      # Begin Nice MailHeader patch
      $mailheaders = "Return-Path: $adminmail\n";
        $mailheaders.= "From: $adminmail <$adminmail>\n";
        $mailheaders.= "Reply-To: $adminmail\n\n";
        mail($user_email, $subject, $message, $mailheaders);
      # End Nice MailHeader patch


This produces a nice MailHeader and now when the mail can not be delivered the mail gets back to you, if someone replys to this mail, the reply gets to you insteat of de default annonymouse@mywebhostprivider.com
Find all posts by BartBanditView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.148 Seconds - 304 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::