-Sendmail Error-

Hello All!
I have a contact form with a process.php script for the contact form i'm using on this site: http://greenzonepizza.com/contact.html
When i tested the form using GoDaddy, everything worked fine...but once my client switched to Network Solutions (for hosting) the message is no longer being sent : /
After doing some research i found that the Unix platform in NS needs a php.ini file in the cgi-bin with a sendmail path.
I then called NS (Network Solutions) to ge the correct path for the sendmail path, which i created for the php.ini file with the following script: sendmail_path = /data/23/2/12/1/2664816/user/htdocs
My question is where is the problem?
Keep in mind, the php.ini file with the one line sendmail  code is in the cgi-bin folder, while the process.php file is in the htdocs folder.
Any help is appreciated, thanks!

I don't see that file, but the only files that i see in the cgi-bin are:
1.) fileman.cgi
2.) global.dat
3.) php.dat
4.) php.ini
As for the process.php file, it is not a GoDaddy file...it was code i created which until we switched to Network Solutions, worked fine : /
Here's my code for the process.php file (if you see something that may not work with Network Solutions please let me know, thanks!):
<?php
/* Email Variables */
$emailSubject = 'Contact Form Submission';
$webMaster = '[email protected]';
/* Data Variables */
$email = $_POST['email'];
$name = $_POST['name'];
$message = $_POST['message'];
$body = <<<EOD
<br><br><br>
Name: $name <br>
Email: $email <br>
Message: $message <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body,
$headers);
/* Results rendered as HTML */
$theResults = <<<EOD
<html>
<head>
<title>sent message</title>
<meta http-equiv="refresh" content="1;URL=http://www.greenzonepizza.com/contact.html">
<style type="text/css">
</style>
</head>
</body>
</html>
EOD;
echo "$theResults";
?>

