[FX.php List] Re-Best simple email code?
Masayuki Nii
msyk at msyk.net
Sat Jan 28 22:52:12 MST 2012
That's right. It' not always true that Windows has any kind of SMTP server.
So mail function of PHP can't always work.
On PHP, mail function is not recommended. I recommend to use with library or
framework for sending mail.
Nick <whatdoyouwant at gmail.com> さんが、2012/1/29 6:15:12に送られた
---“Re: [FX.php List] Best simple email code?”によりますと
> running on windows? did you set up the smtp host settings in php.ini ?
>
> On Tue, Jan 24, 2012 at 4:23 PM, Denis Somar <dsomar at gmail.com> wrote:
>
> > Hi there,
> >
> > I'm trying to send a primitive email to my phone (via text) and nothing
> > seems to work. Anyone know if this is a FM11SA issue?
> >
> > Code is pretty simple:
> >
> > $txt = "Quote #".$quote." submitted.";
> > $headers = "From: me at email.com";
> > mail("myphone at txt.att.net","New quote",$txt, $headers);
> >
> > TIA,
> > Denis
> >
> > _______________________________________________
> > FX.php_List mailing list
> > FX.php_List at mail.iviking.org
> > http://www.iviking.org/mailman/listinfo/fx.php_list
> >
> >
>
>
_______________________________________________________________
Masayuki Nii/Masayuki Nii <msyk at msyk.net> <msyk at mac.com>:iChat Ready
Web Site <http://msyk.net> / INTER-Mediator [for Web App] http://msyk.net/im
Twitter: @msyknii (Japanese), @MasayukiNii (English) / Facebook: Masayuki Nii
More information about the FX.php_List
mailing list