Re: [nyphp-talk] can't get php to work

2012-03-16 Thread Sasa Rakic - Gmail
If you need SMTP mail example I can send it. -Original Message- From: talk-boun...@lists.nyphp.org [mailto:talk-boun...@lists.nyphp.org] On Behalf Of justin Sent: Friday, March 16, 2012 6:17 PM To: NYPHP Talk Subject: Re: [nyphp-talk] can't get php to work I usually use SendGri

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread Sasa Rakic - Gmail
. "\n" . "MIME-version: 1.0\n" . "Content-type: text/html; charset=us-ascii\n" . "Content-Transfer-Encoding: 8bit\n\n"); ?> -Original Message- From: talk-boun...@lists.nyphp.org [mailto:talk-boun...@lists.nyphp.org] On Behal

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread justin
I usually use SendGrid (or something similar). Mail/spam/blacklist/etc just isn't worth dealing with :) --j On Fri, Mar 16, 2012 at 8:49 AM, Peter Lehrer wrote: > OK, Thanks. I installed sendmail on my local machine and got it to > work. However, when I send it to my gmail account, it goes into

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread Federico Ulfo
Yup, also shared hosting often are hacked used to send mass email, and obviously black listed, so it depends by the security level of the receiver of the email if the email go into inbox or spam! I did a few mass mail using SMTP, they are slow, like one email every 1-3 seconds, and PHP wait for th

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread Peter Lehrer
OK, Thanks. I installed sendmail on my local machine and got it to work. However, when I send it to my gmail account, it goes into spam. This is probably due to the reason Chris enumerated. Peter On Fri, Mar 16, 2012 at 11:42 AM, Chris Snyder wrote: > On Fri, Mar 16, 2012 at 9:11 AM, Peter Lehre

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread Federico Ulfo
Exactly. It's easy: http://www.linuxserverhowto.com/linux-mail-server-sendmail/install-sendmail-using-apt-get.html As alternative you can use dedicated SMTP servers, which often are more reliable than shared hosting server, although way slower. On Fri, Mar 16, 2012 at 11:41 AM, Peter Lehrer

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread Ap | Alsjeblaft!
Perhaps this article is useful: http://www.davidhurst.co.uk/2007/06/19/php-mail-and-ssmtp-on-debian-linux/ -- *Alsjeblaft!* webdevelopment Stuff I've built: wende.nu, sizzer.nl, happycampermusic.com, dazzledkid.com , arthurjussen.nl, schradinova.nl, roomeleven.nl & studiopino.nl ap...@alsjeblaf

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread Chris Snyder
On Fri, Mar 16, 2012 at 9:11 AM, Peter Lehrer wrote: > Hi, > I am trying to get the php mail function to work. I have a website > running Apache2 and PHP Version 5.3.3-7+squeeze8 on Debian. I tried to > get a test email message working. Here is my code: > > $to = "pleh...@gmail.com"; > $subject =

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread Peter Lehrer
I think my problem is I don't have sendmail installed. Peter On Fri, Mar 16, 2012 at 11:29 AM, David Mintz wrote: > > > On Fri, Mar 16, 2012 at 9:11 AM, Peter Lehrer wrote: >> >> Hi, >> I am trying to get the php mail function to work. I have a website >> running Apache2 and PHP Version 5.3.3-7

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread David Mintz
On Fri, Mar 16, 2012 at 11:29 AM, David Mintz wrote: > > > On Fri, Mar 16, 2012 at 9:11 AM, Peter Lehrer wrote: > >> Hi, >> I am trying to get the php mail function to work. I have a website >> running Apache2 and PHP Version 5.3.3-7+squeeze8 on Debian. I tried to >> get a test email message wor

Re: [nyphp-talk] can't get php to work

2012-03-16 Thread David Mintz
On Fri, Mar 16, 2012 at 9:11 AM, Peter Lehrer wrote: > Hi, > I am trying to get the php mail function to work. I have a website > running Apache2 and PHP Version 5.3.3-7+squeeze8 on Debian. I tried to > get a test email message working. Here is my code: > > $to = "pleh...@gmail.com"; > $subject