w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Connecting to my company mail server
You could you outlook.com's web based interface to connect to POP3 accounts, similar to what you do in outlook express. Similarly you could add your email as additional account in gmail too.

Categories : Email

Connecting to remote server with pgadmin
Specify a different local port in the script. The specified port is already in use by something else, possibly a local PostgreSQL running on port 5433. That's really just a toy wrapper around an SSH tunnel. Personally I tend to just fire up the ssh tunnel directly when I need that, or ssh into the remote machine and use psql on it locally.

Categories : Postgresql

Connecting to a remote machine through client-server
You say the other machine has an external ip address. This implies it also has a local ip address; ie it is behind a NAT firewall or similar. In this case, you will have to configure the firewall to allow communication to take place, eg by setting up port forwarding. Applications such as MSN Messenger, VOIP clients etc have elaborate mechanisms to negotiate this automatically, but they're often not very successful.

Categories : Vb.Net

Connecting to a remote database server at run time
I don't know what type of application you're creating. But you can add a key to the config file at runtime and recall it next time the application is run. System.Configuration.Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); config.AppSettings.Settings["connectionString"].Value = "<connectionstring>"; config.Save(ConfigurationSaveMode.Modified);

Categories : C#

Problems connecting to a remote server and performing a simple db query
Log on to your database server, check the details and obtain the correct server information such as server, username and password. Once you change the server details you shoudl be ready to rock n roll. Edit post with the host name/server name and we may be able to find it for you. You'll have a phpMyAdmin page where you're hosting the site. Check the membership area or cPanel.

Categories : PHP

Connecting to a Remote Server on a different domain -- how do I enter the username and password?
According to Microsoft it should be possible. You need to authenticate against the remote domain, though, e.g. like this: computer = "..." username = "OTHERDOMAINuser" password = "..." Set locator = CreateObject("WbemScripting.SWbemLocator") Set wmi = locator.ConnectServer(computer, "rootcimv2", username, password) wmi.Security_.ImpersonationLevel = 3

Categories : Vbscript

Unable to get emails sent by PHP mail function because of another mail server
The first thing to establish is how you are sending emails (sendmail or SMTP). Then, whether your emails are a) not sent at all or b) getting rejected by the destination mail server. I'd check all available logs (source and destination mail servers and daemons). See if mail() itself is erroring. Try using sendmail/smtp directly. If its the destination server rejecting the mail based on its spam score, try setting SPF records to enable the web server to send mail legally.

Categories : PHP

unable to connect to remote server c# while sending mail
can you try shortening your code to something like the following var smptClient = new SmtpClient("smtp.gmail.com", 587) { Credentials = new NetworkCredential("isavepluscom@gmail.com", "123456789"), EnableSsl = true }; smptClient.Send("isavepluscom@gmail.com", "test@gmail.com", "Testing Email", "testing the email");

Categories : C#

asp .net mail function for godaddy server
The issue you're experiencing with your script can be narrowed down to this code snippet: smtp.Host ="smtp.gmail.com";`` smtp.Port = 587;`` smtp.EnableSsl = false;`` smtp.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;`` smtp.Credentials = new NetworkCredential("mail@gmail.com", "password");`` smtp.Timeout = 20000;`` You would be unable to use a 3rd party mail server. You're currently trying to pass data to a gmail.com account which is not allowed within GoDaddy's network. You would need to use an email address other than one created from the larger free email accounts (such as gmail.com/yahoo.com/msn.com/live.com or the like) you would want to create an email from say within your account and utilize that. After you have done that, you would then

Categories : Asp Net

Mail function not working on online server
yes i make a mistake on From first i write this $headers .= 'From: domain' . " "; Now this is correct $headers .= 'From: Domain <info@domain.com>' . " "; Thanx to all of u specially "RiggsFolly" & "Dale"

Categories : PHP

Error unable to connect to remote server when upload file to remote server
Using the FTP protocol requires a dedicated FTP server software running on the remote machine. FTP cannot access network drives without it. If you just want to access files on your network, start with this SO question: Copying files to a mapped drive while user is not logged in (scheduled task) For security reasons, I strongly recommend a few steps before: a) Do not open root shares like C$. b) Create specific shares on your "remote" server, where you grant access only to users for that specific purpose. Further reading on FTP: http://en.wikipedia.org/wiki/File_Transfer_Protocol

Categories : Vb.Net

Running a function on a remote server via SSH in a script
There's no straightforward way to do that. But you can extract all the function definitions and inject them as a command at the beginning of your remote command: ssh "$user@$machine1" "$(declare -f); main" Notice that you still might have problems with global variables and other resources.

Categories : Function

imagettftext function using font from remote server
first download the ttf file $font = file_get_contents("http://themes.googleusercontent.com/static/fonts/abel/v3/RpUKfqNxoyNe_ka23bzQ2A.ttf"); file_put_contents("font.ttf", $font); //be sure to save the font in the path you have provided as font path. then you can safely use "font.ttf" with imagettftext imagettftext($im, 20, 0, 11, 21, $grey, "font.ttf", $text);

Categories : PHP

Warning: mail(): SMTP server response: 550 This is a submission only port. You must authenticate before sending mail in
php.ini & SMTP= - how do you pass username & password PHP mail() command does not support authentication. Your options: ...

Categories : Email

Switched exchange servers, kept the same e-mail but some incoming mail is still going to the old server
I'm assuming that you changed the MX records for your domain, so that they now point to Microsoft 365's mail servers, correct? If so, it may take a day or two for the DNS changes to propagate.

Categories : Email

Client to Server Remote Function Calls in Python. How to implement?
There is a great tutorial for twisted that will do just fine as a teaching tool (and guide you by hand in writing a basic server/client services). Have a go at it http://twistedmatrix.com/documents/current/core/howto/tutorial/ what you will probably want to do is parse received info and act accordingly.

Categories : Python

Connecting to remote tty using perl
If you can connect to the remote host via SSH, you can also get your Perl script to run on the remote host. Maybe as a daemon. Then each script talks to the devices via local ttys, and they could talk to each other over TCP or UDP sockets, using a protocol you define.

Categories : Perl

Session timeout during connecting Hotmail account with Java mail API
Are you leaving the connection open for long periods of time without doing anything? Are you opening and closing the connection frequently over short periods of time? Servers have lots of ways of preventing you from "abusing" their resources. You may be running into one of them. Or, maybe you have an unreliable network connection? See the JavaMail FAQ for debugging tips; the debug output might provide more clues as to why it's failing. Also see the list of common mistakes; you can simplify your code.

Categories : Java

connecting a remote django app to postgresql on openshift
You can do a reverse port forward from OpenShift to your other server OR you can port forward from your server to the OpenShift server - but there is no direct DB access. Direct access would require exposing your database to the outside world and is generally considered bad security practice

Categories : Django

Connecting directly to remote MySQL database in iOS
You need to create a web service that will expose a set of APIs that are then use by your iPhone app to push/pull data. You may then choose to cache the data locally (on the iPhone) in a sqlite3 database. The most common data transfer formats are JSON and XML.

Categories : Mysql

Connecting to remote MySQL from local machine
I'm not sure why they would say not to add 127.0.0.1 - that's the local machine, which means that people from the outside can't access it. So you have skip-networking turned on and you're connecting through a local UNIX socket? Are you sure it didn't say not to add anything other than 127.0.0.1? Do you have SSH access? If so, you can easily use SSH tunneling so that you'll only have to connect locally with a command like ssh -L 3307:localhost:3306 -N yoursever.com Then you connect locally on your home machine to port 3307 (you can make this 3306 but you said you develop your database locally as well, so in that case you'd need a different port). Then the packets go through SSH and magically appear at the database, looking as though they had come from the same machine. The security th

Categories : Mysql

connecting to SQLSERVER database without remote connection
I guess I somehow need to force the other company to allow remote connection with us. Am I wrong? Very wrong, you hardly ever need remote connections to a database. An HTTP service in front of the database is the way to go. Would you otherwise hardcode the database credentials in the application you distribute and hope the T-SQL TCP port is opened for outgoing traffic in the user's firewall? since i dont know any of the table names this is nonsense Then ask them for a diagram. even if I write a .net web service or web application is it possible to publish it over an ftp? Of course, why not?

Categories : Dotnet

Connecting to remote machine without username/password
You have to use interop to use the Credential Management API in .NET: http://www.microsoft.com/indonesia/msdn/credmgmt.aspx

Categories : C#

Connecting to a remote database from Azure Websites
Are you using the default MySQL Database from Web Sites? If so, could you be hitting an issue with the maximum concurrent connections? The default database allows up to 4 concurrent connections. If you want to upgrade to a larger database you can do so from the provider ClearDB

Categories : Mysql

zimbra doesnt receive mail from php mail function
Check logs on Zimbra MTA server, it's located at: /var/log/maillog Check if you see you php-server trying to reach Zimbra. You may get blocked cause Zimbra think you php-server is sending spam, or fail on one of many checks. Either way, the maillog should say something about it.

Categories : PHP

Connecting to remote services from multiple threaded requests
Since memcached have syncronous protocol you should not write next request before you got answer to prevous. So, no other thread can chat in same memcached connection. I'd prefer to make thread-local connection if you work with it in "blocking" mode. Or you can make it work in "async" manner: make pool of connections, pick a connection from it (and lock it). After request is done, return it to pool. Also, you can make a request queue and process it in special thread(s) (using multigets and callbacks).

Categories : C++

Glassfish, EC2, Swing Application not connecting to @remote interface
You should still be able to add an entry to your hosts file for your eIP - have you tried that? EC2 instances all have a public IP and a private 10.X.X.X address. The eIP replaces the public IP address and is fixed (until you disassociate it). The alternative with AWS, which will allow you to have a fixed private IP too, is to deploy to a VPC. Amazon have some very good documentation on VPCs. What you're getting, in a nutshell, is comparable to a local network, so you can just pick your CIDR block and create subnets, for example 10.0.1.0/24. Now, when you launch an EC2 instance, you can launch into that VPC subnet and choose the private IP. Along with your eIP, you now have both IP addresses (public and private) set permanently, unless you decide to change them yourself (for whatever re

Categories : Java

Exception connecting to Remote Solr Instance (407 error)
HTTP code 407 implies Proxy Authentication Required, you need to set authentication information while making connection to server via HttpClient: httpclient.getCredentialsProvider().setCredentials( AuthScope.ANY, new UsernamePasswordCredentials(username, password)); solrServer = new HttpSolrServer(solrUrl, httpclient);//with credentials you may like to check similar discussions: Solr - instantiate HttpSolrServer with Httpclient Solr 4 with basic authentication

Categories : Java

php - best practice to know whether mail function send mail or not
php.net description of mail function here states: Returns TRUE if the mail was successfully accepted for delivery, FALSE otherwise. It is important to note that just because the mail was accepted for delivery, it does NOT mean the mail will actually reach the intended destination. It's the right way to see if the message was accepted to be sent, but not to see if it indeed reached the recipient. You could always check the email you're sending from for a delivery error email.

Categories : PHP

sending mail from localhost using mail() function
You should not use the mail command, its quite unstable on windows and should in fact not even be used on Linux. You should use the PHPMailer Class by Worx of PHPMailerLite class. This connects to the SMTP Server. It's giving you a lot of extra options. You should try implementing the PHPMailer class for you own sake!

Categories : PHP

Trouble connecting the cassandra database via remote access through JAVA
I could ping the machine. But I could not access the machine using telnet in windows. The servers is linux machine. Do you have any idea ? Your firewall is blocking off the telnet port and probably the rest of the ports cassandra needs. You need to add an exception telling the firewall to open port 9160 (the client port). 9160 is the only port you really need to have open unless you want remote jmx management etc. To add an exception to your linux firewall: iptables -I INPUT -p tcp --dport 9160 --syn -j ACCEPT And if you want to save the state: service iptables save

Categories : Cassandra

Can I migrate remote SVN to local disk without exporting dmp files on remote server?
You can dump only latest revision range with the -r switch. svnadmin dump REPOS_PATH [-r LOWER[:UPPER]] [--incremental] [--deltas] and then you can load this increment in the new repository. Reference: http://svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.dump.html Example: http://www.vioan.ro/wp/2007/07/31/dumprestore-for-subversion-repository/

Categories : Svn

Remote PHP Debugging with Netbeans and XDebug (remote server)
Remember you need to set the Path Mapping in the Debugger tab inside Netbeans Options. Another little big problem I was having when trying to connect from NetBeans remotely was the SSH tunnel. You have to creat it for the port xdebug will work on, 9000 usually. If you experience network problems for a moment, the tunnel might "break" silently and NetBeans will be stuck in the holy "Waiting for connection..." state. In putty, you can right click and Restart Session, but this won't work. You will need to close the putty window and re open the session for it to work again. Hope it helps!

Categories : Misc

Can I use the Integrated Security option in a connection string if I'm connecting to a remote machine that's not on a domain?
Integrated security will only work when the machines are on the same domain (or a different domain with a trust) this is because SQL server has to contact a domain controller to authenticate a windows logon, which it can only do if it is a member of a domain. Just being connected to the LAN is not enough as although the machine may be able to physically connect to the domain controller, it will not be able to authenticate users against it.

Categories : Sql Server

Batch File Connecting to Server and execute program install on connected server
Here's a little code to help you connect to the SQL server and interrogate the SQL version. @ECHO OFF SQLCMD /? > nul 2> nul IF ERRORLEVEL 1 ECHO.SQLCMD not found on this machine & PAUSE & GOTO :eof SET SQLCmdLine=SQLCMD -b -w400 REM use something like the next line for NT authentication; second line for SQL authentication REM for NT SET SQLCmdLine=%SQLCmdLine% -E -S "YourServerName" REM for SA SET SQLCmdLine=%SQLCmdLine% -U "YourSQLUserName" -P "YourSQLPassword" -S "YourServerName" SET Database=YourDatabaseName REM I will use NT Authentication for this example SET SQLCmdLine=%SQLCmdLine% -E -S "(local)" SET TestSQLCmdLine=%SQLCmdLine% -h-1 -d "%Database%" REM this will get the SQL version %TestSQLCmdLine% -Q "SELECT @@VERSION" | FINDSTR /v "rows affected" REM this will

Categories : SQL

sqlsrv error while connecting to mssql server 2008 on windows 2003 server
Two ways to try, first to check if the Native driver has the right version - is your server really a 32bit Version and not 84bit? The other thing is, to check if the extensions are actually loaded. To check that, create a file like "phpinfo.php" and put it in you folder for .htdocs. <?php // show phpinfo file phpinfo(); ?> The easy way is to search for it in the phpinfo-Page with Ctrl+F and "extension=php_sqlsrv_53_ts_vc9.dll"

Categories : PHP

mail not sending when add cc in php mail function
just remove dot(.) symbol before and also double quotes. For instance: $headers = 'MIME-Version: 1.0 '; $headers .= 'Content-type: text/html; charset=iso-8859-1 '; // Additional headers $headers .= 'From: ABC <abc@gmail.com> '; $headers .= 'Cc: axyz@gmail.com '; Try the above code, should work.

Categories : PHP

Not receiving mail from php mail() function
I think the problem is that you are using single quotes, that's because when you use single quotes php does not interprets the escaping characters " ". So just change them to double quotes. More information here http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.double

Categories : PHP

Can't send mail through php mail() function
Your email did probably end up in the Spam folder. To avoid this, you can use PHPMailer and provide your credentials (username and password). Tutorial on PHPMailer: http://www.learnphp-tutorial.com/SendingEmailwithPHP.cfm#PHPMailer

Categories : PHP

What is the point of adding "IP domain.tld" to the ( /etc/hosts ) file if the server is not gonna be used as a mail server?
/etc/hosts file is an alternative to DNS host name resolution. It has nothing specifically to do with mail servers. But, to use a mail server it has to be found on the network. /etc/hosts is a local lookup file that computer uses as specified in /etc/nsswitch.conf. DNS is a network service provided for each domain. For example, BIND. Domain zone files are configured and hosted on the domains primary DNS servers. You can configure domain searches in /etc/resolv.conf.

Categories : Linux



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.