| | |||||
| ||||||||
| CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Account Suspended Join Date: May 2004 Location: /etc/passwd
Posts: 2,178
![]() ![]() ![]() ![]() ![]() ![]() | Hate php's bulit in mail function? I do! Here! If you dont know anything about php, please contact me if you need help. This is very basic to use. If your good at php and still need help please contact me via pm. PHP Code:
Last edited by axilant; 09-08-2004 at 02:56 PM.
|
| |
| | #5 (permalink) |
| NamePros Admin ![]() ![]() ![]() Join Date: Feb 2003
Posts: 12,919
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Awesome function. Thanks axilant! I don't generally have a problem using PHP's built-in mail function, but on occasion I work with a client whose settings are off or it doesn't work reliably -- usually a Windows NT server. This could help in those situations.
__________________ Reach me at rj at namepros dot com |
| |
| | THREAD STARTER #6 (permalink) |
| Account Suspended Join Date: May 2004 Location: /etc/passwd
Posts: 2,178
![]() ![]() ![]() ![]() ![]() ![]() | If there privacy settings are incorrect, it intends to not send some times. It gets annoying, because people email me i didnt get my email with my confirmation link yet!, its been 5 days or something, since ive used this, nothing like that has happen |
| |
| | #8 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,074
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | if i remember correctly php automatically accepts it as a comment if it comes after the ; but yes you are right I think it should have the slashes
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | #11 (permalink) |
| NamePros Regular Join Date: Sep 2003
Posts: 889
![]() ![]() | I also found this on php's site a while back. I used it for myimgs.com to send out confirmation links due to the fact a lot of people said they were not recieving the emails.
__________________ Online Time Tracking :) |
| |
| | #12 (permalink) |
| Senior Member Join Date: Mar 2004 Location: U.S.A.
Posts: 1,985
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | hmm the php mail function works properly if setup correctly, so people should be getting emails. Also, it has to have the comment markers, because php doesn't automatically take it in as a comment, because you can do stuff like $blah="test"; $abc="def"; all on one line |
| |
| | #13 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,074
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | looks like I was thinking of the php.ini file anything after the ; in that is considered a comment.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | THREAD STARTER #14 (permalink) | ||||
| Account Suspended Join Date: May 2004 Location: /etc/passwd
Posts: 2,178
![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |