SRL Archive - Web Development

How would I make a mailer on my website, simplest of all.


ShowerThoughts

2009-03-28 14:43:56

Hey,

I want a mail thing on my website, I would like that 2 boxes (text boxes)
get send to my mail. It just haves to work. I tried smtp shit never worked for me.
I don't care which email provider it is. If it just works :D.
2 text boxes and on button click sends a mail with the 2 boxes.
and a body(with the mail)

Thank you!
Hermpie

ShowerThoughts

2009-03-28 19:00:07

I have this (see attachment)
It's my school's website I want to send the user and pass to an email adress.
It's for a prank. and I still need the mailing. (so people can send me requests on my website)
I found out that the "textboxes" wu_loginname en wu_password are contain the 2 values which I want to send.

Wizzup?

2009-03-28 19:01:08

http://nl3.php.net/manual/en/function.mail.php

You should really use google more often…

ShowerThoughts

2009-03-28 19:02:08

I found out to mail, I just don't know how to get the values into that mail. because I don't code php or html.
The point is, DO I need to insert Smtp information because I see non-emailhosterinformation mailers but do they work?

Wizzup?

2009-03-28 19:04:17

From: Hermpie
I found out to mail, I just don't know how to get the values into that mail. because I don't code php or html.


If you don't know HTML then you can't code a website.
If you don't know PHP then you can't easily send a mail. It's that simple.
Google could have told you that too. ;)

ShowerThoughts

2009-03-28 19:11:23

Oops did I say HTML? Lol sorry, yes I can.
I mean this : http://www.110mb.com/forum/howto-send-emails-using-phpmailer-and-gmail-t14144.0.html

I understand all the code it is easy -.-
It's just how to implent it into the index2.html(posted above)
This sends a email. but the body of the mail has to contain wu_loginname wu_password

Wizzup?

2009-03-28 19:18:37

From: Hermpie
Oops did I say HTML? Lol sorry, yes I can.
I mean this : http://www.110mb.com/forum/howto-send-emails-using-phpmailer-and-gmail-t14144.0.html

I understand all the code it is easy -.-
It's just how to implent it into the index2.html(posted above)
This sends a email. but the body of the mail has to contain wu_loginname wu_password


Anyway, PHP doesn't run in a .HTML file, you need to run it from a .PHP file.
The account is, obviously, a requirement if you want to use gmail.

ShowerThoughts

2009-03-28 19:28:23

I know .php = php and html = html but, I have html webpage which contains a login that login contains a usernamebox passwordbox and a button.
the value in wu_loginname and wu_password must be send within the email that will be send after buttonclick.

Wizzup?

2009-03-28 20:04:07

From: Hermpie
I know .php = php and html = html but, I have html webpage which contains a login that login contains a usernamebox passwordbox and a button.
the value in wu_loginname and wu_password must be send within the email that will be send after buttonclick.


That definately sounds like some sort of phishing website…

ShowerThoughts

2009-03-29 05:11:45

Yes, but it will not used like one. It's a prank. (It's my school's website)

Timer

2009-03-30 22:00:46

ever get it working?

Blender

2009-04-21 08:15:07

*old thread*
*research purposes only*


mail($recipient, $subject, $mail_body, $header);