Announcement

Collapse
No announcement yet.

For new smtp login for php email

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • For new smtp login for php email

    Hi
    I think that solution with smtp authentication for sending php email is not best way. On internet exist many programs that make mirror of website and because in your solution exist php file with "email account password" will be not problem for spammers to send their spam emails again. I`m not expert for php, but just thinking about your solution.
    Best Regards

  • #2
    I agree ^ I used to send emails with only 10 lines of code. Now I will have to add around 200 lines more. It will just make my website harder to code and organize it.

    Comment


    • #3
      Problem is not how many line you use in your php file for sending email. Problem is visibility of secret "account password" of your email. That mean, if some spammer get password of your email, then this spammer will send email from your account same like you send email from your account.
      Best Regards

      Comment


      • #4
        yep. I just hope they don't disable the php mail. If they do...Well I am don't know maybe move to another web hosting...

        Comment


        • #5
          Yeah does suck getting PHPMail remove Iam just working on updating my contact scripts which will need rolled out over all my sites.

          Iam trying the SMPT method and for some reason it works for me with having the put any login username or password within the script any ideas? or is it just bypassing the STMP bit and sending out from PHPMailer? This is the script iam using
          Code:
          <?
          require("class.phpmailer.php");
          
          $mail = new PHPMailer();
          
          //Your SMTP servers details
          
          $mail->IsSMTP();                                      // set mailer to use SMTP
          $mail->Host = "localhost";  // specify main and backup server
          
          //It should be same as that of the SMTP user
          
          $mail->From = $_POST['email'];
          $mail->FromName = "Contact Form";
          
          //where you wish to receive those emails.
          $mail->AddAddress("[email protected]", "Contact Form");
          
          $mail->WordWrap = 50;                                 // set word wrap to 50 characters
          $mail->IsHTML(true);                                  // set email format to HTML
          
          $mail->Subject = "Contact from";
          $message = "Name :".$_POST['name']." \r\n <br>Email Adrress :".$_POST['email']." \r\n <br> Telphone :".$_POST['tel']." \r\n <br> Message :".$_POST['message']." \r\n <br> www :".$_POST['www']." \r\n <br> Budget :".$_POST['budget']." \r\n <br> Project Type :".$_POST['project_type'];
          $mail->Body    = $message;
          
          if(!$mail->Send())
          {
             echo "Message could not be sent. <p>";
             echo "Mailer Error: " . $mail->ErrorInfo;
             exit;
          }
          
          ?>

          Comment


          • #6
            I am really, really annoyed about this. Some people have reseller accounts - It's not really acceptable to force everyone to change their scripts. CMS's such as Wordpress, Drupal and Concrete5 use the PHP mail(); function to deliver messages - it's not a simple modification to make them use this "PHPMailer" that you are TRYING to persuade us is an alternative.

            The problem is not with the mail() function - it is with your customer review process. This is like cutting off all water supplies because someone drowned in the bath.

            It would probably be easier to transfer all of my accounts over to a new web host (who keeps critical PHP functions ENABLED) rather than modify every one of the 15+ websites that are under my account.

            Comment


            • #7
              Originally posted by j03 View Post
              It would probably be easier to transfer all of my accounts over to a new web host (who keeps critical PHP functions ENABLED) rather than modify every one of the 15+ websites that are under my account.
              Can we get some kind of official response to this issue, I can't believe this absolute basic function is being blocked.

              I have quite a few systems that are going to take DAYS of work to sort out, it's almost not worth the effort, I may as well move, which is a shame because you have been impeccable.

              Comment


              • #8
                Originally posted by FuzzyOne View Post
                Can we get some kind of official response to this issue, I can't believe this absolute basic function is being blocked.

                I have quite a few systems that are going to take DAYS of work to sort out, it's almost not worth the effort, I may as well move, which is a shame because you have been impeccable.
                Place a request to support and we will have the accounts migrated on the server which has been setup with phpmail functions enabled.
                Cristiano
                webhosting.uk.com

                Comment


                • #9
                  Originally posted by whuk-cristiano View Post
                  Place a request to support and we will have the accounts migrated on the server which has been setup with phpmail functions enabled.
                  That's OK if you've only one account to worry about. I'm just building a WordPress website for a client and I was about to sign them up with WHUK but now I'm not so sure.

                  What shall I do? Do I have to have every site I build put onto this special server? Or install an extra plug-in every time I use a Contact form? Or does anybody know if there's a WordPress contact form that already uses SMTP?

                  And also, whatever the problems have been with phpmail,won't they be duplicated on the special server anyway? So what have you gained?

                  I'm very upset by this, for the first time I am disappointed in WHUK.

                  Edit:
                  I've asked about this in the WordPress forum and they're saying Contact Form 7 uses wp_mail() to send mail, not phpmail What does that mean? Will it be affected by this change or not? Official answer, please!
                  Last edited by MyPaperWork; 30-07-11, 05:26 AM. Reason: New information

                  Comment


                  • #10
                    Thats a good point MyPaperWork, I have a few clients mostly using Modx CMS at the minute but will be doing Wordpress and Magento in the near future. Whats happens if someone forgets the password how or them e-mails sent out? Is this going to cause issues with things like that.

                    Migrations might be fine but as per the the e-mail from WHUK yesterday these nothing to stop the server being blacklisted. Surely its a case of not letting people who abuse the system onto the migration server? I dont see why everyone should have to suffer.

                    Comment


                    • #11
                      I couldn't agree more but just at the moment I don't have the energy/headspace to fight and argue with anybody else.
                      Instead, I've found a contact form for WordPress which allows the use of SMTP instead of phpmail. Unfortunately it's not anything like as good as the one I was using but as I service the "value" end of the market - £250 for a basic website - I think it will do.
                      It's all damned annoying though.

                      Comment

                      Working...
                      X