[PHP] SMTP server

Newbie Spellweaver
Joined
Feb 11, 2009
Messages
19
Reaction score
0
Hi...

I want to send emails from a PHP script, but I lack the SMTP server, so I have been searching on the Internet for a while how to setup a local one, but I didn't find. I spent a lot of hours reading and reading, I installed a lot of programs, and nothing. I requested help from others, but, you know how it is. The problem is not the codes, since I tested on a free host and it worked.

So, if somebody wants to help me, please add me to your IM. Take mine from the profile. (Yahoo! is better, I check the MSN seldom)


Thanks in advance, skypper.
 
Here you guys go.Remember this is only for EDUCATIONAL PURPOSES ONLY!!! I take no responsibility to what you do with them! This is a long list.If you make a SMTP program,make the program load of severs.txt.By that means save all these to servers.txt,Will be easy for your program to load em.

209-9-133-3.sdsl.cais.net:25
acad.bryant.edu:25
acnm.msknet.co.kr:25
adam.pbp.pulawy.pl:25
aimos.imxa.gr:25
aimos.imxa.gr:25
alcor.unm.edu:25
aldus.northnet.org:25
all-yours.net:25
aloha.net:25
arl-mail-svc-1.compuserve.com:25
ativan.tiac.net:25
atlanta.com:25
awod.com:25
b0ng.org:25
billymchales.com:25
blackbird.afit.af.mil:25
brassie.golf.com:25
burger.letters.com:25
ccshst01.cs.uoguelph.ca:25
centerof.thesphere.com:25
cgc.collectiongroup.com:25
chollian.dacom.co.kr:25
clandjop.com:25
cnet.com:25
connect.reach.net:25
cordobamail.com.ar:25
cornell.edu:25
corp-bbn.infoseek.com:25
cps1.starwell.com:25
cs1.langley.af.mil:25
cyp-gw.cypnet.co.jp:25
dam.sfr.co.jp:25
dccgfex.steelcloud.com:25
ddi-server.ddi-cdroms.com:25
denise.dyess.af.mil:25
dex.for-seed.co.jp:25
dgis.dtic.dla.mil:25
dialup.ptt.ru:25
dns.aki-net.co.jp:25
donghu.elv.com.cn:25
dppiu.elcat.kg:25
earth.investmentpositions.com:25
ecis.com:25
ecojustice.or.kr:25
edumail.ladderedu.com.tw:25
eff.org:25
elmer.anders.com:25
emc-server.evamag.com.ph:25
erie.net:25
europe.std.com:25
exchange.ricsson.com:25
future.net:25
gate.pcn.net:25
gatekeeper.hampson-russell.com:25
germantown.k12.wi.us:25
grove.ufl.edu:25
guam.andersen.af.mil:25
hacker.com:25
hiwaay.net:25
hommer.com.tw:25
host.hazara.net.pk:25
host-2.xsoft-2.demon.nl:25
hwg.org:25
ids.net:25
imap.satyam.net.in:25
internet1.soyo.ac.jp:25
istar.ca:25
jahwa.com.cn:25
jaring.my:25
jeflin.tju.edu:25
kontakte-international.de:25
kroner.ucdavis.edu:25
localhost:25
lonepeak.vii.com:25
loyola.edu:25
lsk.pl:25
MAIL.AFS.COM.MT:25
mail.aiit.or.kr:25
mail.airmail.net:25
mail.atcon.com:25
mail.audionet.com:25
mail.bedroomone.com:25
mail.carpets.com:25
mail.ddiglobal.co.uk:25
mail.discovery.com:25
mail.geocities.com:25
mail.gottex.it:25
mail.heelbhi.com:25
mail.iaw.on.ca:25
mail.ideabay.co.kr:25
mail.kos-ts.co.jp:25
mail.mastec-ei-ga.com:25
mail.mcaa.gov.mn:25
mail.piret.be:25
mail.sankyoprocess.co.jp:25
mail.sbtc.re.kr:25
mail.sdc.com.tw:25
mail.tehua.com:25
mail.tfs.net:25
mail.wantree.com.au:25
mail.whitedk.com.br:25
mail.zipp.sk:25
mail.zsel1.krakow.pl:25
mail2.sas.upenn.edu:25
mailhub.sun-smi.com:25
mails.hyundai.lk:25
mail-server.dk-online.dk:25
mailserver.plvplus.net.ma:25
mail-sva.nomadic.co.jp:25
mail-sva.nomadic.co.jp:25
mcl.ucsb.edu:25
miami.linkstar.com:25
microserve.net:25
milo.cfw.com:25
mindspring.com:25
misl.mcp.com:25
misty.com:25
mit.edu:25
mnsi.net:25
mo2.emobile.co.kr:25
nc.namhae.ac.kr:25
nerv.qis.ca:25
netcreations.com:25
netforward.com:25
netspace.org:25
notes02.alwayslearning.com:25
notes1.chinawindow.com.tw:25
ns.ajis.co.jp:25
ns.net:25
ns.saimdang.or.kr:25
ns1.bryc.cl:25
ns2.nic-reg-dns.com:25
nss2.cc.lehigh.edu:25
nt01.icsa.co.uk:25
nty2.achem.com.tw:25
nvchost-gw.newvision.co.jp:25
nytimes.com:25
omega.novaprecisao.com.br:25
ovnet.com:25
palette.wcupa.edu:25
parasys.co.kr:25
pdx.sisna.com:25
pegase.cslacst-jean.qc.ca:25
pentagon.mil:25
plix.com:25
popmail.uc.edu:25
port97.dbc-sdb.dsl.cybercity.dk:25
princesa.florianonet.com.br:25
puma.cheetah.com:25
quartz.ebay.gnn.com:25
redstone.army.mil:25
scs.august.com:25
server.iadfw.net:25
server.ysmd.com.tw:25
server.ysmd.com.tw:25
server01.etcl.com.tw:25
server01prim.dokar.ru:25
silverspring.cybaaspace.net:25
sis-zeus.sville.edu.ph:25
sme-mail.sme.dk:25
smtp.gateway.net:25
smtp.hotpop.com:25
smtp.hotpop.com:25
springexch.springboardtech.com:25
student.uq.edu.au:25
succeed.net:25
toad.com:25
total.net:25
trilogy.usa.com:25
umassd.edu:25
unix.diisd.k12.mi.us:25
unix.newnorth.net:25
uno-systems.co.id:25
urvax.urich.edu:25
utrcgw.utc.com:25
valley.net:25
valley-internet.net:25
valleynet.com:25
vax1.acs.jmu.edu:25
vaxa.stevens-tech.edu:25
venus.earthlink.net:25
voyager.net:25
w3.org:25
wam.umd.edu:25
wbs.net:25
web.yzcatv.com.cn:25
webserver.kaeltereiss.de:25
wheel.dcn.davis.ca.us:25
wpgate.hqpacaf.af.mil:25
wpgate.misawa.af.mil:25
www.acc.af.mil:25
www.decoide.com:25
www.hickam.af.mil:25
www.ivts.com:25
www.jinx.dk:25
www.southfieldtech.com:25
www.tj.ro.gov.br:25
www.zimtrade.co.zw:25
xmail.daehong.co.kr:25
148.223.66.182:25
159.148.160.1:25
163.121.139.130:25
192.233.11.2:25
193.251.76.45:25
193.83.196.254:25
194.122.47.190:25
194.132.26.2:25
194.204.105.181:25
194.204.105.181:25
194.248.71.254:25
194.72.180.34:25
194.78.200.96:25
195.127.41.66:25
195.133.115.121:25
195.188.82.69:25
195.229.189.2:25
195.229.189.2:25
195.247.55.70:25
195.31.172.68:25
195.41.205.17:25
195.53.233.79:25
195.68.34.195:25
195.70.174.177:25
199.35.188.40:25
200.176.44.35:25
200.183.124.11:25
200.205.198.69:25
200.21.19.130:25
200.44.118.26:25
200.47.132.102:25
200.55.30.168:25
200.60.71.179:25
202.100.27.136:25
202.101.118.198:25
202.106.113.131:25
202.120.189.112:25
202.122.197.18:25
202.163.124.43:25
202.177.10.231:25
202.21.38.26:25
202.85.191.142:25
203.134.5.230:25
203.144.249.232:25
203.22.187.132:25
203.53.197.131:25
203.69.33.1:25
207.236.94.228:25
207.243.92.4:25
208.214.220.66:25
208.222.219.21:25
208.36.74.134:25
209.108.192.33:25
209.128.41.9:25
209.144.202.130:25
209.144.202.131:25
209.144.202.132:25
209.144.202.134:25
209.144.202.135:25
209.15.191.209:25
209.186.255.96:25
209.242.141.249:25
209.242.141.249:25
209.71.49.126:25
210.106.136.11:25
210.106.231.132:25
210.176.111.125:25
210.19.82.5:25
210.200.248.128:25
210.226.163.115:25
210.64.112.100:25
210.64.112.13:25
210.64.112.16:25
210.64.112.21:25
210.64.112.22:25
210.64.27.21:25
210.90.123.221:25
210.96.39.101:25
210.96.39.101:25
211.112.5.91:25
211.161.152.58:25
211.218.149.17:25
211.22.27.12:25
211.22.80.198:25
211.23.81.34:25
211.63.68.34:25
211.96.97.10:25
212.126.20.162:25
212.135.23.2:25
212.242.166.237:25
212.71.131.101:25
212.75.77.60:25
213.191.142.195:25
213.48.47.108:25
213.56.84.65:25
216.113.57.12:25
216.190.66.127:25
216.217.150.2:25
216.81.227.163:25
24.230.31.236:25
24.230.31.236:25
4.3.222.222:25
61.132.0.226:25
62.146.25.138:25
63.113.11.11:25
63.193.146.235:25
63.85.41.195:25
63.98.9.2:25
64.0.56.3:25
64.231.233.137:25
64.7.59.52:25
64.76.129.179:25
64.76.129.18:25
64.76.129.63:25
64.80.22.163:25
 
Hai, actually i'm afraid you cannot write and smtp server directly in php, what you can write is of course a lib that will connect and send mails from specified server or you can download a local smtp server, that's designed for php or any other language.

So for windows you can download for example this program: http://www.softaward.com/1036.html it will work as local smtp server

Linux/Macs or any other *nix relative systems have built-in sendmails

If you want to use an external smtp server, for example you want to send emails by your gmail from your website, you muse write a lib or download a free one, personally i recommend PHPMailer, very nice phpclass that has bulit-in functions to send emails via, smtp, sendmails etc. This class is very easy to use and has a lot of handy options.

Good luck,
Adam.
 
Back