[PHP] Email Antispam

2012-04-17 Thread David Mehler
Hello, I'm working on a site that has email addresses on it. I am not wanting to use mailto links so as to avoid spam harvesters, I'd like another solution so that mailto links would work but would not work with spammers. I've tried several javascript-based solutions, but am not able to get them

Re: [PHP] Email Antispam

2012-04-17 Thread Marc Guay
Is there a reason for you not to build a contact form? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email Antispam

2012-04-17 Thread Ashley Sheridan
Marc Guay marc.g...@gmail.com wrote: Is there a reason for you not to build a contact form? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php It could be for a company, which in the UK I believe requires several bits of contact information.

Re: [PHP] email w/attachments

2011-04-18 Thread Richard Quadling
On 18 April 2011 04:38, Bastien phps...@gmail.com wrote: On 2011-04-17, at 10:26 PM, tedd t...@sperling.com wrote: Hi gang: Anyone have an email script that allows attachments they would share? I've been trying to figure this out and everything I've tried has failed. I've looked at

Re: [PHP] email w/attachments

2011-04-18 Thread Steve Staples
On Mon, 2011-04-18 at 11:05 +0100, Richard Quadling wrote: On 18 April 2011 04:38, Bastien phps...@gmail.com wrote: On 2011-04-17, at 10:26 PM, tedd t...@sperling.com wrote: Hi gang: Anyone have an email script that allows attachments they would share? I've been trying to

[PHP] email w/attachments

2011-04-17 Thread tedd
Hi gang: Anyone have an email script that allows attachments they would share? I've been trying to figure this out and everything I've tried has failed. I've looked at over a dozen scripts that don't work. I'm about to pull out what hair I have left. Cheers (I think), tedd -- ---

Re: [PHP] email w/attachments

2011-04-17 Thread Adam Richardson
On Sun, Apr 17, 2011 at 10:26 PM, tedd t...@sperling.com wrote: Hi gang: Anyone have an email script that allows attachments they would share? I've been trying to figure this out and everything I've tried has failed. I've looked at over a dozen scripts that don't work. I'm about to pull out

Re: [PHP] email w/attachments

2011-04-17 Thread Bastien
On 2011-04-17, at 10:26 PM, tedd t...@sperling.com wrote: Hi gang: Anyone have an email script that allows attachments they would share? I've been trying to figure this out and everything I've tried has failed. I've looked at over a dozen scripts that don't work. I'm about to pull

Re: [PHP] email address syntax checker

2011-01-23 Thread Govinda
Peter Lind wrote: [snip] if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo Bad user! Bad user!; } Regards Peter thanks peter... wish I would have known about filter_var before writing the other checkers. ;-) Hi D :-) I was following along.. also felt pleased to be

Re: [PHP] email address syntax checker

2011-01-23 Thread Ashley Sheridan
On Sun, 2011-01-23 at 14:59 -0500, Govinda wrote: Peter Lind wrote: [snip] if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo Bad user! Bad user!; } Regards Peter thanks peter... wish I would have known about filter_var before writing the other checkers. ;-)

Re: [PHP] email address syntax checker

2011-01-23 Thread Donovan Brooke
Govinda wrote: [snip] Hi D :-) I was following along.. also felt pleased to be introduced to filter_var ... and then happened to see this: http://us3.php.net/manual/en/function.filter-var.php [snip] Note that FILTER_VALIDATE_EMAIL used in isolation is not enough for most (if not all) web

Re: [PHP] email address syntax checker

2011-01-23 Thread Govinda
Trying to finish a PHP book while watching the Packers is not working for me too well. ;-) yeah.. me trying to keep up with the php list, follow streams of thought from the posts that lead to things I need to yet learn, make time off from my other-language/full-time work.. wishing I could

RES: [PHP] email address syntax checker

2011-01-21 Thread Alejandro Michelin Salomon
[mailto:li...@euca.us] Enviada em: quinta-feira, 20 de janeiro de 2011 01:14 Para: php-general@lists.php.net Assunto: [PHP] email address syntax checker Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like

Re: RES: [PHP] email address syntax checker

