Re: Converting ASP to PHP

From: Date: Tue, 14 Nov 2000 21:59:00 +0000
Subject: Re: Converting ASP to PHP
Groups: php.general 
Request: Send a blank email to php-general+get-25258@lists.php.net to get a copy of this message
Yea, tell me about it. Nobody at their place really knows how to run their server. Some interns set it up over the summer. We tried to set them up through Jumpline.com, but they don't want to pay for it of course. They're still under the site contract so the programming's already payed for. > They're dumb - PHP sends mail through the regular mail port - how did they > firewall that out but not ASP? If they are on different servers I can see this. > > --Joe > > On Tue, Nov 14, 2000 at 04:43:32PM -0500, Jason wrote: > > Unfortunately, our client is running a Windows server and their firewall > > won't let PHP send mail. > > > > > > > > > I think you just want to send email right? > > > > > > <? > > > > > > $subject = 'Hey dude what up?'; > > > $msg = 'Meet me at 9am'; > > > $to = 'joe@foobar.com'; > > > $from = 'Joe Stump <joe@foobar.com>'; > > > > > > mail($to,$subject,$msg,$from); > > > > > > > > > ?> > > > > > > > > > --Joe > > > > > > On Tue, Nov 14, 2000 at 04:36:41PM -0500, Jason wrote: > > > > I need to convert this ASP code to PHP code. Someone on > > suggested > > > > using PHP's COM functions, but I don't know how to use that. > > Could > > > > someone give me a little help? Any examples in how to use COM > > > > functions would help or if anyone could covert it, that help out alot > > too. > > > > THANKS ALOT!!! > > > > > > > > > > > > <% > > > > Set JMail = Server.CreateObject("JMail.SMTPMail") > > > > subject = Request("subject") > > > > addressto = Request("to") > > > > mainbody = Request("mainbody") > > > > > > > > JMail.ServerAddress = "mail.rhpa.org" > > > > JMail.Sender = "webmaster@rhpa.org" > > > > strOrderEmailSubject = subject > > > > JMail.Subject = strOrderEmailSubject > > > > > > > > JMail.AddRecipient addressto > > > > JMail.AddRecipient "jason@focusdesigngroup.com" > > > > 'JMail.AddRecipient "jrbryner@southern.edu" > > > > > > > > JMail.Body = mainbody > > > > JMail.Priority = 3 > > > > JMail.AddHeader "Originating-IP", > > > > Request.ServerVariables("REMOTE_ADDR") > > > > JMail.Execute > > > > > > > > %> > > > > > > > > > > > > Jason Bryner > > > > --- > > > > Focus Design > > > > www.focusdesigngroup.com > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > > For additional commands, e-mail: php-general-help@lists.php.net > > > > To contact the list administrators, e-mail: > > php-list-admin@lists.php.net > > > > > ====================================================== > > ========================== > > > = Joe Stump joestump98@yahoo.com > > http://www.miester.org = > > > > > ====================================================== > > ========================== > > > "Real programmers don't comment their code. > > > It was hard to write, it should be hard to understand." > > > > > > > > > > -- > > Focus Design > > 423.238.3320 > > www.focusdesigngroup.com > ====================================================== ========================== > = Joe Stump joestump98@yahoo.com http://www.miester.org = > ====================================================== ========================== > "Real programmers don't comment their code. > It was hard to write, it should be hard to understand." > > > > -- Focus Design 423.238.3320 www.focusdesigngroup.com

« previous php.general (#25258) next »