Mail Function In PHP
am 07.03.2010 05:54:17 von kannan
Hello
I am creating a application for our college using the
php.In that i want to send mail to all who are all the list.
For that i am just simply use the mail function in php without
configuring any mail system in the system.But the mail didn't send.
For sending the mails wat are requirements and if u have any tutorials
send it to me?
Thanks..
--
With regards,
Kannan. R. P,
Blog @: http://kannan4k.wordpress.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 07.03.2010 06:03:37 von Devendra Jadhav
--001636e1ef9d13277b04812edfd4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
You need SMTP Server for this..
Read bellow link to know more how to configure SMTP Server in PHP
http://email.about.com/od/emailprogrammingtips/qt/Configure_ PHP_to_Use_a_Re=
mote_SMTP_Server_for_Sending_Mail.htm
emote_SMTP_Server_for_Sending_Mail.htm>
On Sun, Mar 7, 2010 at 10:24 AM, Kannan wrote:
> Hello
> I am creating a application for our college using the
> php.In that i want to send mail to all who are all the list.
>
> For that i am just simply use the mail function in php without
> configuring any mail system in the system.But the mail didn't send.
> For sending the mails wat are requirements and if u have any tutorials
> send it to me?
>
> Thanks..
>
>
>
>
>
>
>
>
>
>
> --
> With regards,
>
> Kannan. R. P,
> Blog @: http://kannan4k.wordpress.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--=20
Devendra Jadhav
दà¥à¤µà¥à¤à¤¦à¥ र =
à¤à¤¾à¤§à¤µ
--001636e1ef9d13277b04812edfd4--
Re: Mail Function In PHP
am 07.03.2010 07:10:43 von Kevin Kinsey
Kannan wrote:
> Hello
> I am creating a application for our college using the
> php.In that i want to send mail to all who are all the list.
>
> For that i am just simply use the mail function in php without
> configuring any mail system in the system.But the mail didn't send.
> For sending the mails wat are requirements and if u have any tutorials
> send it to me?
>
> Thanks..
Hello,
Read the manual page for the mail() function ...
http://www.php.net/mail
Mail() requires an operating SMTP server. This can be set
in php.ini, and possibly via the ini_set() function. These
might be worth looking into:
$config1=ini_set(sendmail_path,"/usr/sbin/sendmail -t -i");
$config2=ini_set(SMTP,"localhost");
$config3=ini_set(smtp_port,25);
If you absolutely can't run an SMTP server or use a
remote server, you'd probably have to hack something
together with sockets or streams.
My $0.02,
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 07.03.2010 19:21:33 von Al
Use the Pear Mail package. In particular the smtp class.
It will save you much grief and time.
On 3/6/2010 11:54 PM, Kannan wrote:
> Hello
> I am creating a application for our college using the
> php.In that i want to send mail to all who are all the list.
>
> For that i am just simply use the mail function in php without
> configuring any mail system in the system.But the mail didn't send.
> For sending the mails wat are requirements and if u have any tutorials
> send it to me?
>
> Thanks..
>
>
>
>
>
>
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 08.03.2010 11:21:53 von Richard Quadling
On 7 March 2010 04:54, Kannan wrote:
> Hello
> Â Â Â Â Â I am creating a application for our co=
llege using the
> php.In that i want to send mail to all who are all the list.
>
> For that i am just simply use the mail function in php without
> configuring any mail system in the system.But the mail didn't send.
> For sending the mails wat are requirements and if u have any tutorials
> send it to me?
>
> Thanks..
>
>
>
>
>
>
>
>
>
>
> --
> With regards,
>
> Kannan. R. P,
> Blog @: http://kannan4k.wordpress.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Contrary to popular belief, to send an email you do not need to have
your own SMTP server. All you need to know is the SMTP server
responsible for your recipients email.
This information is held as part of the domain registration details
and is known as the MX records (as I understand it).
PHP has a function called getmxrr() [1]. This allows you to supply a
domain name and get back the list of MX records suitable for handling
the SMTP mail.
This function wasn't available on Windows until recently, and I
created a userland version utilising Windows nslookup.exe program [2].
So, once you've got the list of SMTP servers for the domain you are
sending email to, you can use the ini_set('SMTP', 'xxxxxx'); function
to set the server to handle the mail() call you are about to make.
Upside : No local SMTP server - you are not responsible for
maintaining/administering/etc. any aspect of the SMTP process.
Upside : If the mail() call fails, you can try the other MX records (I
tend to sort the results based upon weight and try them in sequence).
If it fails all of them, you know straight away and can deal with it.
Upside : No relaying. No permission issues to worry about. You are
simply talking to the public SMTP servers just like any other SMTP
server or sender.
Downside : No queuing. Without a _LOCAL_ SMTP server, you can only
deal with sending email in real time.
Downside : One domain at a time. You cannot send email to
a@domain1.com, b@domain2.com _AND_ c@domain3.com in the 1 email.
None of these steps affect the use of mail() or a mail sending class
(phpmailer, RMail, html_mime_mail5, etc.).
Regards,
Richard.
[1] http://docs.php.net/getmxrr
[2] http://docs.php.net/getmxrr#53182
Richard.
--=20
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=3DZEND002498&r=3D213474=
731
ZOPA : http://uk.zopa.com/member/RQuadling
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 08.03.2010 14:06:29 von Teus Benschop
On Mon, 2010-03-08 at 10:21 +0000, Richard Quadling wrote:
> Contrary to popular belief, to send an email you do not need to have
> your own SMTP server. All you need to know is the SMTP server
> responsible for your recipients email.
[...]
While the above is true, there is also another thing that comes into
play. We used to send email directly to the receiver the way described
above. But at times it happens that the receiving smtp server refuses to
accept mail from the sender since the sender is not known to be a good
smtp server, and at times it could get blacklisted. Rules like this get
tightened up because of the desire to curb spam at the source.
Teus.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 08.03.2010 18:17:19 von Richard Quadling
On 8 March 2010 13:06, Teus Benschop wrote:
>
> On Mon, 2010-03-08 at 10:21 +0000, Richard Quadling wrote:
> > Contrary to popular belief, to send an email you do not need to have
> > your own SMTP server. All you need to know is the SMTP server
> > responsible for your recipients email.
> [...]
>
> While the above is true, there is also another thing that comes into
> play. We used to send email directly to the receiver the way described
> above. But at times it happens that the receiving smtp server refuses to
> accept mail from the sender since the sender is not known to be a good
> smtp server, and at times it could get blacklisted. Rules like this get
> tightened up because of the desire to curb spam at the source.
>
> Teus.
Black listing can happen even for valid domains.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 08.03.2010 18:18:21 von Richard Quadling
On 8 March 2010 13:06, Teus Benschop wrote:
> On Mon, 2010-03-08 at 10:21 +0000, Richard Quadling wrote:
>> Contrary to popular belief, to send an email you do not need to have
>> your own SMTP server. All you need to know is the SMTP server
>> responsible for your recipients email.
> [...]
>
> While the above is true, there is also another thing that comes into
> play. We used to send email directly to the receiver the way described
> above. But at times it happens that the receiving smtp server refuses to
> accept mail from the sender since the sender is not known to be a good
> smtp server, and at times it could get blacklisted. Rules like this get
> tightened up because of the desire to curb spam at the source.
>
> Teus.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
So, say I did go and setup a local SMTP relay, how would I make it
known that it was a "real" smtp server and not just some script
pushing spam?
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 08.03.2010 18:18:59 von Ashley Sheridan
--=-6QTnMewv57HdsrhEBnDZ
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Mon, 2010-03-08 at 17:18 +0000, Richard Quadling wrote:
> On 8 March 2010 13:06, Teus Benschop wrote:
> > On Mon, 2010-03-08 at 10:21 +0000, Richard Quadling wrote:
> >> Contrary to popular belief, to send an email you do not need to have
> >> your own SMTP server. All you need to know is the SMTP server
> >> responsible for your recipients email.
> > [...]
> >
> > While the above is true, there is also another thing that comes into
> > play. We used to send email directly to the receiver the way described
> > above. But at times it happens that the receiving smtp server refuses to
> > accept mail from the sender since the sender is not known to be a good
> > smtp server, and at times it could get blacklisted. Rules like this get
> > tightened up because of the desire to curb spam at the source.
> >
> > Teus.
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> So, say I did go and setup a local SMTP relay, how would I make it
> known that it was a "real" smtp server and not just some script
> pushing spam?
>
>
>
> --
> -----
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>
By having your local relay talk seductively to the remote server?
More sensibly though, I would assume that you could use some sort of
certificate for this, although I don't know much about mail servers.
Thanks,
Ash
http://www.ashleysheridan.co.uk
--=-6QTnMewv57HdsrhEBnDZ--
Re: Mail Function In PHP
am 08.03.2010 18:31:04 von Marc Trudel
--0016e6d58ca204c9bf04814d6efd
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
If you control your DNS server setup and such, DKIM and authentication
technologies alikes (http://en.wikipedia.org/wiki/DomainKeys) are the way t=
o
go.
Also, make sure the reverse DNS lookup is pointing to the right place, i.e.
that the SMTP server domain name translates to an IP that translates back t=
o
the same domain name when you do a reverse lookup.
Since this is really something more of a network arch. setup, you probably
will find more answers for that on ServerFault or the likes.
MT
On Tue, Mar 9, 2010 at 2:18 AM, Ashley Sheridan w=
rote:
> On Mon, 2010-03-08 at 17:18 +0000, Richard Quadling wrote:
>
> > On 8 March 2010 13:06, Teus Benschop wrote:
> > > On Mon, 2010-03-08 at 10:21 +0000, Richard Quadling wrote:
> > >> Contrary to popular belief, to send an email you do not need to have
> > >> your own SMTP server. All you need to know is the SMTP server
> > >> responsible for your recipients email.
> > > [...]
> > >
> > > While the above is true, there is also another thing that comes into
> > > play. We used to send email directly to the receiver the way describe=
d
> > > above. But at times it happens that the receiving smtp server refuses
> to
> > > accept mail from the sender since the sender is not known to be a goo=
d
> > > smtp server, and at times it could get blacklisted. Rules like this g=
et
> > > tightened up because of the desire to curb spam at the source.
> > >
> > > Teus.
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> > So, say I did go and setup a local SMTP relay, how would I make it
> > known that it was a "real" smtp server and not just some script
> > pushing spam?
> >
> >
> >
> > --
> > -----
> > Richard Quadling
> > "Standing on the shoulders of some very clever giants!"
> > EE : http://www.experts-exchange.com/M_248814.html
> > EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
> > Zend Certified Engineer :
> http://zend.com/zce.php?c=3DZEND002498&r=3D213474731
> > ZOPA : http://uk.zopa.com/member/RQuadling
> >
>
>
> By having your local relay talk seductively to the remote server?
>
> More sensibly though, I would assume that you could use some sort of
> certificate for this, although I don't know much about mail servers.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>
--=20
Marc Trudel-B=E9lisle
www.wizcorp.jp
--0016e6d58ca204c9bf04814d6efd--
Re: Mail Function In PHP
am 08.03.2010 18:41:50 von Teus Benschop
On Mon, 2010-03-08 at 17:18 +0000, Richard Quadling wrote:
> So, say I did go and setup a local SMTP relay, how would I make it
> known that it was a "real" smtp server and not just some script
> pushing spam?
>=20
>=20
Once a domain or ip address was black listed, it was quite a process to
get it unlisted again, and even then as soon as mail came from that
domain, it got blacklisted again. Supposedly there is some certification
process that official smtp relays need to go through so as to prove or
certify that they won't allow spam to be sent through them, and take
steps to remove offenders from using their relay. However, this is all
guessing, and in the end we just gave up and used our ISP's official
relay. Teus.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 08.03.2010 22:45:02 von Skylinux
On 03/08/2010 06:18 PM, Richard Quadling wrote:
> On 8 March 2010 13:06, Teus Benschop wrote:
>> On Mon, 2010-03-08 at 10:21 +0000, Richard Quadling wrote:
>>> Contrary to popular belief, to send an email you do not need to have
>>> your own SMTP server. All you need to know is the SMTP server
>>> responsible for your recipients email.
>> [...]
>> above. But at times it happens that the receiving smtp server refuses to
>> accept mail from the sender since the sender is not known to be a good
>> smtp server, and at times it could get blacklisted. Rules like this get
>> tightened up because of the desire to curb spam at the source.
>>
>> Teus.
> So, say I did go and setup a local SMTP relay, how would I make it
> known that it was a "real" smtp server and not just some script
> pushing spam?
You can use SPF, DomainKeys plus valid DNS information.
I have setup SPF records for my domains. If you attempt to send E-Mail
as if it was sent from my server then any server doing SPF record
checking will not accept or simply drop your message.
I have not setup DomainKeys since SPF has served me well but I will
configure it soon.
--
John
Insanity in individuals is something rare - but in groups, parties,
nations and epochs, it is the rule.
[Friedrich Nietzsche]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 08.03.2010 22:52:24 von Skylinux
On 03/08/2010 10:45 PM, John Black wrote:
> You can use SPF, DomainKeys plus valid DNS information.
> I have setup SPF records for my domains. If you attempt to send E-Mail
> as if it was sent from my server then any server doing SPF record
> checking will not accept or simply drop your message.
> I have not setup DomainKeys since SPF has served me well but I will
> configure it soon.
woops, forgot to add that I doubt that you'll be able to get a pure
webserver to do this for you, reliably, since some smtp servers will
call your server back and check if the e-mail account exists. I'd assume
that the server will drop the mail if your script sending server is not
even running smtp on port 25.
--
John
Niemand ist frei, der über sich selbst nicht Herr ist.
[Matthias Claudius]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Mail Function In PHP
am 08.03.2010 23:58:28 von james stojan
QW55IHZvbHVtZSBvZiBtYWlsIHNlbnQgZGlyZWN0IHRvIG14IHJlY29yZHMg aXMgYSByZWQgZmxh
ZyBmb3IgYW50aSBzcGFtbWVycyBhbmQgd2l0aG91dCBhbiBzbXRwIHNwZiBk a2ltIGFuZCByZG5z
IHlvdSBhcmUgd2FzdGluZyB5b3VyIHRpbWUuIFRoZSBsb2dpYyBpcyB0aGF0 IG9ubHkgcGVvcGxl
IHNlbmRpbmcgc3BhbSB3b3VsZCBiZSBzZW5kaW5nIGRpcmVjdCB0byBteCBs aWtlIHRoYXQuIEZh
aXIgb3Igbm90IHRoYXQgaXMganVzdCBob3cgbGlmZSB3b3Jrcy4gT2ggYW5k IG1vc3QgbWFpbCBz
ZXJ2ZXJzIGRvIGNoZWNrIHJkbnMgc3BmIGV0Yy4gDQoNCkl0IGlzIGtpbmQg b2YgcG9pbnRsZXNz
IHRvIHNlbmQgZW1haWxzIGlmIHRoZXkgZW5kIHVwIGluIHRoZSBzcGFtIGZv bGRlciBvciB3b3Jz
ZSBkb24ndCBnZXQgZGVsaXZlcmVkIGF0IGFsbC4gRG8gaXQgcmlnaHQgdGhl IGZpcnN0IHRpbWUg
dXNlIGFuIHNtdHAgcmRucyBhbmQgc3BmIGF0IHRoZSB2ZXJ5IGxlYXN0LiAN Cg0KDQpTZW50IHZp
YSBCbGFja0JlcnJ5IGZyb20gVC1Nb2JpbGUNCg0KLS0tLS1PcmlnaW5hbCBN ZXNzYWdlLS0tLS0N
CkZyb206IFJpY2hhcmQgUXVhZGxpbmcgPHJxdWFkbGluZ0Bnb29nbGVtYWls LmNvbT4NCkRhdGU6
IE1vbiwgOCBNYXIgMjAxMCAxMDoyMTo1MyANClRvOiBLYW5uYW48a2FubmFu NGtAZ21haWwuY29t
Pg0KQ2M6IDxwaH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ZiBtYWlsKCkgb3IgYSBtYWlsIHNlbmRpbmcgY2xhc3MNCihwaHBtYWlsZXIs IFJNYWlsLCBodG1s
X21pbWVfbWFpbDUsIGV0Yy4pLg0KDQpSZWdhcmRzLA0KDQpSaWNoYXJkLg0K DQpbMV0gaHR0cDov
L2RvY3MucGhwLm5ldC9nZXRteHJyDQpbMl0gaHR0cDovL2RvY3MucGhwLm5l dC9nZXRteHJyIzUz
MTgyDQoNClJpY2hhcmQuDQoNCi0tIA0KLS0tLS0NClJpY2hhcmQgUXVhZGxp bmcNCiJTdGFuZGlu
ZyBvbiB0aGUgc2hvdWxkZXJzIG9mIHNvbWUgdmVyeSBjbGV2ZXIgZ2lhbnRz ISINCkVFIDogaHR0
cDovL3d3dy5leHBlcnRzLWV4Y2hhbmdlLmNvbS9NXzI0ODgxNC5odG1sDQpF RTRGcmVlIDogaHR0
cDovL3d3dy5leHBlcnRzLWV4Y2hhbmdlLmNvbS9iZWNvbWVBbkV4cGVydC5q c3ANClplbmQgQ2Vy
dGlmaWVkIEVuZ2luZWVyIDogaHR0cDovL3plbmQuY29tL3pjZS5waHA/Yz1a RU5EMDAyNDk4JnI9
MjEzNDc0NzMxDQpaT1BBIDogaHR0cDovL3VrLnpvcGEuY29tL21lbWJlci9S UXVhZGxpbmcNCg0K
LS0NClBIUCBHZW5lcmFsIE1haWxpbmcgTGlzdCAoaHR0cDovL3d3dy5waHAu bmV0LykNClRvIHVu
c3Vic2NyaWJlLCB2aXNpdDogaHR0cDovL3d3dy5waHAubmV0L3Vuc3ViLnBo cA0KDQo=
Re: Mail Function In PHP
am 10.03.2010 11:18:08 von Michael Kubler
Having worked at a decent sized, respectable ISP with 100,000+ customers
sending email via Iron Ports (email scanners), even they would get put
on a blacklist on a monthly basis. Hell it wouldn't surprise me if
Gmail's SMTP servers got put on a black list at some point.
There's seemingly hundreds of blacklists and whilst some play nice,
others are very paranoid.
Usually the good email servers will detect your on a blacklist then rate
limit the number of emails it'll accept from you. If you keep pissing it
off, by sending emails to non-existant addresses (something they REALLY
hate), sending emails that are too big, or simply sending too many
emails or emails with too many recipients, then it'll tighten the
restrictions. Over time if your good then those restrictions will be
released and eventually you'll be able to send at normal rates.
--
Michael Kubler
I believe in a better world. I support the Zeitgeist Movement --
www.zeitgeistaustralia.org
Teus Benschop wrote:
>
> Once a domain or ip address was black listed, it was quite a process to
> get it unlisted again, and even then as soon as mail came from that
> domain, it got blacklisted again. Supposedly there is some certification
> process that official smtp relays need to go through so as to prove or
> certify that they won't allow spam to be sent through them, and take
> steps to remove offenders from using their relay. However, this is all
> guessing, and in the end we just gave up and used our ISP's official
> relay. Teus.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php