User Profile
Collapse
-
I'm not sure what I was doing wrong but I used this and I couldn't get the variable to work with the CC address, I did use the static address here and used the variable as the main recipient and it works fine. Issue closed, thanks.... -
Sending multiple emails from a form
I am setting up a user request form to help our IT staff get all of the information required to setup a user account, I would like to send the form to a static address each time that it is submitted but I would also like to send it to whomever is submitting the form. It currently will submit to the static address with no problems but I can't seem to figure out how to cc or send directly to multiple addresses. I won't include the form code, just what... -
Web page to enumerate groups in active directory
I found a file on the web that will allow you to enumerate groups but it was an .hta and the top level admins won't allow this. I need to give managers access to the groups so that when a new user is created they can tell me who they want their account to be modeled after. The html app works great as a .hta file but when it is saved as a web page it won't list the members of any groups. I get an error on line 182: "ActiveX component can't create... -
I figured it out, I used the "onclick" event on the button and that let the form be submitted and still get the pop up.Leave a comment:
-
PHP form with VBscript?
I have a PHP form that submits information via e-mail, I know that it work fine. My problem is that I want a msgbox to pop up when you submit the form and I can't seem to make it work. I want the form to be sent no matter what the answer is to my msgbox, if they answer yes then it will open a window with another form, if they answer no then the msgbox goes away. Right now I'm not sure how to get the form action to respond to the part that mails it... -
I found my problem, I thought setting the smtp server in the php.ini file was enough. Apparently not, I added ini_set "("SMTP","XXX.X XX.com");
ini_set("sendma il_from","php@X XX.com");" and that got it. Thanks, without knowing where to start on this one it would have taken me forever to find out what was going on.Leave a comment:
-
This didn't work, here is the error I got: "Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in F:\intranet\php \test.php on line 14" [if(mail($to,$su bject,$message, $headers))] I have set the php.ini file to point to our mail server (different location) and use the correct ports. This I know is right,...Leave a comment:
-
Well, that's part of the problem, when I submit the form I don't recieve any errors. The page refreshes like it sent something but I never recieve an email or any real indication that it did something. I added "error_reportin g(E_ALL);" to see if that would tell me anything and I get nothing but "Notice: Undefined index: name in F:\intranet\php \index.php on line 27" thru to the "notes" variable. I can send you the whole...Leave a comment:
-
Problems sending email via smtp
I'm trying to setup a Form and send it to our helpdesk so that we don't have to email forms all day long. The problem is that I have very little knowledge of PHP and I cannot seem to find the same thing that I am tring to do on the internet so I can compare what exactly is going wrong. Here is my code(leaving a lot of html out to save space):
<?php
if ($_SERVER['REQUEST_METHOD '] != 'POST'){
$me = $_SERVER['PHP_SELF'];...
No activity results to display
Show More
Leave a comment: