Page 1 of 1
Mail () function
Posted: Mon Jul 26, 2004 10:05 pm
by dakkonz
I have a problem...I used the mail() function and it takes about 15-20 mins for the mail to be delivered.... is there anyway to confirm that the mail has been sent??? Anybody knows wat could be the cause of the problem??
Posted: Mon Jul 26, 2004 10:35 pm
by kettle_drum
It takes time for the email to be recieved. Im pretty sure there is a priority flag that can be set as a header which is ment to speed things up a bit. Its hard to know when the email has arrived, but in the past ive included a request for a blank image/style sheet/javascript page inside of the email so that i know when the user has opened the email mail - the external script just logs the fact its been included and with a unique id you can tell which email its from.
Posted: Mon Jul 26, 2004 11:48 pm
by dakkonz
okiez... I dun quite get wat u mean by inserting a blank image/style sheet/javascript page to inform yourself when the user opened the email mail?? can elaborate???
Posted: Tue Jul 27, 2004 12:49 am
by ol4pr0
when you add an image into youre mail it wont be downloaded untill he receiving party is actually opening the mail. only at that time will the image be downloaded from the website.. also means that rec. party opend his mail.. andso received it
Posted: Tue Jul 27, 2004 1:24 am
by John Cartwright
Wow that is genious.....prolly how the spammers know your email acc is active !

Posted: Tue Jul 27, 2004 1:27 am
by ol4pr0
lol, well just explaining the what and hows.
my mail account who cares.. specially for forums and other non personal use

not in local \
Posted: Tue Jul 27, 2004 7:20 am
by dakkonz
okie thanks wow learned a lot here...shall go try it out..thanks man
Posted: Tue Jul 27, 2004 9:49 am
by AGISB
Don't trust the image solution. Many mail progs turn images of by default nowadays. If the mail prog doesn't accept images it gets never opened and all was for nothing.
The time an email needs to be delivered is mainly the time your ISP or Mail server needs to send it and the time for the recipient mail server to accept it.
I run my own mail server and it sends mails out in an blink of an eye. If you use a public server it might take hours. Some even collect the mail to send it when the network usage is low etc. On the receiving side spam filters, virus scanners, FBI reading your meail etc take time to accept mail but it shouldn't be as bad as the time a sending ISP needs.