2011-01-21 Thread a...@ashleysheridan.co.uk
in that! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Alejandro Michelin Salomon amichel...@hotmail.com Date: Fri, Jan 21, 2011 12:14 Subject: RES: [PHP] email address syntax checker To: 'Donovan Brooke' li...@euca.us Cc: php-general@lists.php.net Donovan: Try this function

Re: RES: [PHP] email address syntax checker

2011-01-21 Thread Richard Quadling
they will require being inside quotation marks), and the @ symbol is included in that! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Alejandro Michelin Salomon amichel...@hotmail.com Date: Fri, Jan 21, 2011 12:14 Subject: RES: [PHP] email address syntax checker

Re: [PHP] email address syntax checker

2011-01-21 Thread Nilesh Govindarajan
On 01/21/2011 06:25 AM, Andre Polykanine wrote: Hej Nisse, Me thinks it isn't a valid address :-). Okay let me tell you guys one more thing that the validator I posted earlier is not exactly as per RFC. It does have some variations. @@example.com may be a valid email address, but I doubt

Re: [PHP] email address syntax checker

2011-01-21 Thread Nisse Engström
On Fri, 21 Jan 2011 18:32:56 +0530, Nilesh Govindarajan wrote: Okay let me tell you guys one more thing that the validator I posted earlier is not exactly as per RFC. It does have some variations. @@example.com may be a valid email address, but I doubt very much if any provider in the

Re: [PHP] email address syntax checker

2011-01-20 Thread Nilesh Govindarajan
On 01/20/2011 09:44 AM, Donovan Brooke wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a quick search of the archives and

Re: [PHP] email address syntax checker

2011-01-20 Thread Donovan Brooke
Peter Lind wrote: [snip] if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo Bad user! Bad user!; } Regards Peter thanks peter... wish I would have known about filter_var before writing the other checkers. ;-) Donovan -- D Brooke -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] email address syntax checker

2011-01-20 Thread Donovan Brooke
Nilesh Govindarajan wrote: On 01/20/2011 09:44 AM, Donovan Brooke wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a

Re: [PHP] email address syntax checker

2011-01-20 Thread Nisse Engström
On Thu, 20 Jan 2011 19:03:22 +0530, Nilesh Govindarajan wrote: Well, I had created an email validator long ago, after a neat research on Google, reading RFCs, etc. I don't guarantee that it's without bugs, but it has been correct for me in all valid invalid email addresses I used for test.

Re: [PHP] email address syntax checker

2011-01-20 Thread Andre Polykanine
: Nisse Engström news.nospam.0ixbt...@luden.se To: php-general@lists.php.net Date created: , 2:25:01 AM Subject: [PHP] email address syntax checker On Thu, 20 Jan 2011 19:03:22 +0530, Nilesh Govindarajan wrote: Well, I had created an email validator long ago, after a neat research on Google

[PHP] email address syntax checker

2011-01-19 Thread Donovan Brooke
Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a quick search of the archives and found a couple elaborate things.. but I'm

Re: [PHP] email address syntax checker

2011-01-19 Thread David Hutto
On Wed, Jan 19, 2011 at 11:14 PM, Donovan Brooke li...@euca.us wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a quick

Re: [PHP] email address syntax checker

2011-01-19 Thread Peter Lind
On 20 January 2011 05:14, Donovan Brooke li...@euca.us wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a quick search

[PHP] email list 101

2011-01-16 Thread Kirk Bailey
So, in php, I want a program to handle sending out a mail list. All this is going to do is be a filter to exclude non subscribers, and send a copy to every person in the subscriber file. This is pretty simple in python, but this is not my mother tounge we speak here, so let's talk in php

Re: [PHP] email list 101

2011-01-16 Thread David McGlone
On Sunday, January 16, 2011 10:09:03 am Kirk Bailey wrote: So, in php, I want a program to handle sending out a mail list. All this is going to do is be a filter to exclude non subscribers, and send a copy to every person in the subscriber file. This is pretty simple in python, but this is not

Re: [PHP] email list 101

