...

View Full Version : Php email script - help pls



Maverick27
08-20-2012, 06:10 PM
Hi – anyone care to help me write a script for sending emails from “Contact Submission Form” of a website ?

The content of the script should include the following :

Use SMTP Server for E-mail: Yes
SMTP Server Address: ssl://smtp.gmail.com
SMTP Server Port: 465
Authentication Method: PLAIN
SMTP username: [Your Gmail or Google Apps E-mail address]
SMTP password: [Your E-mail Account password]

The body of the script should be contained in the following structure;

<html>
<body>
<?php
phpinfo();
?>
</body>
</html>

I'm completely new to this kind fo stuff. I've done Google search, but i just don't how to write HTML script.

Pls help - thanks in advance.

tangoforce
08-20-2012, 10:34 PM
So let me get this right..

You're not into programming but you want a script that will ask for peoples login and password to their gmail account?

This sounds like identity / account theft. I urge others not to reply to this topic or provide assistance.

Maverick27
08-21-2012, 05:48 AM
No - absolutley not. Whatever makes you think that ? And, even if i did want to do something ridiculous like that, would i put it on a public forum for everyone to look at ??

I bought a customisable website template, unfortunately, the free Webhost does not provide PHPSend mail. They have suggested in writing a custom Php script to send emails thro' Gmails FREE SMTP Service.

tangoforce
08-21-2012, 09:27 AM
I bought a customisable website template, unfortunately, the free Webhost does not provide PHPSend mail. They have suggested in writing a custom Php script to send emails thro' Gmails FREE SMTP Service.

That isn't how your first post in this thread reads. What you have written above makes it much clearer- that you want to send through your own gmail account.

Your opening post made it look like you wanted to ask users for their gmail account details and send them to you by email.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum