Menu

changing mailto address

Help
theconsul
2007-10-03
2013-06-03
  • theconsul

    theconsul - 2007-10-03

    hi,
    thx for this neat script

    wotks fine but a small question:

    i want the results of the form to be send elsewhere

    do i only need to change the email addressin the processor.php file?

    coz that didn't do the trick

    thx for any replies

    Tc

     
    • TNTEverett

      TNTEverett - 2007-10-03

      It does work if you change the right email address in the processor.php file.
      The mail() function is where the address needs to change. 

      The mail function has the following syntax:
      mail($to, $subject, $messge)

      You can get more detail and example code here:
      http://us.php.net/manual/en/function.mail.php

       
    • theconsul

      theconsul - 2007-10-04

      i changed it to:

      mail("correctemail@myaddress.com","bestelling","Form data:

      so this should work?

      coz recipient tellsme that he does not receive any form data

      allthough when i use my email address when i made the form, it worked for me

      Tc

       
      • TNTEverett

        TNTEverett - 2007-10-05

        If it works for you it should work for most others.  The only exception, which is becomming more and more common is that servers are adding more and more strict spam policies.  There may be something about the format of your message that is being rejected as spam.  This is true for email servers at the ISP and for email programs on the client computer.  Ask your recipient to inquire with their host to see if the email is being filtered.  This may take some work to find where the message is going but you should also be able to contact your host and see a long indicating the message was sent. 
        Once you find the reason for the problem we can begin to help you fix it. 

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.