PHP School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a PHP Expert!

Join 307,103 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,999 people online right now. Registration is fast and FREE... Join Now!




Mail()

 

Mail()

Rating  5
noorahmad

3 Jun, 2009 - 08:44 PM
Post #1

Webmaster
Group Icon

Joined: 12 Mar, 2009
Posts: 2,087



Thanked: 142 times
Dream Kudos: 1350
My Contributions
every one is in problem with this function sometimes me too, and i have a few questions about this function
is it depending on server that we are uploading our website. some time works and some time fails
are we missing some point to complete.

when i send an email to official email it return true but i can't receive email why?

User is offlineProfile CardPM
+Quote Post


no2pencil

RE: Mail()

3 Jun, 2009 - 08:48 PM
Post #2

i R L33t Skiddie, k?
Group Icon

Joined: 10 May, 2007
Posts: 13,492



Thanked: 303 times
Dream Kudos: 2875
Expert In: Goofing Off

My Contributions
QUOTE(noorahmad @ 3 Jun, 2009 - 10:44 PM) *

when i send an email to official email it return true but i can't receive email why?

Because the mail function sent the mail. It doesn't validate that the email server actually did anything with it, or it can't validate if the email was received.

Basic vs SMTP Direct & it should make it a little easier to understand.
User is online!Profile CardPM
+Quote Post

noorahmad

RE: Mail()

5 Jun, 2009 - 10:35 PM
Post #3

Webmaster
Group Icon

Joined: 12 Mar, 2009
Posts: 2,087



Thanked: 142 times
Dream Kudos: 1350
My Contributions
thanks for your reply.
User is offlineProfile CardPM
+Quote Post

SpaceMan

RE: Mail()

23 Jun, 2009 - 02:08 PM
Post #4

D.I.C Addict
Group Icon

Joined: 20 Feb, 2003
Posts: 507

is a php class i use for years works great.
http://phpmailer.sourceforge.net/

User is offlineProfile CardPM
+Quote Post

ShaneK

RE: Mail()

23 Jun, 2009 - 08:22 PM
Post #5

require_once("brain.php"); //Fatal error :/
Group Icon

Joined: 10 May, 2009
Posts: 701



Thanked: 47 times
Dream Kudos: 75
Expert In: PHP, MySQL

My Contributions
QUOTE(SpaceMan @ 23 Jun, 2009 - 03:08 PM) *

is a php class i use for years works great.
http://phpmailer.sourceforge.net/


Wow, that's actually really awesome. I started using it on a project of mine in order to send emails to domains who normally didn't take too kindly too my emails (Lookin' at you, Yahoo Mail) with gmail...it's really awesome XD

Yours,
Shane~
User is offlineProfile CardPM
+Quote Post

AldoT

RE: Mail()

23 Jul, 2009 - 02:39 PM
Post #6

New D.I.C Head
*

Joined: 23 Jul, 2009
Posts: 4

Some times it depeds of the server, the php.ini can disable the mail() function, at the same time you need to have real headers so it goes directly to inbox, else it will be spam and in some cases it won't even be accepted.

Still Hotmail has the worst security of all with a simple mail from other place it will go to inbox

I have done this using other peoples mails like
"yourbestfriend@gmail.com" to "mymail@hotmail.com" and it goes directly to inbox lol

Still if you are paying for a server I recomend you to use real server headers since that way you will be able to be 100% on inbox while you don't start spamming
User is offlineProfile CardPM
+Quote Post

zak

RE: Mail()

7 Oct, 2009 - 02:31 PM
Post #7

New D.I.C Head
*

Joined: 6 Aug, 2008
Posts: 4

QUOTE(noorahmad @ 3 Jun, 2009 - 08:44 PM) *

every one is in problem with this function sometimes me too, and i have a few questions about this function
is it depending on server that we are uploading our website. some time works and some time fails
are we missing some point to complete.

when i send an email to official email it return true but i can't receive email why?


I think it goes in SPAM plz check SPAM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 12:27PM

Live PHP Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month