Similar Messages

  • Sendmail error 692 and 693

    hi all
    when i am installing solaris 10 2nd cd .
    i got this problem.
    sendmail[693]: unable to qualify my own domain name (local host ) -- using short name
    sendmail[692]: unable to qualify my own domain name (local host ) -- using short name
    the disc you inserted is not the correct cd/dvd for solaris software 2 for x86 platforms .
    plz try again.
    <press enter to continue>
    (but i already inserted 2nd cd in cdrom. it ejects the cd from drive )

    hi all
    when i am installing solaris 10 2nd cd .
    i got this problem.
    sendmail[693]: unable to qualify my own domain name
    (local host ) -- using short name
    sendmail[692]: unable to qualify my own domain name
    (local host ) -- using short name
    Your server name must be yourname.xxxx e.g. bigben.inet.
    About CD burn this again.
    Regards
    IQAPPS

  • Savemail panic in sendmail

    Hello everyone
    Since last week I have been getting the following sendmail error again and again:
    q6GEA0ib022095: Losing ./qfq6GEA0ib022095: savemail panic
    q6GEA0ib022095: SYSERR(root): savemail: cannot save rejected email anywhere
    I have no mails in my queue and on my system there is no hosts.allow file under /etc in order to add the line "sendmail: ALL (or LOCAL)". I have also checked my aliases file and it contains the lines:
    MAILER-DAEMON: postmaster
    postmaster: root
    Any ideas on what is going on here?
    I am running: Solaris 10 10/09 s10x_u8wos_08a X86
    Thanks in advance,
    Dimitra

    @Nik:
    Here is the grep result:
    # grep 25435 /var/log/syslog
    Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pW025435: from=root, size=283, class=0, nrcpts=1, msgid=<201207180836.q6I8a0pW025435@XXXX>, relay=root@localhost
    Jul 18 11:36:00 sendmail[25435]: [ID 702911 mail.info] STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-MD5, bits=128/128
    Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pW025435: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30283, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
    Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pW025435: q6I8a0pX025435: DSN: User unknown
    Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pX025435: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31307, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
    Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pX025435: q6I8a0pY025435: return to sender: User unknown
    Jul 18 11:36:01 sendmail[25435]: [ID 801593 mail.info] q6I8a0pY025435: to=postmaster, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=32331, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
    Jul 18 11:36:01 sendmail[25435]: [ID 801593 mail.alert] q6I8a0pX025435: Losing ./qfq6I8a0pX025435: savemail panic
    Jul 18 11:36:01 sendmail[25435]: [ID 801593 mail.crit] q6I8a0pX025435: SYSERR(root): savemail: cannot save rejected email anywhere
    @Cindy: It was one of the first things I came upon too, but there is no /etc/hosts.allow file on my system.

  • What's the mean of  error infomation ?

    tail /var/adm/messages
    it shows as follows
    Feb 4 09:32:44 mail3 last message repeated 1 time
    Feb 4 09:34:45 mail3 SRS Proxy[1397]: [ID 663108 daemon.error] Could not upload bulk message
    Feb 4 09:34:47 mail3 SRS Proxy[1397]: [ID 388765 daemon.error] Could not send message from queue: /var/SUNWsrspx/SRSQueueStore/store/queues/REGISTRATION/registration
    Please tell me what's the mean?? thank you !!

    One more time:
    This appears to be some kind of Sendmail error, not an iMS error. First, iMS does not normally log anything to /var/adm, so errors you see there are very unlikely to be from Messaging Server.
    Second, none of us here really is likely to know sendmail well.
    I would first check that you haven't installed some patch that has restored sendmail. Normally, on install of iMS, we replace Sendmail with our "compatibility" binary. Patching can replace that with real Sendmail, and your startup scripts can start Sendmail, preventing iMS from fully starting. Please check that.
    If you believe that this is an error coming from iMS, then you will need to provide some context, like where the message shows, and any other symptoms. This bare error message doesn't really allow me to help you,.

  • Sendmail: pthread_condattr_setpshared

    Trying to build sendmail from source fails on Archlinux:
    cc -O2 -I. -I../../include  -DNEWDB       -c -o util.o util.c
    cc -O2 -I. -I../../include  -DNEWDB       -c -o version.o version.c
    cc -o sendmail   main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o      /home/idefix/src/sendmail-8.13.5/obj.Linux.2.6.10-ARCH.i686/libsmutil/libsmutil.a /home/idefix/src/sendmail-8.13.5/obj.Linux.2.6.10-ARCH.i686/libsm/libsm.a  -ldb -lresolv -lcrypt -lnsl -ldl 
    /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libdb.so: undefined reference to `pthread_condattr_setpshared'
    /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libdb.so: undefined reference to `pthread_mutexattr_destroy'
    /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libdb.so: undefined reference to `pthread_mutexattr_setpshared'
    /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libdb.so: undefined reference to `pthread_mutexattr_init'
    /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libdb.so: undefined reference to `pthread_mutex_trylock'
    collect2: ld returned 1 exit status
    make: *** [sendmail] Error 1
    How can I fix this?

    sh__ wrote:It seems that the linker flags should include -lpthread.
    Yes, thanks!
    I had to add -lpthread to the linker flags to some of the Makefiles below obj.Linux.2.6.10-ARCH.i686.

  • Send mail procedure is giving me the error

    Hi all,
    I have created ACL and given connect and resolve privileges and assign mail host.
    After that I am running the procedure which is using to send a mail which is using UTL_SMTP package. While running I am getting the following error
    Procedure Name:SENDMAIL
    ERROR at line 1:
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 267
    ORA-06512: at "SYS.UTL_SMTP", line 161
    ORA-06512: at "SYS.UTL_SMTP", line 192
    ORA-06512: at "SENDMAIL", line 12
    ORA-06512: at line 16
    Please help me out this.

    Clearly you didn't set up the ACL correctly.
    http://www.morganslibrary.org/reference/pkgs/dbms_network_acl_admin.html

  • JRun 3.0 - tags - sendmail

    Hi,
    I am running JRun 3.0 and trying to use the built-in tags and continue to receive errors on the contentType. See code below and errors. Please help.
    <%@ page import="allaire.taglib.*,java.util.*,java.text.*" %>
    <%@ taglib uri="jruntags" prefix="jrun" %>
    <jrun:sendmail host="mail.dom.com"
    sender="[email protected]"
    contenttype="text/html; charset=iso-8859-1"
    recipient="[email protected]"
    subject="Test">
         <B>Test</B>
    </jrun:sendmail>
    <--- ERROR -->
    500 Internal Server Error
    /secureid/app/application_proc.jsp:
    javax.servlet.ServletException: Compilation error occured:
    allaire.jrun.scripting.
    DefaultCFE:
    Errors reported by compiler:
    F:/Sites/Stagesecurenet/SecureID/WEB-INF/jsp/jrun__app__application_proc2ejsp19.java:44:1:44:63: Error:
    No method named "setContenttype" was found in type "allaire/taglib/SendMailTag".
    at allaire.jrun.scripting.JavaCompilerService.compile
    (JavaCompilerService.java:122)
    at allaire.jrun.jsp.JSPServlet.compilePage(JSPServlet.java:458)
    at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:399)
    at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:202)
    at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:169)
    at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
    at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code)
    at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)
    at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
    at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
    at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:382)
    at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)
    at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
    Thanks,
    Travis

    This is just a guess since I haven't used JRun's tag library, but attributes are case-sensitive. You might want to check the TLD for the tag library to make sure that you're matching cases. You're using "contenttype" but I imagine it's supposed to be "contentType".

  • Cron job/tab question

    I have a script in /home/beheerder called backup.sh
    Running the script by hand: ./backup.sh works fine..
    Now I schedule the script to run daily at 2 at night.
    So I do: crontab -e and add:
    00 02 * * * /home/beheerder/backup.sh
    To test if it would run I entered the current time + 5 minutes.. but nothing is running, the only error i see in the crond log at the time i scheduled my job is a sendmail error:
    unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null
    But i am not even calling send mail...
    How can I make my job run?

    Problem is solved..
    Stupid me added a slash in a place it didnt belong
    Thanks for you reply anyway. 

  • Savemail: cannot save rejected email anywhere

    Hi folks...
    When I run dmesg I see lots of sendmail errors that state "savemail: cannot save rejected email anywhere". I found a document at "http://sunsolve.sun.com/search/document.do?assetkey=1-9-83988-1" that indicates the if I run "/usr/lib/sendmail root@localhost </etc/motd
    " it will produce the cannot save messages.
    The forum document indicates that this errors may have something to do with the hosts.deny hosts.allow files. But under the /etc there is only the symbolic link to the hosts file.
    So can anyone advise me on if I have to create the hosts.allow and/or hosts.deny files what entries in either file will stop the cannot save error messages?
    On our Solaris 10 O/S I couldn't find those other hosts.* files.
    Thanks in adavnce
    Roger Sager, Sydney
    please email me at [email protected]
    Cheers

    the first hit on google will reveal the answer.
    alan

  • No boot after install

    Hi all,
    On my toshiba laptop (a15-7422) I can get a successful install of solaris 10 10/09, but when it goes to start the first time it tells me it can not get domain name. It says its trying to use short name but goes to sleep and never starts. I have tried going in and making sure it is configured right but I have no literature on this system. It is different enough not to be able to try the things I know work in linux and windblows. Can anyone help? I've done numerous reinstalls and even bought the software, thinking it was a bad download, but it still won't boot up.
    Thanks alot,
    granbear52

    Thats sounds like the error that sendmail gives when DNS isnt configured properly.
    But if it is the sendmail error (which is harmless) that means your box has booted and is running normally.

  • Not able to sending the Mail using java mail utility

    Hi, I am new to java mail utility and written first time for sending mail. If any body an help me out in resolving the problem I would be thankful to him/her........below is the code which I m trying......
    package test;
    import javax.servlet.http.HttpServlet;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.AddressException;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    /*import javax.mail.Address;
    import javax.mail.Authenticator;
    import javax.mail.MessagingException;
    import javax.mail.NoSuchProviderException;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.Message.RecipientType;
    import javax.mail.internet.AddressException;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;*/
    * @author chauhasd
    * TODO To change the template for this generated type comment go to
    * Window - Preferences - Java - Code Style - Code Templates
    public class SendMailServlet extends HttpServlet{
         public SendMailServlet(){
         public void sendMail(){
              java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
              Properties props=new Properties();
              props.put("mail.transport.protocol", "smtp");
              props.put("mail.smtp.host","pcsttc.patni.com");
              props.put("mail.smtp.port","25");
              props.put("mail.smtp.auth","true");
              props.put("mail.smtp.starttls.enable","true");
              Session session=Session.getDefaultInstance(props,new MyAuthenticator());
              session.setDebug(true);
              MimeMessage message=new MimeMessage(session);
              try{
                   message.setContent("Hello....","text/plain");
                   message.setSubject("Testing Mail");
                   Address strTo = new InternetAddress("[email protected]");
                   Address strFrom = new InternetAddress("[email protected]");
                   Address strReplyTO = new InternetAddress("[email protected]");
                   message.setFrom(strFrom);
                   message.setReplyTo(new Address[]{strReplyTO});
                   message.setRecipient(Message.RecipientType.TO,strTo);
                   Transport.send(message);
              }catch (AddressException e)
    //               TODO Auto-generated catch block
                   e.printStackTrace();
              }catch (NoSuchProviderException e){
    //               TODO Auto-generated catch block
                   e.printStackTrace();
              }catch (MessagingException e){
    //               TODO Auto-generated catch block
                   e.printStackTrace();
         protected PasswordAuthentication getPasswordAuthentication()
              return new PasswordAuthentication("[email protected]", "sid35789");
         public static void main(String [] args){
              new SendMailServlet().sendMail();
    ERROR :
    DEBUG: setDebug: JavaMail version 1.3.1
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth true
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
         class javax.mail.AuthenticationFailedException
         at javax.mail.Transport.send0(Transport.java:218)
         at javax.mail.Transport.send(Transport.java:80)
         at test.SendMailServlet.sendMail(SendMailServlet.java:59)
         at test.SendMailServlet.main(SendMailServlet.java:81)

    Sangyesh wrote:
    In my application,we already implemented it so we cant go for javamail.That does not make sense. Your 'implementation' does not work so you have not yet fully 'implemented' it. Using Javamail takes about 4 lines of code to do what you have done so far and it will work.
    Please suggest me regarding this,so that I can go ahead and resolve it.Use the Javamail API.

  • Installation on a DELL Inspiron 6400 Laptop - PROBLEMS!!!!

    Hi All,
    I'm a newbie to Solaris 10 and decided to install the OS on my laptop with XP, OpenSUSE 11, Open Solaris and finally Solaris 10. When i have finished the complete installation, Solaris will re-start and i select Solaris 10 and eventually i get a sendmail error message, which i Ignore and i wait for the desktop login screen to appear before i log in. However, im constantly waiting and nothing happens and there is no GUI and its just hangs. Is anyone experiencing this problem and if they have managed to fix this i would very much appreciate all the help i can get!!
    Regards,
    Sunil

    I found this website very helpful while I was installing my Solaris software and encountered some problems. You can also check it out in here. http://docs.sun.com/app/docs/doc/817-0544
    Liza

  • Suddenly. cant send email messages in Firefox but can in IE

    ''Suddenly'', when I try to mail any message or save it as a draft using Peoplepc webmail and MS Outlook Express via FireFox I get a message "Sendmail error. Your message may not have been sent. Try again" If I use IE Explorer everything works fine. Can anyone assist to resolve this?

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • Unable to start GUI

    I have an Ultra 45 installed with an XVR-2500. I have attempted to install both Solaris 10 01/06 and Solaris 10 06/06, and both times I have had real issues getting the GUI login to work.
    During install, I have no problems with the GUI. It is only after the install that problems occur. Sometimes they happened on first boot, sometimes they occur later, but inevitably I get dumped to the text console.
    I have attempted to add the flag "-dev /dev/fbs/kfb0" to "/usr/openwin/lib/X11/xdm/Xservers" and "/usr/dt/config/Xservers". I have switched hardware to the extent of actually swapping out machines, so a completely new system and new graphics card. No luck. All I get is the console login. I have looked in /var/adm/messages, /var/log/syslog, and /var/dt/Xerrors. The only thing that jumped out at me was in /var/dt/Xerrors:
    fbconsole: ioctl SRIOCSREDIR: Device busyI have googled around for that error message and nothing turned up.
    Any help would be greatly appreciated. Oh, and I have seen the threads that suggest 'kdmconfig', but unfortunantly that is only available on x86, not SPARC.

    Solved my own problem, but it wasn't obvious so here's the solution for anyone else who has similar problems:
    My box was setup to eventually join a network, but I was setting it up without any connection initially. I discovered that the problem was that the GUI would eventually come up, but only after six minutes of waiting at the text-only prompt. I discovered the length by simply waiting in front of the screen, counting the minutes until the GUI popped up.
    The only messages I saw were a series of sendmail errors complaining about not being able to discover a fully qualified domain name for the host. I'd seen those in the past on other systems, but they had ultimately been irrelevant on those machines so I ignored them. But just after the last error message in the series, the GUI came up. Deciding that fixing that error might lead to something, I added the FQDN into the hosts file. Reboot and instantanious GUI.
    For some reason Solaris 10 prevents the X server from starting until after the sendmail server has started or timed out. Hopefully this will solve someone else's headache.

  • How to send mail faster?

    I am using JDK1.4 with the latest JavaMail API. I am sending out emails (to different subscribers but with the same email content). However, on my 2.7ghz machine it seems to only send out around 7 emails a second. Anyway i can send it out faster? I send the emails to Communigate. This is the method that is recalled to send each email, 12,000 need to be sent out:
    private void sendMail(AlertSubscriber pSubscriber) {
    AlertSubscriber subscriber = pSubscriber;
    MimeMessage msg = null;
    Address toAddr = null;
    if (subscriber != null && fromAddr != null) {
    try {
    System.out.println("sending email to " + subscriber.getEmailAddress());
    msg = new MimeMessage(session);
    msg.setContent(subscriber.getEmailBody(), "text/html");
    msg.setSubject(subscriber.getEmailSubj());
    toAddr = new InternetAddress(subscriber.getEmailAddress());
    msg.setFrom(fromAddr);
    msg.addRecipient(Message.RecipientType.TO, toAddr);
    msg.saveChanges(); // implicit with send()
    transport.sendMessage(msg, msg.getAllRecipients());
    catch (Exception e) {
    System.out.println(
    "Channel - sendMail() error building and sending out email to " +
    subscriber.getEmailAddress() + " .id is " + subscriber.getId() +
    " . Error: " + e);
    }

    You have a couple of options as I see it:
    Segment your 12,000 subscriber list and create a thread for each segment. So, you might have 12 threads with 1000 emails each.
    The issue however is likely to be your SMTP server rather than java. A lot of SMTP servers are multi-threaded, however they may process an outbound queue sequentially. I've found in the past that Java will finish sending mails, but the SMTP server still have them in the queue and will process them when it can.
    If you are finding that Java itself is taking a long time, this should be helped by multi-threading as described above, however you may also benefit from using multiple outbound SMTP servers. They don't necessarily have to be different servers, just different processes on the same server. Of course having separate servers would also help

Maybe you are looking for

  • Received the error when updating to inDesign 2014 "Unable to extract to temp directory."  c

    Received the error when updating to inDesign 2014 "Unable to extract to temp directory."  Anyone have a fix for this?

  • XML Messaging through firewalls

    Hi ! Please let me explain to you my problem and should you know the answer, please post it, I'm at my wits end : I am developing a client / server structure for a distributed game using Applets. I am required to do either the server and the client.

  • PowerMac G5 Quad doesn't start up (crashes and fans become real loud)

    Hi all, I started having problems with my PowerMac G5 Quad 2.5GHz (late 2005) about a week ago. First I found the computer with the fans running at full speed (really loud) after leaving the computer alone for a while (instead of going into Sleep mod

  • Power Cover stops working pretty much as soon as it starts

    So, as soon as I touch the screen or use an external mouse, the power cover stops working. If I only use the keyboard or touch pad it works fine. When it stops working the Event Viewer has any of a few messages but the most often one is that a device

  • Help with Order creation

    I have a Workflow.... There I have component Siebel Operation (BC is Order Entry - Orders Operation is Insert) It's work successfully BUT I need to create Order and when I'm creating fill some fields with my data...Now it's creating without filling f