Contact form smtp authentication

I think Muse should take into account that the contact form script needs changing for those self hosting and require smtp authentication to be applied. It could be a simple addition to the edit form dialogue box where smtp authentication details can be added

Someone told me that its because my class has a constructor in it. He said its a requirement (no-arg CONSTRUCTOR) if i'll use the code as a java bean.
This is my constructor which i need to change to a method or something. Can anybody help me do the conversion to a method. I find it very difficult. Sorry. This is the constructor;
public MyPasswordAuthenticator (String username, String password)
super();
this.user = username;
this.pw = password;
Thank you very much.

Similar Messages

  • Email Contact Form Problem

    I have set up a contact form on my website to be e-mailed to an e-mail address I have set up for the site on clicking the "submit" button. I have apparently succeeded in associating the PHP script to the form, as I get the PHP error message every time I click the submit button to show the e-mail has not been sent. Having worked my way down to the simplest of PHP scripts and triple checking all my variable details are matching the names in the HTML, I tried checking with my host Netcetera if there was something I needed to do at their end.
    They replied "The form mail should be authenticated with a valid email address and its password. Please use SMTP host as mail.netcetera.co.uk"
    I cannot find anyway of doing this directly in Dreamweaver nor any guidance on Adobe on how to do this.
    Any ideas?
    Gordon (Obviously a newbie)

    You should probably check to see if it will even run PHP. Have you created a page with a php extension and if so does it display correctly?
    Sometimes the script needs to be in a folder with permissons that allows scripts to run, which you might be able to do with a CPANEL control somewhere or a folder called scripts.
    You shouldn't be required to use their script and should be able to write your own (I purchased software to do this, as I don't writ PHP mail processing scripts).
    Jim
    PS. Another thing that I have come across is that the sending email (from in your script) must actually be an email address. So if you are wanting to send a confirmation email, that address that is sending it to the form filler outer it can't be a junk address. If you can set up an email account for this form, I would suggest [email protected] (with your domain information of course).

  • Emails from contact form not working

    I have a contact form on one of my website and it is not working properly. 
    Muse gives me a warning of not using another email than connected to the domain of the web.
    As I use Gmail in this particular website it is not working.
    How to solve this?
    Thanks
    Pétur

    Hi,
    I have and they told me they use SMTP authentication for their incoming emails.
    They also tried to work on Muse PHP code for me - but did not manage to configure it correctly for emails through SMTP from forms in Adobe Muse.
    The problem is that I have a customer that is not receiving any inquiries from his customers because the form on his website is not working.
    Do I have to use Businesscatalyst - is it alright there to use Gmail to send emails from forms hosted there?
    Hope you have some solution - I have to solve this
    Reg.
    Pétur

  • Convert PHP Email Code to Using SMTP Authentication

    One of my contact forms no longer is able to send (it used to until some server updates were made), for it keeps posting the following error:
    Warning:  mail() [function.mail]: SMTP server response: 501 5.1.7 Invalid address in C:\contact.php on line 71
    This form does work on three other servers, so obviously the form is in working order but not on this particular server.
    I was recommended to "set the PHP script up to log in to       the SMTP server" using this example:
    http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm
    I've only gotten this far and cannot figure out how to actually create it to SEND:
    <?php
    // set flag to indicate whether mail has been sent
    $mailSent = false;
    if (array_key_exists('eList', $_POST)) {
        // mail processing script
        // remove escape characters from POST array
        if (get_magic_quotes_gpc()) {
        function stripslashes_deep($value) {
        $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);
        return $value;
          $_POST = array_map('stripslashes_deep', $_POST);
    $email = $_POST['email'];
            // check for valid email address
        $pattern = '/^[^@]+@[^\s\r\n\'";,@%]+$/';
        if (!preg_match($pattern, trim($email))) {
        $error['email'] = 'Please enter a valid email address';
    // validate the input, beginning with name
        $name = trim($_POST['name']);
        if (empty($name)) {
            $error['name'] = 'Please enter your First Name';
        $lname = trim($_POST['lname']);
        if (empty($lname)) {
            $error['lname'] = 'Please enter your Last Name';
        $department = $_POST['department'];
        if ($_POST['department'] == '') {
        $error['department'] = 'Please select a Department';
    //     check the content of the text area
            $messageBody = trim($_POST['message']);
            if (empty($messageBody)) {
            $error['message'] = 'Please enter your message';
        // initialize variables
        if (!empty($_POST['url'])) {
        $to = '[email protected]';//
        $subject = 'Suspected as SPAM';
        $host = 'smptout.serverserver.net';
        $username = 'username';
        $password = 'password';
        } else {
        $to = '[email protected]';//
        $subject = 'Here we are';
        $host = 'smptout.serverserver.net';
        $username = 'username';
        $password = 'password';
            $SpamErrorMessage = "No URLs permitted";
        if (preg_match("/http/i", "$name")) {echo "$SpamErrorMessage"; exit();}
        if (preg_match("/http/i", "$lname")) {echo "$SpamErrorMessage"; exit();}
        if (preg_match("/http/i", "$email")) {echo "$SpamErrorMessage"; exit();}
        if (preg_match("/http/i", "$messageBody")) {echo "$SpamErrorMessage"; exit();} // check for spam
        //build the message
        $smtp = Mail::factory('smtp',
                                                                                                array('host' => $host,
                                                                                                                        'auth' => true,
                                                                                                                        'username' => $username,
                                                                                                                        'password' => $password));
        $message = "To: $department\r\n\r\n";
        $message .= "From: $name $lname\r\n";
        $message .= "$email\r\n\r\n";
        $message .= "Question/Comment: $messageBody";
        //build the additional headers
        $additionalHeaders = "From: Contact <[email protected]>\r\n";
        $additionalHeaders .= "Reply-To: $email";
    //send the email if there are not errors
        if (!isset($error)) {
        $mailSent = mail($to, $subject, $message, $additionalHeaders);
        // check that the mail was sent successfully
        if (!$mailSent) {
            $error['notSent'] = 'Sorry, there was a problem sending your mail. Please try later.';
    ?>
    Thank you for your help!

    Anyone?

  • Contact Form: How do i create a link from an XML file to another domain to read a PHP File

    So i purchased a template from Template Monster and im having a little trouble with the contact form. The server that im uploading it to is a privite server that the company owns. It supports ASP and not PHP. I cant seem to get the ASP form to work so all i want to do it create a link to another one of there servers that supports PHP and have the contact form link to there and read the PHP file (that i will upload to that server) and send the email from there.
    This is the XML that i have to fill in in order to make it work
    Everything in Red is what i needed to fill out in order for the form to work.
    <?xml version="1.0" encoding="utf-8"?>
    <!--
            Please read this information to learn how to set up the contact form integrated
            into the template.
            This readme file explains in details the meaning of the settings that can be
            done in the fcContactFormConfiguration.xml configuration file.
            It is recommended for you to use an XML editor to make changes to this file
             because it’s less possible to make an error in the markup which can cause to
            a not working contact form.
      -->
    <contactFormConfiguration>
        <!--
                An e-mail address which will be used to receive messages from your contact form.
                You can specify several e-mail addresses separating them with a comma.
                For example: [email protected], [email protected], [email protected]
          -->
        <emailTo>[email protected]</emailTo>
        <!--
                A server script type which will process sending e-mails. It depends on your
                hosting and in the current version of the contact form it is allowed to use
                two types:  php (Apache, PHP Hosting); asp (IIS web server, ASP).
          -->
        <serverProcessorType>php</serverProcessorType>
        <!--
                A name of the script file which process sending e-mails on your server (without
                extension). The name contact is used by default.
          -->
        <serverProcessorFileName>contact</serverProcessorFileName>
        <!--
                Set whether to validate only required fields (true/false).  The default value is
                true which means the not required fields of your contact form will not be validated.
                For example if the e-mail field of your form is set as not required (imagine it)
                the form will be processed even if the user types in an incorrect e-mail address.
          -->
        <validateRequiredOnly>false</validateRequiredOnly>
        <!--
                Set whether to submit the form when the Enter key is pressed even if the focus is
                not on the Submit button (true/false).
          -->
        <submitFormOnEnter>false</submitFormOnEnter>
        <!--
                Text showing to the user when the form is submitted without any errors.
          -->
        <messageSentText>Thank you for your message.</messageSentText>
        <!--
                Text showing in case the form is not submitted because of a server error.
          -->
        <messageSentFailedText>Sorry, your message couldn't be sent</messageSentFailedText>
        <!--
                Text your visitor will see while waiting till the processing is over.
          -->
        <formProcessingText>processing...</formProcessingText>
        <!--
                Your SMTP server (for ASP only).
          -->
        <smtpServer>localhost</smtpServer>
        <!--
                Your SMTP port (for ASP only).
          -->
        <smtpPort>25</smtpPort>
        <!--
                Set whether to send the message as a plain text (true) or as HTML (false).
          -->
        <plainText>false</plainText>
        <!--
                ID of the input field (in the structure XML file) to use for the “from: ”
                or email to use instead (for example: [email protected]).
          -->
        <emailFromSource>2</emailFromSource>
        <!--
                Subject of the e-mails that will be sent through this contact form or ID of
                the input field (in the structure XML file) to use for the “subject: ” label
                in your e-mail client.
          -->
        <subjectSource>Contact Form from your site</subjectSource>
        <!--
                Validation error messages that are showing to the user when the form fails to
                validate. The form supports different types of validators. You can change the
                text of the error messages the validators produce here.
                You can use the {LABEL} keyword in these messages. It will replace it with the
                label value of the field where an error occurs.
          -->
        <validationErrorMessages>
            <!--
                    A required field is not filled in.
              -->
            <message type="fieldIsRequired">{LABEL} is required.</message>
            <!--   
                    The specified e-mail address is incorrect.
              -->
            <message type="emailNotValid">{LABEL} - is not valid email address.</message>
            <!--
                    The specified number of characters in a field is less than a required minimum.
              -->
            <message type="minCharsLimitError">{LABEL} - The specified number of characters in a field is less than a required minimum.</message>
            <!--
                    The specified string does not match with the regular expression.
              -->
            <message type="reqExpError">{LABEL} - The specified string does not match with the regular expression.</message>
            <!--
                    The specified number is greater than an acceptable biggest number for this field.
              -->
            <message type="biggerThanMaxError">{LABEL} - The specified number is greater than an acceptable biggest number for this field.</message>
            <!--
                    The specified number is lower than an acceptable lowest number for this field.
              -->
            <message type="lowerThanMinError">{LABEL} - The specified number is lower than an acceptable lowest number for this field.</message>
            <!--
                    The data is not a number.
              -->
            <message type="notANumberError">{LABEL} - The data is not a number.</message>
            <!--
                    The specified number must not be negative.
              -->
            <message type="negativeError">{LABEL} - The specified number must not be negative.</message>
            <!--
                    The minimum number of variants is not selected
              -->
            <message type="minRequirementError">{LABEL} - The minimum number of variants is not selected</message>
            <!--
                    The number of variants selected exceeds the maximum
              -->
            <message type="maxRequirementError">{LABEL} - The number of variants selected exceeds the maximum</message>
            <!--
                    The fields that should be equal do not match
              -->
            <message type="shouldBeEqualError">{LABEL} - values do not match</message>
            <!--
                     The date has wrong format.
              -->
            <message type="dateIsNotValidError">{LABEL} - date has wrong format</message>
        </validationErrorMessages>
    </contactFormConfiguration>
    THIS IS THE ACTUAL CONTACT.PHP Form That i would like to link to.
    <?php
    //-----------------Getting data sent by flash---------------------
    foreach ($_POST as $key => $value){
            if ($key != 'mail_to' && $key != 'smtp_server' && $key != 'smtp_port' && $key != 'mail_from' && $key != 'mail_subject' && $key != 'plain_text'){
                $mail_body .= '<b>'.str_replace('_',' ',$key).'</b>:<br/>';
                $mail_body .= ''.stripslashes($value).'<br/>';
    $message = '<html><body>'.$mail_body.'</body></html>'; //  mail body
    //------------if plain text is set to true removing html tags------
    if ($_POST['plain_text']=='true') {
        $message = str_replace('<br/>',"\r\n", $message);
        $message = strip_tags($message);
    } else {
    //----otherwise composing message headers---------------------------
        $headers  = 'MIME-Version: 1.0' . "\r\n";
        $headers .= 'Content-type: text/html; charset=windows-1251' . "\r\n";
    //------------setting conf data-------------------------------------
    $to = $_POST['mail_to'];
    $from = $_POST['mail_from'];
    $subject = $_POST['mail_subject'];
    $smtp_server = $_POST['smtp_server'];
    $smtp_port = $_POST['smtp_port'];
    //---------setting header info--------------------------------------
    $headers .= 'From:' .$from;
    if (mail($to, $subject, $message, $headers)){ // sending mail
        print('&mail=1');  //succes
    } else {
        print('&mail=0');//failure
    ?>

    You can open both Muse files at once, copy the content of a page on one site, then paste it into a new page on the other site. You might have to redo some of the page styling.

  • Switched email servers; same address, contact form no longer works

    I switched my web host's email from their internal email setup to a google business email of the same address.  The propagation took a little time, but now everything's working right.  Except my contact form on my website.  Now when I try to submit, I get "Server encountered an error" even though its the exact same email address as it was before, just through google's business email  service and not my web host's.  Whats going on and how to I fix this?  Is it an SMTP server issue under the hood?  I notice if I make another email account through my host and then direct the form to send email to that account, it works.  But switching it back to the google business email account I can't get it to work.

    Hi abstractls,
    You may be having the same problem as me. If the Airport Express is NOT connected to the internet, the Macs will still work, but the PC print routines say "you do not have sufficient access to your computer to connect to the selected printer" or just "An unknown error occurred during printing". If you reconnect the internet, the problem goes away.
    I suspect that the PC is not getting an IP address assigned to it by the Airport Express, and cannot cope without it, but the Mac is OK.
    My problem is that I do not want to connect the Airport Express to the net, I just want it to share a printer between Macs and PC. Does anyone know of a fix for that problem? I have told the Airport Express to ignore the lack of an internet connection, but that just switches off the amber light...

  • Best way to create Contact form in WPC.

    Hello,
    What is the best way to create a contact form ( that sends email on clicking the submit button ) in WPC.
    Should I be using a page layout (jsp) to implement the mailing functionality.
    Thanks
    Tony.

    I am getting
    javax.mail.SendFailedException: Sending failed;  nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: SCHLAP103481, port: 25;  nested exception is: java.net.ConnectException: Connection timed out: connect
    SCHLAP103481 is my laptop name.
    Which host name Do I have to give on this line of code:
    props.put("mail.smtp.host", "SCHLAP103481");
    Thanks

  • SMTP authentication in OCSR2 9.0.4.1

    I am setting the smtp authentication in OCSR2 to true, after that, when ever I sent mail thru the server, it need the smtp authentication. I thought I had been successfully configure the server. But later on, when I trying to send mail to the user in the OCSr2 server(from hotmail mail), the mail was reject due to the error"authentication failed".
    It seem that the authentication setting not only affect the mail relaying but also incoming mail connection. Is this true??

    I searched some more on the Forum and eventually found a whitepaper on PJC's in Forms 6i. That gave me the tip not to implement the IView interface, but just extend the VBean class.
    That's what I just tried and no more classCastException. That seems to fix my issue. No to develop the bean itself...

  • Make a contact form information secure

    I use Dreamweaver CC and Business Catalyst.
    I want to make sure that the infomation people send to me in my contact forms is secure!
    Does anyone have any advise for me on the best way to do this?
    Thanks

    The information is sent into BC into the CRM which you can only access by logging in to the admin or API through secure authentication.
    You recieve a workflow notification summary of that to your email. You can stop the form havinga workflow if you do not want that to go to your email if you feel your email is not secure.
    All BC data and information is secure.

  • Strange error message when submitting my contact form - what does it mean?

    This site was designed by someone else and taken over by me.  The contact form used to work but now when you type in the fields and hit SUBMIT you get the error message that I've attached.  I've tried changing the code using Godaddy's gdform mailer steps and it's still not working.
    Try:
    www.ducksinaroworganizers.com/contactus.php
    I was also playing around with this one too:
    www.ducksinaroworganizers.com/contactustest.php
    Thank you.

    Your form is apparently trying to send via SMTP through pobox.com instead of from your own domain. pobox.com has probably set up their server to prevent this type of email relay - a good thing.
    Why not send through your own domain's mail server? I know nothing about GoDaddy, though. You might want to give them a call.
    Mark A. Boyd
    Keep-On-Learnin' :-)
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.
    It might not even have been intended as a reply to your message.

  • Cannot send to some receipients with error "550-Please turn on SMTP Authentication in your mail client"

    I am using exchange 2003 connected using MAPI with outlook2010.
    when i send e-mail to one of my customer.
    i got below error message
    There was a SMTP communication problem with the recipient’s email server.  Please contact your system administrator.
    <xxxx.net #5.5.0 smtp;550-Please turn on SMTP Authentication in
    your mail client. >
    xxxx.net was my server
    and my customer was using messagelabs "cluster6a.us.messagelabs.com" to receive mail
    i was strange that MAPI connect does not need smtp authentication when send out e-mail.
    is that anythings i have missing to do?
    thank you

    Hello,
    Kindly go through with below link.
    http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_28133927.html
    http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_28078232.html
    Deepak Kotian.
    MCP, MCTS, MCITP Server / Exchange 2010 Ent. Administrator
    Disclaimer:
    Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!
    All the opinions expressed here is mine. This posting is provided "AS IS" with no
    warranties or guarantees and confers no rights.

  • SMTP Authentication for PHP Mail

    Can anyone help me in figuring out the correct way to incorporate the SMTP authentication into a form? I am having a lot of trouble in getting my forms to send with this format. My code for my php action page is below. I have my correct information where i included *******. Please let me know what i have wrong.
    CODE STARTS HERE
    <?php
    //new function
    $to = "*******";
    $nameto = "LTL Freight Shop";
    $from = "*******";
    $namefrom = "LTL Freight Shop";
    $subject = "Account Request";
    authSendEmail($from, $namefrom, $to, $nameto, $subject, $message);
    ?>
    <?php
    $recipient  = "*******";
    //$subject = "Account Request";
    $companyname = check_input($_POST['CompanyName'], "Enter your company name");
    $firstname  = check_input($_POST['FirstName'], "Enter your first name");
    $lastname  = check_input($_POST['LastName'], "Enter your last name");
    $phone  = check_input($_POST['PhoneNumber'], "Enter your phone number");
    $fax  = check_input($_POST['FaxNumber']);
    $email  = check_input($_POST['Email'], "Enter your email");
    $address  = check_input($_POST['StreetAddress'], "Enter your address");
    $city  = check_input($_POST['City'], "Enter your city");
    $state  = check_input($_POST['State'], "Enter your state");
    $zipcode  = check_input($_POST['ZipCode'], "Enter your zip code");
    $country  = check_input($_POST['Country'], "Enter your country");
    $yearsinbusiness  = check_input($_POST['YearsinBusiness'], "Enter your years in business");
    $typeofindustry  = check_input($_POST['TypeofIndustry'], "Enter your type of industry");
    $multiplelocations    = check_input($_POST['MultipleLocations']);
    $numberoflocations  = check_input($_POST['LocationsCount']);
    $ltl  = check_input($_POST['ServicesLTL']);
    $ftl  = check_input($_POST['ServicesFTL']);
    $domesticparcel  = check_input($_POST['ServicesDomesticParcel']);
    $intlparcel  = check_input($_POST['ServicesInternationalParcel']);
    $airfreight  = check_input($_POST['ServicesAirFreight']);
    $oceanfreight  = check_input($_POST['ServicesOceanFreight']);
    $other  = check_input($_POST['ServicesOther']);
    $none  = check_input($_POST['ServicesNone']);
    $volume  = check_input($_POST['TypicalVolume'], "Enter your typical volume");
    $carrier  = check_input($_POST['CurrentCarrier'], "Enter your current carrier");
    $class  = check_input($_POST['AverageClass'], "Enter your average class");
    $weight  = check_input($_POST['AverageWeight'], "Enter your average weight");
    $process   = check_input($_POST['Process']);
    $hearabout = check_input($_POST['HearAbout']);
    $comments = check_input($_POST['Comments']);
    if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
        show_error("E-mail address not valid");
    $message = "You have received an account request from:
    Company Name: $companyname
    First Name: $firstname
    Last Name: $lastname
    Phone Number: $phone
    Fax Number: $fax
    E-mail: $email
    Street Address: $address
    City: $city
    State: $state
    Zip Code: $zipcode
    Country: $country
    Years in Business: $yearsinbusiness
    Type of Industry: $typeofindustry
    Multiple Locations: $multiplelocations
    Number of Locations: $numberoflocations
    Services they use: $ltl, $ftl, $domesticparcel, $intlparcel, $airfreight, $oceanfreight, $other, $none
    Typical Volume: $volume
    Current Carrier: $carrier
    Average Class: $class
    Average Weight: $weight
    How they currently process: $process
    How they heard about us: $hearabout
    Comments: $comments
    End of message
    //ini_set("SMTP","smtp.emailsrvr.com");
    //ini_set("SMTP_PORT", 25);
    //ini_set("sendmail_from","*******");
    //mail($recipient, $subject, $message);
    function check_input($data, $problem='')
        $data = trim($data);
        $data = stripslashes($data);
        $data = htmlspecialchars($data);
        if ($problem && strlen($data) == 0)
            show_error($problem);
        return $data;
    function authSendEmail($from, $namefrom, $to, $nameto, $subject, $message)
    $smtpServer = "smtp.emailsrvr.com";
    $port = "25";
    $timeout = "30";
    $username = "********";
    $password = "********";
    $localhost = "smtp.emailsrvr.com";
    $newLine = "\r\n";
    $smtpConnect = fsockopen($smtpServer, $port, $errno, $errstr, $timeout);
    $smtpResponse = fgets($smtpConnect, 515);
    if(empty($smtpConnect))
    $output = "Failed to connect: $smtpResponse";
    return $output;
    else
    $logArray['connection'] = "Connected: $smtpResponse";
    fputs($smtpConnect,"AUTH LOGIN" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['authrequest'] = "$smtpResponse";
    fputs($smtpConnect, base64_encode($username) . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['authusername'] = "$smtpResponse";
    fputs($smtpConnect, base64_encode($password) . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['authpassword'] = "$smtpResponse";
    fputs($smtpConnect, "HELO $localhost" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['heloresponse'] = "$smtpResponse";
    fputs($smtpConnect, "MAIL FROM: $from" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['mailfromresponse'] = "$smtpResponse";
    fputs($smtpConnect, "RCPT TO: $to" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['mailtoresponse'] = "$smtpResponse";
    fputs($smtpConnect, "DATA" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['data1response'] = "$smtpResponse";
    $headers = "MIME-Version: 1.0" . $newLine;
    $headers .= "Content-type: text/html; charset=iso-8859-1" . $newLine;
    $headers .= "To: $nameto <$to>" . $newLine;
    $headers .= "From: $namefrom <$from>" . $newLine;
    fputs($smtpConnect, "To: $to\nFrom: $from\nSubject: $subject\n$headers\n\n$message\n.\n");
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['data2response'] = "$smtpResponse";
    fputs($smtpConnect,"QUIT" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['quitresponse'] = "$smtpResponse";
    function show_error($myError)
    ?>
        <html>
        <body>
        <b>Please correct the following error:</b><br />
        <?php echo $myError; ?>
        </body>
        </html>
    <?php
    exit();
    ?>

    I have the same problem - user has Outlook 2010 on Exchange 2007. Mail goes directly into the deleted items folder. After browsing around the net I found 2 different site with the same potential fix. It seems that when migrating a user from Exch 2003 to
    2007 (which we did) some of the configs get set incorrectly. The weird thing is we migrated over 2 years ago, and some others are experiencing the same after a long period after the migration. The fix that was suggested is:
    Go to your Exch server, open up Exchange Management Shell and type the following:
    get-mailboxcalendarsettings "domain/ou/user" | fl 
    set-mailboxcalendarsettings "doman/ou/user" -automateprocessing: Autoupdate 
    My user already had Autoupdate set, but this seems to have fixed it for me...

  • Contact form won't send to email

    I've done this contact form loads of times and it works fine but for some reason this particular form won't send to email. The php is good so it must be my form. I'll put both bits of code up anyway. Thanks
    PHP:
    <?php
    if ($_POST){
    if (!filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL)){
    $message="Please provide a correct email address";} else {
      $name = strip_tags($_POST['name']);
      $company_name = strip_tags($_POST['company_name']);
      $telephone = strip_tags($_POST['telephone']);
      $email = $_POST['email'];
      $comments = strip_tags($_POST['comments']);
      $to = '[email protected]';
      $subject = 'Contact form submitted.';
      $body = $name. "\n". $company_name. "\n". $telephone. "\n". $email. "\n" .$comments;
      $headers = 'From: ' .$email;
      if (mail($to, $subject, $body, $headers)) {
      echo 'Thanks for contacting us. We\'ll be in touch soon!';
      } else {
      $message = 'Sorry an error occurred. Please try again later.';
    ?>
    <?php echo "<p style='color:red'>$message</p>"; ?>
    HTML:
    <form id="contactform" action="" method="post">
    <p>Name:<br/><input name="name" type="text" required /></p>
    <p>Company Name: <br/><input name="company_name" type="text" required/></p>
    <p>Telephone: <br/><input name="telephone" type="tel" required/></p>
    <p>Email: <br/><input name="email" type="email" required/></p>
    <p>Comments: <br/><textarea name="comments" required/>   </textarea></p>
        <input type="submit" name="submit" value="Send!" formmethod="post"/>
    </form>

    PEAR is a library of useful functions that is often included in a PHP installation.
    BUT. . .PHP only uses the mail capabilities of the server. If the server doesn't allow it, then you may not able to send email no matter what. . .however, I am not absolutely sure of that. I have never had to work with a server that did not support mail.
    SMTP is a protocol that uses an email account to send mail. You may be able to tie your mail to an external SMTP account, for instance even a GMAIL account. PHPMailer is an add-on that you can use to do this. You can install it on your website. It isn't hard to use, but it is more involved than simply using PHP mail().
    But really, have a conversation with the server admin about all of this. Find out why PHP mail isn't installed, and if he is willing to install it.

  • R12.1.3 WF Notification mailer setup for SMTP authenticated relay

    Hi,
    I have to configure WFNM in R12.1.3. I was given an SMTP server ip address, an email and password.
    1.Through outlook I am able to send that mails to gmail or yahoo mail through that mail id.
    2. Tried telnet from concurrent manager server node (of course its a single node installation), it working properly. But I have to enter username and password in base64 encoded format.
    telnet esmtp.example.com 25
    220 esmtp.example.com ESMTP
    ehlo esmtp.example.com
    250-PIPELINING
    250-8BITMIME
    250-SIZE 255555555
    250 AUTH LOGIN PLAIN CRAM-MD5
    auth login
    S: 334 VXNlcm5hbWU6
    avlsdkfj ---> my mail id in base64 encoded form
    334 UGFzc3dvcmQ6
    lkajsdfvlj --> my mail id password in base64 encoded form
    ok, go ahead
    Now I will be able to send mails from my given mail id.
    R12.1.3 feature says WF java mailer supports smtp authenticated login.
    In Workflow NM configuration page, I tried the following options
    1. servername
    2. mymaulid in normal format
    3. my password in normal format.
    Configured successfully. But it is trying to send mails from local host which doesnt relay to external domains. Unable to establish an authenticated session with smtp.
    1. servername:25
    2. mymaulid in normal format
    3. my password in normal format.
    Configured successfully. But it is trying to send mails from local host which doesnt relay to external domains. Unable to establish an authenticated session with smtp.
    1. servername
    2. mymaulid in normal format
    3. my password in normal format.
    4. SSL Checked.
    Error: Unable to connect, check hostname,username and password
    1. servername:25
    2. mymaulid in normal format
    3. my password in normal format.
    4. SSL Checked
    Error: Unable to connect, check hostname,username and password
    1. servername
    2. mymaulid in base64 format
    3. my password in base64 format.
    Configured successfully. But it is trying to send mails from local host which doesnt relay to external domains. Unable to establish an authenticated session with smtp.
    1. servername:25
    2. mymaulid in base64 format
    3. my password in base64 format.
    Configured successfully. But it is trying to send mails from local host which doesnt relay to external domains. Unable to establish an authenticated session with smtp.
    1. servername
    2. mymaulid in base64 format
    3. my password in base64 format.
    4. SSL Checked.
    Error: Unable to connect, check hostname,username and password
    1. servername:25
    2. mymaulid in base64 format
    3. my password in base64 format.
    4. SSL Checked
    Error: Unable to connect, check hostname,username and password
    I used command line tools from middle tier to connect to smtp server.
    establised session wit smtp server
    DEBUG SMTP: useehlo true useAuth false
    javax.mail.AuthenticationFailedException Unable to connect to account
    Any Suggestions?
    Regards
    Charan

    Suggestions please.

  • Help with a simple contact form.

    Hi there..
    I am having trouble making a contact form with a servlet. I have a Fedora Core Linux Box running ddns..
    My internet account is sympatico.. which a username and password is required to send out with smtp..
    I need help creating a servlet and I have java mail also..
    This is what I have so far...
    I have more info below
    <form class="formContactus1" name="formContactus1" method="post" action="/SendMail" onsubmit="validerForm();">
                                                      <table id="tblContactus">
                                                           <tbody><tr>
                                                                <td class="tdLeft">
                                                                     <label><fmt:message key="Form_firstname" /></label>
                                                                </td>
                                                                <td class="tdRight">
                                                                     <input class="contactTextName" id="last_name" name="last_name" maxlength="100" type="text">
                                                                </td>
                                                           </tr>
                                                           <tr>
                                                           <td class="tdLeft">
                                                                <label><fmt:message key="Form_lastname" /></label>
                                                           </td>
                                                           <td class="tdRight">
                                                                <input class="contactTextName" id="first_name" name="first_name" maxlength="75" type="text">
                                                           </td>
                                                      </tr>
                                                      <tr>
                                                           <td class="tdLeft">
                                                                <label><fmt:message key="Form_email" /></label>
                                                           </td>
                                                           <td class="tdRight">
                                                                <input class="contactTextName" id="email" name="email" maxlength="75" type="text">
                                                           </td>
                                                      </tr>
                                                           <tr>
                                                                <td class="tdLeft" valign="top">
                                                                     <label><fmt:message key="Form_message" /></label>
                                                                </td>
                                                                <td>
                                                                     <textarea class="contactTextMessage" id="message" cols="" rows="" name="message"></textarea>
                                                                </td>
                                                           </tr>
                                                      </tbody></table>
                                                      <!-- This is the anti-spam validation images... -->
                                                      <table id="tblCaptcha">
                                                           <tbody><tr>
                                                                <td class="right" id="tdImgCaptcha"><img style="height: 35px;" src="/captcha/img"></td>
                                                                <td class="right" id="tdInputCaptcha"><input name="captchaAnswer" type="text"></td>
                                                           </tr>
                                                           <tr>
                                                                <td class="right" colspan="2" valign="bottom">
                                                                     <input id="contactSubmit" name="send" value="<fmt:message key="Form_submit" />" type="submit">
                                                                </td>
                                                           </tr>
                                                      </tbody></table>
                                                 </form>

    You forgot to tell the details about the trouble. Please elaborate. What happens? What happens not?
    Please also read this how to ask questions the smart way: [http://www.catb.org/~esr/faqs/smart-questions.html].

Maybe you are looking for

  • How can I sync my iphone 4 with windows 8

    My iphone 4 is not syncing with my calendar on Windows 8.  I just downloaded itunes v. 11.  Any ideas?

  • EP7 and Outlook Calendar entries

    Hi, I have a requirement where Calendar will be collaborated with EP7 and the calendar entries will need to be edited on events triggered from Portal. is there any connectivity between Outlook and Portal such that i can retrieve calendar data for a u

  • When Apps/Plug ins Won't Trash

    This is annoying.  I have two apps and a plug in in my trash that won't delete.  I get the usual message: can't complete because app is use, when I know it is not.  Any help very much appreciated.

  • Multi page report in design view and page breaks

    Hey, I have designed a report that spans more then a single 8X11 page in design view. The report has one parent frame and 2 child frames. The parent data prints first and then there is a page break before each child's data. The trouble I am having is

  • ORA-07445 Invalid Permissions For Mapped Object

    I have query that is using the new Result Cache hint in Oracle 11g (release 2). The query when rendered started producing the error listed below in the alert file and created trace and core dump files: ORA-07445 exception encountered: core dump [qesr