Reply to [Fwd: Re: [PHP] email through PHP]

Your name:

Reply:


Posted by Balwant Singh on 04/21/05 09:23

thanks to all for the kind support.

i resolved the problem, i would like to share the same with you:-

1. made the changes in php.ini (gave sendmail path)
2. gave my smtp server ip address and name in /etc/hosts file
3. gave my smtp server name in /etc/mail/sendmail.mc file
4. then made sendmail.cf file from sendmail.mc file.

now i am able to send the mail to outside through PHP. pls feel free to
give your suggestion on the above.

once again thanks to all

with best wishes
balwant


-----Forwarded Message-----

From: Balwant Singh <balwantsingh@indoasian.com>
To: angelo@zlogic.co.za
Cc: Ken <kenkam@gmail.com>, php-general@lists.php.net
Subject: Re: [PHP] email through PHP
Date: 19 Apr 2005 17:15:11 +0530

thanks for your email,

i read the manual and already tried the setting as told by you but its
not working.

i would like to again inform that i want to send email through PHP which
is on a linux machine and our Company SMTP sever is on Windows Machine.
i am certain the somebody has already tested it and can give me
solution. pls help.



with best wishes
balwant


On Tue, 2005-04-19 at 17:20, Angelo Zanetti wrote:
> why dont you read the manual, thats what its for.
> I know you can specify your smtp server setttings in your php.ini
> file.
> so just set your smtp to the windows server address
>
> from PHP.ini
>
> [mail function]
> ; For Win32 only.
> SMTP = smtp.myserver.com ; for Win32 only
>
> ; For Win32 only.
> sendmail_from = me@myserver.com; for Win32 only
>
> ; For Unix only. You may supply arguments as well (default: "sendmail
> -t -i").
> ;sendmail_path =
>
> hope this helps
>
> Angelo Zanetti
> Z Logic
> [c] +27 72 441 3355
> [t] +27 21 464 1363
> [f] +27 21 464 1371
> www.zlogic.co.za
>
> Balwant Singh wrote:
> > i want to use the SMTP server which is already exists.
> > pls. give more details..........
> >
> > with best wishes
> > balwant
> >
> > On Tue, 2005-04-19 at 15:59, Ken wrote:
> >
> > > On 19 Apr 2005 15:04:08 +0530, Balwant Singh <balwantsingh@indoasian.com> wrote:
> > >
> > > > hi,
> > > >
> > > > I am using FEDORA 3 and PHP. I want to send email to outside by my above
> > > > mentioned linux machine through PHP. For this i want to use my SMTP
> > > > sever, which is on a WINDOWS machine
> > > >
> > > > Please inform what setting to be done in php.ini or any other file to
> > > > send the email.
> > > >
> > > > with best wishes
> > > > balwant
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> > > >
> > >
> > > erm, isn't it easier to have the smtp on your fedora box instead...?
> > >
> >
> >

[Back to original 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

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