Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Php email script - help pls

    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.

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,327
    Thanks
    60
    Thanked 525 Times in 512 Posts
    Blog Entries
    4
    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.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #3
    New to the CF scene
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,327
    Thanks
    60
    Thanked 525 Times in 512 Posts
    Blog Entries
    4
    Quote Originally Posted by Maverick27 View Post
    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.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •