Cfmail  - works locally but not when uploaded

Hi,
I'm using cfmail with form variables for the email addreses.
It's so users can send email to political candidates. Here's the
code:
<cfoutput>#Form.semails#</cfoutput>,<cfoutput>#Form.hemails#</cfoutput></p>
<cfmail to="#Form.semails#,#Form.hemails#"
replyto="#Form.useremail#" failto="[email protected]"
from="#Form.useremail#" subject="Keep Maine Toxin-Free!"
server="mail.nosuch.com" port="26" timeout="40"
username="[email protected]" password="nosuch">
#Form.usermessage#
</cfmail>
The form submit page collects those variables and passes them
as form variables - GET. The "to" field in cfmail is populated by
hidden fields that contain session variables... they're forwarded
on as those .semails and .hemails form variables. Actual values
have been replaced with "none" or "nosuch" for security, but you
can see the structure anyway.
This works when run locally, sends the emails as it should.
When uploaded exactly as is to godaddy's server, it doesn't send
emails. Doesn't throw any errors, the form results page displays as
it should... but the emails just never get sent.
I'd really appreciate any ideas...
Joe

Adam Cameron wrote:
> I don't know how these shared hosting outfits work, and
what access you
> have to what, but here's some questions:
>
> - have you inspected the mail logs to see if they cast
any light on the
> scene
> - have you configured CF to tell it where the SMTP
server is?
> - do you need to authenticate to it, and that sort of
thing?
> - are the email messages failing @ the CF end (in which
case they'll be in
> the mail/undeliverable dir (not entirely sure that's the
name of it, but
> have a shufti around in the cfusion dir...), or are they
getting to the
> SMTP server and failing there (check the SMTP server's
logs).
>
Unfortunately all that can't be done by us users of these
shared hosting
outfits. You'll need to contact GoDaddy support and ask them
to take
these steps. I'm sorry about your probably experience with
this.
While I use GoDaddy for my personal hosting where I care more
about not
spending a great deal of money over high performance. I do
not wish my
support experiences on anybody. If you know ColdFusion well
and can
tell support what needs to be done, they should be able to do
it. Or,
more likely, you would be able to figure out the self help
tools to do
it yourself. But, unless this has changed since my last
experience,
their support staff is not ColdFusion literate and are unable
to guide
other, inexperienced ColdFusion users.
Saying all that. Email works just fine on my GoDaddy website
and I do
not believe I had to do anything special to use it.

Similar Messages

  • Flv player works locally but not when uploaded

    Another day, another issue...
    I have a flash movie that includes an flv player with previews and buttons. It reads the content from an xml file.
    It works without problem when I test it locally. Trouble is when I upload it, everything displays correctly but the flv movie file doesn't play. Here's the test link:
    http://www.swsoftware.com/ncjhs/assets/video/flvplayer.html
    XML file is http://www.swsoftware.com/NCJHS/Assets/Video/video.xml
    Flash file is http://www.swsoftware.com/ncjhs/assets/video/flvplayer.fla
    Anyone have any suggestions? I'm new to flash and this forum has been a tremendous help in resolving my (somewhat numerous) problems.
    Sam

    When I tried to view the posted url I got the following
    errors in the order I have listed them.
    CSInit is undefined Line 23
    Line 75 Object Expected
    Line 66 Object Expected
    My Platform.
    IE 7
    Windows XP Pro

  • Flash site works locally but not online (uploaded to server)

    We have bought a flash portfolio template and have customized it with our pictures, video, etc.
    When we test it locally on our computer (using different web browsers) it all works perfectly well. We have uploaded the finished website to our server and when you go to the address online, it doesn't work (a loader progress shows but it is stopped and nothing happens).
    We have however uploaded the original template we bought and it works perfectly online.
    The template consists of and index.html, various .swf, and various .xml that we have modified according to the template instructions (it also contains a java script folder we haven't touched).
    What is it wrong with our modified template - it works locally without problem…!
    Thanks for your help

    When a Flash file works locally but not on-line, it's almost always a pathing issue (provided you did upload ALL files and do not have something missing... as suggested by Ned).
    A "pathing issue" results when the main .swf cannot find one or more of the associated Flash files...like an xml file or images.
    It can be something as simple as using switching file names to all lower case. Local machine is not case sensative... most servers are. So "My Photo.JPG" is not the same as "my_photo.jpg". When naming files, best to use all lower case, no spaces in any file or folder names... use_underscore_instead.
    But the most common cause is that those associated files (xml, images, etc.) are not pathed relative to the Web page where the main .swf is embedded. Pathing to the .xml and image files should be as though the .swf was located in the same folder as the Web page... NOT the actual location of the .swf file.
    And that includes paths to the xml file and paths to image files coded into those xml files. Everything need to be coded relative to the Web page.
    This topic has been covered a number of times here:
    http://forums.adobe.com/message/4368273#4368273
    http://forums.adobe.com/message/4294529#4294529
    http://forums.adobe.com/message/4280086#4280086
    http://forums.adobe.com/message/4267408#4267408
    Best wishes,
    Adninjastrator

  • Azure SQL database working locally but not when published to Azure

    I have an
    AngularJS  solution that is connecting to a SQL Azure database.  When
    I run the solution locally, it’s configured to connect up to the SQL Azure database, the solution works fine. However,
    when I publish the solution to Azure the connection to the SQL Azure database does not work.
    When debugging with Chrome I get the error Failed to load resource: the server responded with a status of 500 (Internal Server
    Error) 
    I'm not using EF. but dapper.
    My connectionstring is as follows
    <add name="PortalConnection" providerName="System.Data.SqlClient" connectionString="Server=tcp:xxx.database.windows.net,1433;Database=xxx;User ID="xxx";Password="xxx";Trusted_Connection=False;Encrypt=True;Connection
    Timeout=30;"/>
    When I run the web solution locally from Visual Studio, my sql queries runs like it should, it's only the published version having problems. 
    Any ideas?
    Software Developer

    Hi,
    Thanks for answer.
    I had followed that step by step guide for deploying to Windows Azure. So that was not the problem.
    But I was able to get a better error message by turning off custom error in web.config.
    I got the error message: "Windows login are not supported in this version of SQL Server"
    I solved this by using the SqlConnectionStringBuilder instead of getting the connection string from 
    web.config.
    So everything works great now, just think it's strange it worked locally before..
    Regards
    -entery
    Software Developer

  • Var Request Works Locally but not when Placed Online

    When I run this code on machine locally, it works perfect, however when I put it online it no longer works, can anybody help?
    Additionally the only the reason i placed the var request in a function was because I have another var request earlier in the code as was not sure how to run it without a duplicate entry error.
    goresult();
    function goresult() {
         var request:URLRequest=new URLRequest("http://www.whichpartyshouldivotefor.co.uk/wp-content/themes/test/leadingparty.php");
         request.method=URLRequestMethod.GET;
         var getresult:URLLoader = new URLLoader();
         getresult.dataFormat=URLLoaderDataFormat.VARIABLES;
         getresult.addEventListener(Event.COMPLETE, completeHandler);
         getresult.load(request);
    function completeHandler(evt:Event) {
         var conservativeresult=evt.target.data.conservative;
         var libdemresult=evt.target.data.libdem;
         var labourresult=evt.target.data.labour;
         trace (conservativeresult);
         vote.text = conservativeresult;

    My best guess is that you are coming across a security sandbox violation - AKA a crossdomain scripting error.
    This means that you need a crossdomain.xml on the root of your web-host that allows "whichpartyshouldivotefor.co.uk"

  • Preloader: works locally but not when live

    1. give that you have website A, website B and local
    directory structure
    2. give that you have a class based (see code snippet 2
    below) 444k swf
    sitting on website A
    3. give that you have a preloader swf on the local directory
    structure
    [that uses code in CODE SNIPPET 1]. _debug.text shows that
    bytes total is
    454103 and that the preloader rises smoothly up to that
    point. great!
    4. give that you move said preloader swf on to website B.
    _debug.text
    shows that bytes total is -1 for a bit, then undefined
    and.... that's
    about all until the swf actually finishes loading at which
    point we
    briefly see 454103 before displaying the swf
    eh?

    ok, the trick is to use MovieClipLoader instead. its
    onLoadProgress method does just the job you want... :)
    thank &*$£ for that. :)

  • [AS3] EventDispatcher works locally but not remotely

    Hi,
    I am very new to Action Script and have the following
    problem. I hope someone can point me in the right direction.
    I have a small video player app. I have added the FLVPlayback
    component to the stage and set some properties via action script
    (AS 3)
    I then instantiate a class to go and retrieve some XML,
    register an eventListener to wait for the XML to be loaded and once
    the event has fired, load the FLV file (just hard coded at the
    moment) into the FLVPlayback object.
    This works when testing in the Flash IDE but not when I
    publish the movie to my webserver. I have tried commenting out the
    player.load() and just adding a textfield and again this works
    locally but not when I publish to the webserver. I have included
    some code snippets below.
    Can anyone tell me where I am going wrong?
    Any pointers much appreciated.
    Thanks
    Martin

    Hi,
    I found the problem if anyone has the same issue. I was
    passing some FlashVars in incorrectly using the
    AC_RunActiveContent.js that comes with Flash. I have switched to
    swfobject and all is well.
    thanks

  • Swf works locally, but not on server

    I have an issue with an xml-driven swf file. It plays fine when I test the site locally, but not when it's uploaded to a server. Here is a link to the page. There are many posts on this and other forums describing the same problem, though I can't find the right solution. The only thing it has convinced me of, is that it is probably a pathing problem. I purchased the file online, and instead of one swf and one xml there are about ten of each to make it work. In addition to this there are about 40 .as files. (all this to make it "easier" to customize).  Since I plan to use this banner rotator on multiple pages, it will be very unconvenient to upload all these files for every page I make. I checked with support for this product, and was told I could make a flash directory, only duplicating the xml-files for each new page and linking the xml back to the swf-files. Otherwise the support answer was very short and unhelpful. I have renamed every path in the xmls so that it should be right. As I said, the file works locally, so I'm not sure what I am doing wrong.
    I have posted in adobe forums before, and I have alwas found helpful and kind responses.
    Thank you,
    Siri

    They're all uploaded to the server, it is also possible for me to dowload them from there. When i run the main swf file through flash player debugger, I get this message:
    Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/xml/abrMain.xml
              at com.sQrt121.utils::CustomLoader/configureLoader()
              at com.sQrt121.utils::CustomLoader()
              at com.sQrt121.utils::LoadJob/initJob()
              at com.sQrt121.utils::LoadJob()
              at com.sQrt121.utils::ContentLoader$/addJob()
              at AbrMain/init()
    So I guess it can't locate the xml folder (since it is not there), but I don't know how to change the path. I can change it in the xml, pointing to the swf, but how do I do it the other way?
    This is the main xml-file:
    <?xml version='1.0' encoding='UTF-8'?>
    <abrMain
              width                              = "300"
              height                              = "250"
              pauseOnOver                    = "off"
    >
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrcontent.swf"                                    xml = "xml/abrContent.xml"                                        config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrbuttonscolor.swf"                               xml = "xml/abrButtonsColor.xml"                                        config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrpreloadercircle.sw f"               xml = "xml/abrPreloaderCircle.xml"                              config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrpreloaderline.swf"                               xml = "xml/abrPreloaderLine.xml"                              config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrplaypause.swf"                               xml = "xml/abrPlayPause.xml"                                        config          = "xml/config.xml"/>
    </abrMain>
    the abrMain.xml tells the swf what files it shold use, and where to find them, but where do I tell the abrMain.swf to find the xml? Maybe this is an issue for product support instead, though they only answer short and cryptic.
    Murray *ACP* wrote:
    None of your SWF files are found in the location where the page's code places them.
    For example:
    <param name="movie" value="../../../flash/produkter/deploy/abrmain.swf" />
    Did you upload them?

  • cffeed caching works locally but not on server

    So I got my new Hostek account set up (woohoo!) and I've started uploading some basic files so I can do thinks like validate my code and make sure everything's working.  One thing that does not work (but does locally) is my news feed caching.
    Pulling in two RSS feeds was seriously slowing down my index page loading, so I stole a trick from Ray Camden on caching the feeds.  It works perfectly on my dev machine at home, but doesn't work on my hosted account.
    Here's the exact code being used:
    <cfset feedurl = "http://velonews.competitor.com/feed">
    <cfset cacheTime = #createtimespan(1,0,0,0)#>
    <cfif not structKeyExists(application,"rsscache") or dateDiff("n", application.rsscache.created, now()) gt cacheTime>
        <cffeed source="#feedurl#" query="entries">
        <cfset application.rsscache = structNew()>
        <cfset application.rsscache.data = entries>
        <cfset application.rsscache.created = now()>
    </cfif>
    <ul>
    <cfloop query="#application.rsscache.data#" startrow="1" endrow="6">
    <cfoutput><li><a href="#rsslink#">#title#</a></li></cfoutput>
    </cfloop>
    </ul>
    I tried wrapping a try/catch around the top section (above the <ul>) and still got nothing for an error message.  The page just stops being rendered at that first <ul>.
    I'm not sure why it works locally but not on the web server.  Any ideas?

    Miraculously, I got it working.
    I changed this:
    <cfloop query="#application.rsscache.data#" startrow="1" endrow="6">
    <cfoutput><li><a href="#rsslink#">#title#</a></li></cfoutput>
    </cfloop>
    To this:
    <cfoutput maxrows="6" query="application.rsscache.data">
    <li><a href="#rsslink#">#title#</a></li>
    </cfoutput>
    And bingo!  It worked. Perhaps it's an idiosyncrasy between CF9 and CF10.

  • Facetime works local but not long distance

    i have been using facetime for 2 years.  Last week (soon after upgrade 8.2)  my service became intermitant.  it works locally,  but long distances it is ringing but no one is answering...
    I am using airport extreme....so not sure if its extreme or something else causing this...

    chris,  thanks so much but i think it has to do with port somehow.
    since i am out of the us it works fine in where i am at,  but trying to get to the us in just rings off the hook and no one can pickup....so it gets a notification that the call is coming through but ends at that point.....and i am just pushing voice only not video.
    other people where i am at use facetime and are able to talk to people in the US...I have been doing so until 1 week ago,  when i downloaded 8.2   Thanks for your reply looking forward to understanding what else i can do......
    ps already installed firmware in extreme...but didn't solve the issue.

  • My iPad only has sound when the earphones are plugged in. The switch that controls the volume works then, but not when I take the earphones out. Suggestions?

    My iPad2 only has sound when the earphones are plugged in. The volume switch works then too, but not when I take the earphones out. Suggestions?

    it's a hardware issue
    https://discussions.apple.com/thread/1343532?start=315&tstart=0
    more here
    iphone stuck in headset mode

  • Site Displays Perfectly in DW Preview But Not When Uploaded

    Hi,
    I have a site which displays fine in IE, both the CSS and
    XHTML validate and when I use the FF preview in looks just fine.
    However when I upload the site to the server, the footer and a
    couple of images are missing and I'm just can't figure out why. All
    the paths are correct but I just can't figure out why it displays
    correctly in the preview FF and it's not when uploaded and viewed
    in FF. Site diplays in IE without any problems via preview or
    upload.
    Any help?

    I think you'll need to post a link or some code.
    Regards
    Martin

  • IWeb snippets working  locally but not working when uploaded to ISP

    I am using iWeb 3.0.2. When I add an HTML snippet to a page to add an item to a shopping cart [ADD TO CART], then publish and view site, the snippet works perfectly.
    However when I upload the page to the ISP, the snippet is not displayed even though I can see all the necessary 'widget1_markup.html' present in the page source, and when I browse for that widget URL it is present.
    Is something missing from the ISP to process this type of facility, or is it something else.
    Your suggestions gratefully received.

    Welcome to the Apple Discussions. 3What's the URL of your site so we can examine it first hand? While this is just a guess without looking at your site I'd say that not all of the files in your site's Scripts folder are getting uploaded to the server.
    How are you uploading the files? With iWeb's FTP client or a 3rd party client? If it's iWeb's client, publish your site to a folder on your hard drive and use the free Cyberduck client to upload the files.
    OT

  • Sound works when testing, but not when uploaded

    I used the Behaviors pallet to stream my mp3 files, and it
    works fine when tested locally, but as soon as I upload everything
    and test it online, nothing plays. The site is
    www.spidersandsnakes.net/media08.htm.
    Any ideas?

    I suspect this is where my issue lies, but I am not sure how
    to fix it. I have attached some code that defines the image
    location. I am able to successfully retrieve documents with the
    following, is this the same type of scenerio,
    http://www.skytitleagency.com/documents/Land_Contract.doc,
    except in the images folder ?

  • XmlSocket works locally but not on webserver

    Hey, so I have an xmlsocket sending info to another server and that all works fine when I test in on my computer (locally) but when I upload the site to my server, the socket fails to connect. I have heard about policy files but dont really understand where to put it and if it's necesary considering it works fine locally. So I am wondering why it won't work on my server, Any ideas?

    waynecto wrote:
    > I'm using flash 7. My application is a weather bug on a
    portal page. I'm
    > getting the feed from yahoo and compile the application
    using
    > System.security.allowDomain("
    http://xml.weather.yahoo.com/");
    and it is working
    > fine when I'm testing from my local machine.
    Well, that has to work both ways. On your site and On the
    giving data server side.
    It needs XML file on the root of the directory allowing you
    to take the data.
    Otherwise we could cross domain people traffic w/o their
    consent.
    So, I don't expect yahoo to drop such xml just for you and
    because that's the case,
    you will need to work around it using proxy on your domain.
    When you request the file from your domain, your domain
    requests it from yahoo and
    hands it off as if it was yours. That's the only way around
    it.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

Maybe you are looking for

  • Auto GR Receipt based on ASN Quantity

    Hi Friends, Can you please tell me, in which BADI, I can write code for following steps 1. Check the Shipping Quantity in the ASN ( Advance Shipment Notification )and   the Order Quantity in the PO 2. Check the tolerance 3. If the Shipped Quantity is

  • Can't connect to an ac.uk address.

    I Have had huge problems with internet connection recently. Im back online again with the help from an apple advisor but my computer wont connect to an ac.uk address - just says 'problem loading page' and 'server not found'. I can connect to this add

  • Is the JHeadstart 10.1.2 for ADF (Evaluation Copy) now available, or not ?

    Hi Sandra, Along the link Evaluation Copy of Oracle JHeadstart elease 9.0.5.1 you get the page: http://www.oracle.com/technology/consulting/9iServices/soft10g.html Quote: "Oracle JHeadstart 10g (release 10.1.2) Evaluation Copy Download If you want to

  • Different messages on COMMIT_FORM ,when form is opened from another form

    hi, problem is when open form from another form. After change some data and execute COMMIT_FORM, message is : No changes to apply. Interesting is that when exit and open form again, changes is SAVED !?. If open that form directly, message is that lik

  • Tutorial 7: Compiling Applications

    C:\medrec_tutorial\src\physicianEar>ant -f mybuild.xml Buildfile: mybuild.xml build: [java] Loading source file C:\medrec_tutorial\build\physicianEar\physSessio nEjbs\com\bea\medrec\controller\PhysicianSessionEJB.java... [java] Constructing Javadoc i