Jump to content

Php Mail(); Function


Edscript

Recommended Posts

I am taking the beginners php course and we (me and the video) are using the mail(); command or statement.

I get an error on my WAMP (this is not a swear word or indescent part of ones body - its free server software),

that it failed to connect to mail server, and that I should verify my STMP.

 

Can a person change their STMP? How does one get to the STMP value (it does say finderhost not localhost if that is the problem);

or do I need a mail plug in?

 

Anyway for the classes I just print it to the screen but it would have been fun to email to my email.

 

And yes I know I could use the mailto: atrribute in the form action attribute if I wanted to see the code in an email but that's not the point -

I would like to test out the php scripting and functionality if not to complicated.

 

I am totally green at this so pardon my ignorance, thanks

Link to comment
Share on other sites

It has been a while sense I have had to do it. But when using wamp or mamp you need to add some some code to the htdocs folder to sit up mamp or wamp to be abel to send e-mail from within it. Check the documentation for wamp it should be in there somewhere.

 

I am sending you a massage to help you with this. I can not put it here, as Miss Andrea will zap my link.

Link to comment
Share on other sites

If it's a helpful link to an outside resource, I doubt it will be zapped. The links that tend to get zapped are the ones that seem to be spam or obvious self promotion.

 

Well I finally got the inspiration (grabenair inspired me to search a bit deeper) to seek out what might be missing to send mail with my WAMP server.

 

And we will also see if this link gets zapped by the system, but this post seems to imply one does need a STMP server or mail client to go with tha WAMP. Its from w_w w stackoverflow dot com

 

http://stackoverflow...erver-using-php

 

If anyone knows of another way let me know! Anyway I am going to study these posts myself because I haven't really gotten into reading them yet.

 

But thanks so much for the response, I am so in the dark with this stuff so far.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...