You are here: Re: test mail() on development machine w/o smtp server « PHP Programming Language « IT news, forums, messages
Re: test mail() on development machine w/o smtp server

Posted by William Gill on 06/17/07 21:36

That's a thought! It still means going to mail to see the result, but
using IMAP I could leave that window open while I test.

I just have to remember to always use the my_mail() wrapper instead of
mail().

Thanks,

Bill


Rik wrote:
> On Sun, 17 Jun 2007 18:58:34 +0200, William Gill <noreply@gcgroup.net>
> wrote:
>
>> That works, but then I need to go pull the email (assuming I was on
>> the original distribution) and verify everything was as expected. If
>> I could simulate the smtp server I could check te format and content
>> regardless of who it's actually sent to.
>>
>
> Or you could 'override' the 'to' (CC/BCC) fields in you
> my_mail()-function, so it'll always be sent to you, possibly with the
> original emailadresses in another header/in the content.
>
>
> --Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация