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, 47 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 - HOWTO: Send activation email using an outside SMTP server [ ]
 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
Anubis_The_Jackal
Nuke Soldier
Nuke Soldier


Joined: Aug 10, 2003
Posts: 12


PostPosted: Sun Oct 24, 2004 4:05 pm Reply with quoteBack to top

yes, please, or perhaps one that works with nuke 7.3 7.4 7.5 if that does not. i want to replace the entire mail function, not add a new one.
Find all posts by Anubis_The_JackalView user's profileSend private message
ktunstall
Private
Private


Joined: Jan 23, 2004
Posts: 36


PostPosted: Fri Nov 05, 2004 6:42 am Reply with quoteBack to top

This has been an ongoing problem since I started using nuke. Many servers, including my own, will not let you use the mail() function. It would seem that utilizing the smtp replacement include would be the way to go on this. I have used it much in the past with favorable results.

I have not tried it with 7.5 yet. I am about to do so in a few minutes...I will report.
Find all posts by ktunstallView user's profileSend private message
ktunstall
Private
Private


Joined: Jan 23, 2004
Posts: 36


PostPosted: Fri Nov 05, 2004 12:58 pm Reply with quoteBack to top

I would also like to convey some info and ask a question.
Let's say that your running phpnuke on a unix machine. According to documentation, the invocation of the mail() function as it is in nuke as so:

Code:
mail( $mailto, $mailsubj, $mailmsg, $mailheader );


However, I have been advised and have confirmed that the proper way to use the function is so:


Code:
mail( $mailto, $mailsubj, $mailmsg, $mailheader, "-fyou@yoursite.com");


Note the sendmail flag at the end of the function "-f" followed by the e-mail address mail is sending from.

How does one reconcile this in a statement such as is in mainfile.php where the function is declare on line 1156 like such:

Code:
mail($row[user_email], $subject, $body, "From: $from\nX-Mailer: PHP/" . phpversion());
Find all posts by ktunstallView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12368


PostPosted: Fri Nov 05, 2004 2:43 pm Reply with quoteBack to top

The last parameter sends a command line message. Specifically on Unix servers, this sets the default return email for sendmail

You can try
Code:

mail($row[user_email], $subject, $body, "From: $from\nX-Mailer: PHP/" . phpversion(),"-f".$from);

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Anubis_The_Jackal
Nuke Soldier
Nuke Soldier


Joined: Aug 10, 2003
Posts: 12


PostPosted: Sat Nov 06, 2004 1:24 pm Reply with quoteBack to top

and a simple idiots guide to making nuke use smtp would be to use <insert here>? or follow <blank> instructions?

please fill out so we people with limited knowlage can fix our sites?
Find all posts by Anubis_The_JackalView user's profileSend private message
logan-5-
Private
Private


Joined: Oct 31, 2004
Posts: 46


PostPosted: Sat Nov 06, 2004 2:13 pm Reply with quoteBack to top

Can some one please post a fully working source for smtp
Find all posts by logan-5-View user's profileSend private message
Anubis_The_Jackal
Nuke Soldier
Nuke Soldier


Joined: Aug 10, 2003
Posts: 12


PostPosted: Sat Nov 06, 2004 5:47 pm Reply with quoteBack to top

This issue is very important to some of us, and we beg of one of you to please look at it and see what can be done

Please


Last edited by Anubis_The_Jackal on Fri Nov 26, 2004 1:21 pm; edited 1 time in total
Find all posts by Anubis_The_JackalView user's profileSend private message
logan-5-
Private
Private


Joined: Oct 31, 2004
Posts: 46


PostPosted: Sat Nov 06, 2004 5:54 pm Reply with quoteBack to top

I tried making a full addon using parts of all the scripts it wouldnt work
i need more peeople tom try it but you need to back up origionals
Find all posts by logan-5-View user's profileSend private message
Myst
Nuke Cadet
Nuke Cadet


Joined: Dec 04, 2004
Posts: 3


PostPosted: Sat Dec 04, 2004 11:47 am Reply with quoteBack to top

did this ever get solved?
Find all posts by MystView user's profileSend private message
Anubis_The_Jackal
Nuke Soldier
Nuke Soldier


Joined: Aug 10, 2003
Posts: 12


PostPosted: Sat Dec 04, 2004 12:35 pm Reply with quoteBack to top

no
Find all posts by Anubis_The_JackalView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12368


PostPosted: Sat Dec 04, 2004 6:13 pm Reply with quoteBack to top

Is there a specific issue with the first post that you do not understand? We can only help where there are specific questions to address.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Anubis_The_Jackal
Nuke Soldier
Nuke Soldier


Joined: Aug 10, 2003
Posts: 12


PostPosted: Sat Dec 04, 2004 11:22 pm Reply with quoteBack to top

basically is there an entire file we can use. we need a file with all the changes to make.

for 7.3 .4 and .5
Find all posts by Anubis_The_JackalView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12368


PostPosted: Sat Dec 04, 2004 11:59 pm Reply with quoteBack to top

Well we are only volunteer support. This is a HOWTO thread afterall, its expected that you can modify these files yourself.

Perhaps to go the For Hire section and see if someone will do this for you.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Anubis_The_Jackal
Nuke Soldier
Nuke Soldier


Joined: Aug 10, 2003
Posts: 12


PostPosted: Sun Dec 05, 2004 12:20 am Reply with quoteBack to top

the methods in the thread do not work, just want something cleaned up, and i dont have money...
Find all posts by Anubis_The_JackalView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12368


PostPosted: Sun Dec 05, 2004 1:25 pm Reply with quoteBack to top

Well than that is a problem. What seems to be the trouble with the code posted?

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
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.271 Seconds - 264 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::