Re: [PHP] Email configuration
On Sat, 2009-02-07 at 01:58 +, Nathan Rixham wrote: Shawn McKenzie wrote: Nathan Rixham wrote: Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol Hmmm... So Ashley is a him? yeah quot: Actually I'm a guy, but we can't all be perfect ;) http://www.mail-archive.com/php-general@lists.php.net/msg235765.html dunno why I insist on winding him up either, he's pretty sound lol Thanks! And yes, I just checked this morning, and I am still a guy! Bloody Americans cannibalising the spelling of it for their girls! Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but you just have to install msmtp and follow the other steps. Here it is: http://nanotux.com/blog/the-ultimate-server/4/#l-mail I did it on my little gentoo server here at home and it works great. Well if I am not getting what you say in the wrong way I should say that you don't need to use a relay because you don't need a mail server at all. The point is that PHP can send mail with the mail() function using a local mail client like sendmail's client part or something coded in pure PHP. Keep in mind that you don't need to have a mail server in your PC in order to send mail. Similarly PHP doesn't need to have a local mail server in order to send mail. So you don't need extra mail configuration assuming of course that you don't need to do something extreme. You just use mail() and the mail gets sent. -- Thodoris
Re: [PHP] Email configuration
2009/2/6 Thodoris t...@kinetix.gr: 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but you just have to install msmtp and follow the other steps. Here it is: http://nanotux.com/blog/the-ultimate-server/4/#l-mail I did it on my little gentoo server here at home and it works great. Well if I am not getting what you say in the wrong way I should say that you don't need to use a relay because you don't need a mail server at all. The point is that PHP can send mail with the mail() function using a local mail client like sendmail's client part or something coded in pure PHP. Keep in mind that you don't need to have a mail server in your PC in order to send mail. Similarly PHP doesn't need to have a local mail server in order to send mail. So you don't need extra mail configuration assuming of course that you don't need to do something extreme. You just use mail() and the mail gets sent. -- Thodoris Of course he can send mails this way, but they won't be accepted by many mail providers because of their anti-spam measurments. They bounce mails that come from dynamic ip ranges like his home server. I just wanted to help him avoid this because you won't see the reason until you look at the syslog. -- Currently developing a browsergame... http://www.p-game.de Trade - Expand - Fight Follow me at twitter! http://twitter.com/moortier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
2009/2/6 Thodoris t...@kinetix.gr: 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but you just have to install msmtp and follow the other steps. Here it is: http://nanotux.com/blog/the-ultimate-server/4/#l-mail I did it on my little gentoo server here at home and it works great. Well if I am not getting what you say in the wrong way I should say that you don't need to use a relay because you don't need a mail server at all. The point is that PHP can send mail with the mail() function using a local mail client like sendmail's client part or something coded in pure PHP. Keep in mind that you don't need to have a mail server in your PC in order to send mail. Similarly PHP doesn't need to have a local mail server in order to send mail. So you don't need extra mail configuration assuming of course that you don't need to do something extreme. You just use mail() and the mail gets sent. -- Thodoris Of course he can send mails this way, but they won't be accepted by many mail providers because of their anti-spam measurments. They bounce mails that come from dynamic ip ranges like his home server. I just wanted to help him avoid this because you won't see the reason until you look at the syslog. I am sorry didn't get right what you meant after all. In that case a simple mail() won't do. -- Thodoris
Re: [PHP] Email configuration
On Fri, 2009-02-06 at 16:30 +0200, Thodoris wrote: 2009/2/6 Thodoris t...@kinetix.gr: 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but you just have to install msmtp and follow the other steps. Here it is: http://nanotux.com/blog/the-ultimate-server/4/#l-mail I did it on my little gentoo server here at home and it works great. Well if I am not getting what you say in the wrong way I should say that you don't need to use a relay because you don't need a mail server at all. The point is that PHP can send mail with the mail() function using a local mail client like sendmail's client part or something coded in pure PHP. Keep in mind that you don't need to have a mail server in your PC in order to send mail. Similarly PHP doesn't need to have a local mail server in order to send mail. So you don't need extra mail configuration assuming of course that you don't need to do something extreme. You just use mail() and the mail gets sent. -- Thodoris Of course he can send mails this way, but they won't be accepted by many mail providers because of their anti-spam measurments. They bounce mails that come from dynamic ip ranges like his home server. I just wanted to help him avoid this because you won't see the reason until you look at the syslog. I am sorry didn't get right what you meant after all. In that case a simple mail() won't do. I've never had an email bounced because of where it came from based on IP. I have had emails bounced based on the email headers that were sent. Always check the headers first. Even MessageLabs won't block an email based on the IP. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
Ashley Sheridan wrote: On Fri, 2009-02-06 at 16:30 +0200, Thodoris wrote: 2009/2/6 Thodoris t...@kinetix.gr: 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but you just have to install msmtp and follow the other steps. Here it is: http://nanotux.com/blog/the-ultimate-server/4/#l-mail I did it on my little gentoo server here at home and it works great. Well if I am not getting what you say in the wrong way I should say that you don't need to use a relay because you don't need a mail server at all. The point is that PHP can send mail with the mail() function using a local mail client like sendmail's client part or something coded in pure PHP. Keep in mind that you don't need to have a mail server in your PC in order to send mail. Similarly PHP doesn't need to have a local mail server in order to send mail. So you don't need extra mail configuration assuming of course that you don't need to do something extreme. You just use mail() and the mail gets sent. -- Thodoris Of course he can send mails this way, but they won't be accepted by many mail providers because of their anti-spam measurments. They bounce mails that come from dynamic ip ranges like his home server. I just wanted to help him avoid this because you won't see the reason until you look at the syslog. I am sorry didn't get right what you meant after all. In that case a simple mail() won't do. I've never had an email bounced because of where it came from based on IP. I have had emails bounced based on the email headers that were sent. Always check the headers first. Even MessageLabs won't block an email based on the IP. Ash www.ashleysheridan.co.uk Ever heard of RBL or DNSBL? I use it on my email server and so do many others. It checks the IP of the sending host against a list or set of lists that contain addresses such as, known spammers, known open relays, blocks of IPs that are dynamic (used by ISPs for home customers), etc. If the sender is found in the list, the receiver terminates the connection and doesn't even accept the email. It's actually very slick. I use the list at spamhaus.org. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
Ashley Sheridan wrote: I've never had an email bounced because of where it came from based on IP. I have had emails bounced based on the email headers that were sent. Always check the headers first. Even MessageLabs won't block an email based on the IP. ash: http://en.wikipedia.org/wiki/DNSBL that's what RBL is, stopping email because of the IP it was sent from if you've never had it then you can't be a spammer :D *hoorah* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
Nathan Rixham wrote: Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol Hmmm... So Ashley is a him? -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
Shawn McKenzie wrote: Nathan Rixham wrote: Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol Hmmm... So Ashley is a him? yeah quot: Actually I'm a guy, but we can't all be perfect ;) http://www.mail-archive.com/php-general@lists.php.net/msg235765.html dunno why I insist on winding him up either, he's pretty sound lol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
Nathan Rixham wrote: Hmmm... So Ashley is a him? yeah quot: Actually I'm a guy, but we can't all be perfect ;) http://www.mail-archive.com/php-general@lists.php.net/msg235765.html Wouldn't be the first Ashley who's a guy. I happen to be one of those too ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
2009/2/5 It flance itmaqu...@yahoo.com: Hi all, I've installed php and mysql in fedora. Now i am able to create php programs. But when I am unable to use email in my programs. I am wondering what is the easiest way to use email in my php programs. Can i send email from my personal computer. I am a regular person connected to internet through an internet provider. Is there any preconfigured software or I have to go through the configuration of sendmail for example? Thank you Sorry... But I need a _little_ bit more information. What operating system do you use? Linux/Windows/Mac/other? The main problem is that most of the big email providers don't accept mails from dialup connections, but there are solutions to work around this. For now start by telling me which operating system you have. -- Currently developing a browsergame... http://www.p-game.de Trade - Expand - Fight Follow me at twitter! http://twitter.com/moortier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
2009/2/5 It flance itmaqu...@yahoo.com: Hi all, I've installed php and mysql in fedora. Now i am able to create php programs. But when I am unable to use email in my programs. I am wondering what is the easiest way to use email in my php programs. Can i send email from my personal computer. I am a regular person connected to internet through an internet provider. Is there any preconfigured software or I have to go through the configuration of sendmail for example? Thank you Sorry... But I need a _little_ bit more information. What operating system do you use? Linux/Windows/Mac/other? The main problem is that most of the big email providers don't accept mails from dialup connections, but there are solutions to work around this. For now start by telling me which operating system you have. I think that the OP mentioned the word fedora somewhere above... To the point: Your linux probably has already installed the sendmail suite. If that is the case (run rpm -qa | grep sendmail to check) you may safely use the PHP's mail function for simple things. In case you don't have sendmail installed use: # yum install sendmail http://www.php.net/manual/en/function.mail.php If you need more advanced features like for e.g. adding attachments to your e-mails you may consider other options like phpmailer. I have never used it myself but many people that belong in this gang are very fond of it. http://phpmailer.codeworxtech.com/ Keep in mind that in case you have compiled PHP from source without having the sendmail installed you may need to recompile it. You can find this by making a phpinfo somewhere. In case you have installed from package no harm is done. Put this in a script: ?php phpinfo(); ? You will find sendmail_path somethere in the resulting page or something like that Path to sendmail. If this is set then everything will work like a charm. -- Thodoris
Re: [PHP] Email configuration
2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but you just have to install msmtp and follow the other steps. Here it is: http://nanotux.com/blog/the-ultimate-server/4/#l-mail I did it on my little gentoo server here at home and it works great. -- Currently developing a browsergame... http://www.p-game.de Trade - Expand - Fight Follow me at twitter! http://twitter.com/moortier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email configuration
Thanks guys, I'm gonna read all this staff, and let you know if have some issues. Thanks a lot --- On Thu, 2/5/09, Yannick Mortier mvmort...@googlemail.com wrote: From: Yannick Mortier mvmort...@googlemail.com Subject: Re: [PHP] Email configuration To: t...@kinetix.gr Cc: itmaqu...@yahoo.com, php-general@lists.php.net Date: Thursday, February 5, 2009, 3:19 PM 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but you just have to install msmtp and follow the other steps. Here it is: http://nanotux.com/blog/the-ultimate-server/4/#l-mail I did it on my little gentoo server here at home and it works great. -- Currently developing a browsergame... http://www.p-game.de Trade - Expand - Fight Follow me at twitter! http://twitter.com/moortier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php