2011-01-16 Thread Jim Lucas
On 1/16/2011 7:09 AM, Kirk Bailey wrote: So, in php, I want a program to handle sending out a mail list. All this is going to do is be a filter to exclude non subscribers, and send a copy to every person in the subscriber file. This is pretty simple in python, but this is not my mother tounge we

Re: [PHP] email list 101

2011-01-16 Thread Paul M Foster
On Sun, Jan 16, 2011 at 10:09:03AM -0500, Kirk Bailey wrote: So, in php, I want a program to handle sending out a mail list. All this is going to do is be a filter to exclude non subscribers, and send a copy to every person in the subscriber file. This is pretty simple in python, but this is

Re: [PHP] PHP Email Question

2010-10-01 Thread kranthi
I cant see why you are getting the letter 'z' (assuming $msgContent was referenced properly) . Complete code will be helpful to debug the problem. Also, Heredoc syntax will be more helpful in your situation. And usage of global keyword is strongly discouraged in favor of $GLOBALS superglobal

Re: [PHP] PHP Email Question

2010-09-30 Thread J Ravi Menon
On Wed, Sep 29, 2010 at 1:37 PM, Joe Jackson priory...@googlemail.com wrote: Hi I am trying the following snippet as Bostjan  suggested, and an email is getting sent when I submit the form however in the body of the email I am getting none of the form data in the body of the email.  All I am

Re: [PHP] PHP Email Question

2010-09-29 Thread Joe Jackson
Hi I am trying the following snippet as Bostjan suggested, and an email is getting sent when I submit the form however in the body of the email I am getting none of the form data in the body of the email. All I am getting is the letter 'z' ? Also in the from field of the email this is showing

Re: [PHP] PHP Email Question

2010-09-21 Thread J Ravi Menon
Just on this topic, I found swiftmailer library to be really useful esp. in dealing with 'template' emails with custom variables per recipient: http://swiftmailer.org/ The e.g. on email template processing: http://swiftmailer.org/docs/decorator-plugin-howto There are batchSend()

[PHP] PHP Email Question

2010-09-19 Thread Joe Jackson
Hi Sorry for the simple question but I am trying to get my head around PHP. I have a sample PHP script that I am trying to use to send a php powered email message. The snippet of code is shown below mail('em...@address.com', 'Subject', $values['message'], From: \{$values['name']}\

Re: [PHP] PHP Email Question

2010-09-19 Thread Bostjan Skufca
You should format the email message content first, like this: $msgContent = Name: . $values['name'] .\n; $msgContent .= Address: . $values['address'] .\n; Then you should send a this content, like this: mail('em...@address.com', 'Subject', $msgContent, From...); b. On 20 September 2010 00:00,

Re: [PHP] PHP Email Question

2010-09-19 Thread TR Shaw
On Sep 19, 2010, at 6:00 PM, Joe Jackson wrote: Hi Sorry for the simple question but I am trying to get my head around PHP. I have a sample PHP script that I am trying to use to send a php powered email message. The snippet of code is shown below mail('em...@address.com',

[PHP] Email from php

2010-05-19 Thread Ferdi
Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the situation: On Windows (WampServer 2.0i ) I manage to send email

Re: [PHP] Email from php

2010-05-19 Thread Peter Lind
On 19 May 2010 13:27, Ferdi ferdinan...@printo.in wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the

Re: [PHP] Email from php

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 16:57 +0530, Ferdi wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the situation:

Re: [PHP] Email from php

2010-05-19 Thread Teus Benschop
On Wed, 2010-05-19 at 16:57 +0530, Ferdi wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the situation:

Re: [PHP] Email from php

2010-05-19 Thread Gary
Ferdi writes: I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). IMAP is only incoming (at least, the protocol is - the clue is in the name Internet Message

[PHP] Email with attachment

2010-05-15 Thread Php Developer
Hi, I found a good function at php.net that sends email with atachment, but unfortunately i still cannot figure out how to send a body of the email too. Here is the code: function sendEmailWithAttachement($to, $subject, $message, $file) { if (strtoupper(substr(PHP_OS,0,3)=='WIN')) {

Re: [PHP] Email with attachment

2010-05-15 Thread Jim Lucas
Php Developer wrote: Hi, I found a good function at php.net that sends email with atachment, but unfortunately i still cannot figure out how to send a body of the email too. Here is the code: function sendEmailWithAttachement($to, $subject, $message, $file) { if

[PHP] Email security

2009-07-14 Thread Tiji varghese
Hello, I've implemented a contact form on my website that would email me the contents of the form and also add it to the database. Its working perfectly but I'm not too sure about the security part. I don't know much about the security issues concerned with email forms and the measures to

Re: [PHP] Email security

2009-07-14 Thread Eric Butera
On Tue, Jul 14, 2009 at 7:46 AM, Tiji varghesetij...@yahoo.co.in wrote: Hello, I've implemented a contact form on my website that would email me the contents of the form and also add it to the database. Its working perfectly but I'm not too sure about the security part. I don't know much

RE: [PHP] Email security

2009-07-14 Thread Dewey Williams
-Original Message- From: Tiji varghese [mailto:tij...@yahoo.co.in] Sent: Tuesday, July 14, 2009 7:47 AM To: PHP General Subject: [PHP] Email security Hello, I've implemented a contact form on my website that would email me the contents of the form and also add it to the database

[PHP] PHP Email Setup problem

2009-05-14 Thread Moses
Hi Everyone I have tried to configure my php.in file so as allow me to send email in PHP from local server. I added the lines in php.ini file sendmail_path = /usr/sbin/sendmail -t sendmail_from = n...@localhost Therafter restarted my apache by: sudo /etc/init.d/apache2 restart However, I

Re: [PHP] PHP Email Setup problem

2009-05-14 Thread Shawn McKenzie
Moses wrote: Hi Everyone I have tried to configure my php.in file so as allow me to send email in PHP from local server. I added the lines in php.ini file sendmail_path = /usr/sbin/sendmail -t sendmail_from = n...@localhost Therafter restarted my apache by: sudo

Re: [PHP] Email configuration

2009-02-07 Thread Ashley Sheridan
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

Re: [PHP] Email configuration

2009-02-06 Thread Thodoris
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

Re: [PHP] Email configuration

2009-02-06 Thread Yannick Mortier
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

Re: [PHP] Email configuration

2009-02-06 Thread Thodoris
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

Re: [PHP] Email configuration

2009-02-06 Thread Ashley Sheridan
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

Re: [PHP] Email configuration

2009-02-06 Thread Shawn McKenzie
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

Re: [PHP] Email configuration

2009-02-06 Thread Nathan Rixham
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

Re: [PHP] Email configuration

2009-02-06 Thread Nathan Rixham
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:

Re: [PHP] Email configuration

2009-02-06 Thread Shawn McKenzie
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

Re: [PHP] Email configuration

2009-02-06 Thread Nathan Rixham
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?

Re: [PHP] Email configuration

2009-02-06 Thread Ashley M. Kirchner
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

[PHP] Email configuration

2009-02-05 Thread It flance
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

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
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

Re: [PHP] Email configuration

2009-02-05 Thread Thodoris
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

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
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

Re: [PHP] Email configuration

2009-02-05 Thread It flance
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

[PHP] email app/script/needs...

2009-01-03 Thread bruce
HI... Playing around with an app and I need to implement some functionality allowing a user to email some text. Basically, I want to allow the user to select some text from a dropdown list. I then want to allow the user to edit the text if needed, and to then submit the text for email to a given

Re: [PHP] Email Verification

2008-09-18 Thread Per Jessen
Lupus Michaelis wrote: Richard Heyes a écrit : New domain name extensions can be accounted for easily, eg: \.(?:[a-z]){2,4} It excludes .museum tld. Don't make assumptions about which TLDs that are or are not allowed - the domain part of an email address could be validated with

Re: [PHP] Email Verification

2008-09-18 Thread Andrew Ballard
On Thu, Sep 18, 2008 at 2:09 AM, Per Jessen [EMAIL PROTECTED] wrote: Lupus Michaelis wrote: Richard Heyes a écrit : New domain name extensions can be accounted for easily, eg: \.(?:[a-z]){2,4} It excludes .museum tld. Don't make assumptions about which TLDs that are or are not

[PHP] Email Verification

2008-09-17 Thread Tom Chubb
been looking at getmxrr and the examples feature some good advice, etc. One that I've found that I'm thinking of using is http://www.tienhuis.nl/php-email-address-validation-with-verify-probe which tries to connect to the SMTP server as well as mx lookup, etc. How reliable are these? With new domain

Re: [PHP] Email Verification

2008-09-17 Thread Richard Heyes
? The best method is that IMO. It's common place and thus understood. There may be a delay incurred though because of mail delays. I have been looking at getmxrr and the examples feature some good advice, etc. One that I've found that I'm thinking of using is http://www.tienhuis.nl/php-email-address

Re: [PHP] Email Verification

2008-09-17 Thread Per Jessen
Tom Chubb wrote: Can anyone offer advice on best practices for email address verification? 1) check for a valid address syntax - that's easily done with a simply regex (leaving the most obscure variations out). 2) check that the domain-name exists and has an A record. /Per Jessen, Zürich

Re: [PHP] Email Verification

2008-09-17 Thread Per Jessen
Richard Heyes wrote: I have been looking at getmxrr and the examples feature some good advice, etc. One that I've found that I'm thinking of using is http://www.tienhuis.nl/php-email-address-validation-with-verify-probe which tries to connect to the SMTP server as well as mx lookup, etc

Re: [PHP] Email Verification

2008-09-17 Thread Stut
that I'm thinking of using is http://www.tienhuis.nl/php-email-address-validation-with-verify- probe which tries to connect to the SMTP server as well as mx lookup, etc. How reliable are these? They're not for reasons already mentioned by other posters. Also you need to consider how often

Re: [PHP] Email Verification

2008-09-17 Thread tedd
for the end user, what are the best methods? I have been looking at getmxrr and the examples feature some good advice, etc. One that I've found that I'm thinking of using is http://www.tienhuis.nl/php-email-address-validation-with-verify-probe which tries to connect to the SMTP server as well as mx lookup

Re: [PHP] Email Verification

2008-09-17 Thread Lupus Michaelis
Richard Heyes a écrit : New domain name extensions can be accounted for easily, eg: \.(?:[a-z]){2,4} It excludes .museum tld. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Email - Best practice/advice please

2008-09-12 Thread Tom Chubb
I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of different headers, etc and almost every contact form on sites I've done is different. I

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Stut
On 12 Sep 2008, at 11:55, Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of different headers, etc and almost every

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Aschwin Wesselius
Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of different headers, etc and almost every contact form on sites I've

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Tom Chubb
2008/9/12 Aschwin Wesselius [EMAIL PROTECTED] Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of different

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Tom Chubb
2008/9/12 Stut [EMAIL PROTECTED] On 12 Sep 2008, at 11:55, Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Per Jessen
Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of different headers, etc and almost every contact form on sites

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Richard Heyes
I use here-doc plus exec(sendmail). Why? -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Per Jessen
Richard Heyes wrote: I use here-doc plus exec(sendmail). Why? Using heredocs is probably habit, but it's also easy, and I like keeping the email template in the code. I use exec(sendmail) because it allows me to set the Return-Path. For purely internal stuff, I just as often use plain

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Richard Heyes
I use exec(sendmail) because it allows me to set the Return-Path. mail() does too. -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Per Jessen
Richard Heyes wrote: I use exec(sendmail) because it allows me to set the Return-Path. mail() does too. In additional-parameters? Yeah, I think I knew that, but for some reason I haven't been using it. I don't think it works in safe-mode or something like that. Or maybe it doesn't

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Richard Heyes
In additional-parameters? Yeah, I think I knew that, but for some reason I haven't been using it. I don't think it works in safe-mode or something like that. Or maybe it doesn't work in older (4.3,4.4) versions? Dunno, it's been over 4 1/2 years since I used PHP4. -- Richard Heyes HTML5

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread tedd
At 12:03 PM +0100 9/12/08, Stut wrote: On 12 Sep 2008, at 11:55, Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread tedd
At 2:57 PM +0200 9/12/08, Per Jessen wrote: Richard Heyes wrote: I use here-doc plus exec(sendmail). Why? Using heredocs is probably habit, but it's also easy, and I like keeping the email template in the code. I use exec(sendmail) because it allows me to set the Return-Path. For

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Stut
On 12 Sep 2008, at 18:00, tedd wrote: At 12:03 PM +0100 9/12/08, Stut wrote: On 12 Sep 2008, at 11:55, Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread tedd
At 6:47 PM +0100 9/12/08, Stut wrote: Chain saws make excellent playthings for 4 year olds*. -Stut Believe it or not, but when I was first introduced to my grand father, he gave me a baby rattlesnake to play with. My mother was horrified when she found out some time later and took it away

[PHP] PHP email

2008-07-31 Thread Richard Heyes
Hi, Can someone tell me what the address is to change my @php.net redirect? Thanks. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP email

2008-07-31 Thread Daniel Brown
On Thu, Jul 31, 2008 at 7:46 AM, Richard Heyes [EMAIL PROTECTED] wrote: Hi, Can someone tell me what the address is to change my @php.net redirect? Thanks. It's on the Master system. I'll send you the direct link to edit your profile in a Google chat. -- /Daniel P. Brown Better prices

[PHP] email issue

2008-03-14 Thread nihilism machine
here is my simple email lib: http://pastebin.com/m4d107c01 any idea why in the body i have a link with an = sign that gets replaced with a % sign? -e -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] email issue

2008-03-14 Thread Børge Holen
On Friday 14 March 2008 18:33:13 nihilism machine wrote: here is my simple email lib: http://pastebin.com/m4d107c01 any idea why in the body i have a link with an = sign that gets replaced with a % sign? -e read up on urlencode -- --- Børge Holen http://www.arivene.net -- PHP General

Re: [PHP] email with style (again)

2008-02-27 Thread Daniel Brown
On Tue, Feb 26, 2008 at 8:33 PM, tedd [EMAIL PROTECTED] wrote: Ok gang: What's wrong with the following code? [snip!] The placement was wrong with the content-type info, that's all. It should be in the headers, after your from/x-mailer/blah/blah/blah envelope information. Also, when

[PHP] email with style (again)

2008-02-26 Thread tedd
Ok gang: What's wrong with the following code? It sends the email OK, but nothing is styled. Where did I go wrong? Thanks, tedd --- code ?php $to = [EMAIL PROTECTED]; $body = make_mail(); $subject = Subject; $fromaddress = [EMAIL PROTECTED]; $fromname = tedd; send_mail($to, $body,

RE: [PHP] email with style (again)

2008-02-26 Thread Andrés Robinet
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 8:33 PM To: php-general@lists.php.net Subject: [PHP] email with style (again) Ok gang: What's wrong with the following code? It sends the email OK, but nothing is styled. Where did I

[PHP] [EMAIL PROTECTED]

2008-01-24 Thread Marek Zdybel
-- Fotograf Ślubny http://mzdybel.pl tel. 607 825 735 gg:4203195 skype: marek.zdybel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] email authentication

2007-12-22 Thread Afan Pasalic
Hi, I have to develop a little registration form. after the form is submitted confirmation email has to be sent to registrant. I use this function to send an email: function send_plain_email($to, $subject, $body) { $headers =MIME-Versin: 1.0\n . Content-type: text/plain;

Re: [PHP] email authentication

2007-12-22 Thread Stut
Afan Pasalic wrote: I have to develop a little registration form. after the form is submitted confirmation email has to be sent to registrant. I use this function to send an email: function send_plain_email($to, $subject, $body) { $headers =MIME-Versin: 1.0\n . Content-type:

[PHP] Email question

2007-10-31 Thread Jake
What is a =20 at the end of a line in an email? Is it some kind of whitespace line return or something? it only seems to appear when there is whitespace that is linewrapping. I have googled and googled for it, but havn't found anything yet. here's my function... buffer is a complete correctly

  1   2   3   4   5   6   >