w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
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

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

how to export or import sql server database from sql server to mysql server through network
Try to use this script, which allows you to import data. You must specify the table name and run the generated code on your MySQL server. DDL: CREATE TABLE Labour.Employee ( EmployeeID INT IDENTITY (1, 1) PRIMARY KEY NOT NULL , IsMainWorkPlace BIT NOT NULL , TabelNumber VARCHAR(6) NULL , PersonID INT NOT NULL , DepartmentUID UNIQUEIDENTIFIER NOT NULL , DateIn DATETIME NOT NULL , DateOut DATETIME NULL , PositionID INT NULL , DatePension DATETIME NULL , IsLabourUnionMember BIT NOT NULL , FiringReasonID INT NULL ) Query: DECLARE @Table NVARCHAR(50) , @Schema NVARCHAR(50) , @ObjectID INT , @IsImportIdentity BIT = 1 , @IsCreateTable BIT = 1 DECLARE [tables] CURSOR READ_ONLY FAST_FORWARD LOCAL FOR SELECT t.name

Categories : Mysql

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

MX Records for Google Apps for Businesses Server + Another Mail server
To anyone seeing this post, I'll answer my own question: yes it's possible. You need to set up "Split delivery" in your Google Apps account. More about this here: http://support.google.com/a/bin/answer.py?hl=en&answer=173534

Categories : Misc

Whether to use WebSocket or Server Sent Event for sending notifications from server which retrieves social network presence in realtime?
Back to the basics. According to this page here: http://www.w3schools.com/html/html5_serversentevents.asp , Internet Explorer does not support SSE. So maybe there's a plugin that can wrap both functions for use in different browsers. Otherwise WebSocket. Your choice though.

Categories : Javascript

How to send emails from my server with a mail server and nodejs
I just had to do this as well, but I am running my node server on an Azure virtual Ubuntu Linux server. I imagine the same steps would work from your home server if you're running Ubuntu. Here is what I found worked: I installed the postfix email server using this guide: https://help.ubuntu.com/community/Postfix It looked like a lot of work at first, but it worked for me pretty easily. I found the easiest way to send the outgoing email from node.js was to use emailjs: http://github.com/eleith/emailjs.git I found that emails sent often end up being marked as spam. To help avoid this, you can go to wherever you manage your domain name (I use enom) and then configure an SPF record to help make your outgoing email look legit. Here is my node.js module to send emails using emailjs:

Categories : Javascript

Google Search Appliance Administration API
I was able to solve the issue by adding this small snippet of code wich did the trick. import java.io.IOException; import java.net.MalformedURLException; import com.google.enterprise.apis.client.GsaClient; import com.google.enterprise.apis.client.GsaEntry; import com.google.gdata.util.ServiceException; public class GsaFirst { static { //for localhost testing only javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier( new javax.net.ssl.HostnameVerifier(){ public boolean verify(String hostname, javax.net.ssl.SSLSession sslSession) { if (hostname.equals("Myhostname.net")) { return true; } return false; } }); } public static void main(String args[]) throws MalformedURLE

Categories : Networking

E-mail app/filter that copies E-mail from the body of the letter and auto replies to that e-mail
I would suggest checking out Google Apps Script. You can create a script just like you would create any other Google Document in Drive by adding the Scripts module from the app store (Scripts is free and created by google). You can also use the gmail API to do the same thing. Both are very well documented and provide a surprisingly high level of access to your emails and their content.

Categories : Email

Google Search Appliance Meta Value Arrays?
The new GSA version (7.0) allows for splitting up the values in metadata fields based on a seperator. In your case "|" seems to be the case. That will instruct the GSA to index those values as separate field/values like FIELD_NAME=VAL1, FIELD_NAME=VAL2 etc. From there on you can use these values in facets and/or fieldsearches with the requiresfields parameter.

Categories : Arrays

Use Google Search Appliance results as my own application
You can use XSL transformation to convert XML obtained from GSA into HTML. For an ASP.NET example refer: http://www.codeproject.com/Articles/469723/Rendering-XML-Data-as-HTML-using-XSL-Transformatio

Categories : Asp Net

sql server log shipping to remote server in different network
You can restore the .trn files using RESTORE LOG (WITH NORECOVERY). You need to do a full backup & restore (WITH NORECOVERY) of the database before you can restore any transaction logs. If you can setup a VPN, it's best to let SQLServer do the whole backup & restore & verify - the copy phase is pretty easy to override - just write your own copy SQLAgent job & disable the copy job that SQL setup for you.

Categories : SQL

Why I send a mail with PHP, but receiver get a mail with attachment named "mail.html"?
Did you use any headers? $headers = 'MIME-Version: 1.0' . " "; $headers .= 'Content-type: text/html; charset=iso-8859-1' . " "; // Mail it mail($to, $subject, $message, $headers); Don't use foxmail so no clue if it works...but if you didn't send headers it's worth a try.

Categories : PHP

Prob: SQL Server 2008 R2: Certificates tab not displaying in protocol properties (Server Config->Network Config)
My solution to this was that I was looking in the wrong place. I took these steps to resolve my issue: From SQL Server Configuration Manager, I chose Protocols for MSSQLSERVER, then right clicked on that and chose Properties. From there I found the certificates tab. Choosing the Cert was easy - done. On restarting MSSQL I got an error and it wouldn't start. Quick Bing and traced it to the fact that the account MSSQL is running on didn't have access to that cert. I went to the Cert MMC and then from there I chose the cert, right clicked and went to All Tasks->Manage Private Keys. From there I simply gave access rights to the SQL service account. Restarted the SQL service and voila! Problem solved.

Categories : Sql Server

PHP + mail server
On most cPanel hosts, you can set a forwarder to forward an email to a script when it is received. As long as your email is managed on the same cPanel account, it will work great ... When you create the forwarder, you will set the forward to address as |/home/username/path/to/script.php Then the first thing you need to do in the script is receive the email from stdin: //Receive the email from stdin ... $fd = fopen("php://stdin","r"); $data = ''; while(!feof($fd)){ $data .= fread($fd,1024); } fclose($fd); //process email data ... I've done this on a number of cPanel hosts with great success.

Categories : PHP

Setting up mail server in pc
PHPMailer is a full featured email transfer Class for PHP supporting SMTP and POP3. So you not need to setup mail server on your pc. It works on localhost too. Class Features Probably the world's most popular code for sending email from PHP! Used by many open-source projects: Drupal, SugarCRM, Yii, Joomla! and many more Integrated SMTP support - send without a local mail server Send emails with multiple TOs, CCs, BCCs and REPLY-TOs Multipart/alternative emails for mail clients that do not read HTML email Support for 8bit, base64, binary, and quoted-printable encoding SMTP authentication with LOGIN, PLAIN, NTLM and CRAM-MD5 mechanisms Native language support Compatible with PHP 5.0 and later Much more! Githup Repo and more about it

Categories : Email

How to setup a mail server?
Install and configure an SMTP server. SMTP servers can usually be configured quite extensively, what to do with mails that should be deliverd locally. One such option would be to deliver the mail locally by invoking a ruby script. Popular SMTP servers are postfix, courier and qmail. The details about how to setup the mail server depends on which one you use.

Categories : Ruby

A simple mail server in C++
POP3 is a protocol (read RFC 1939), so you have to implement it in order use it. After connecting, the other side won't send you anything until you send the greeting message ("+OK your message here"). After that, you must establish a POP "conversation" with the remote client. Also, POP is used for retrieving messages from a server, so a client will connect to your proccess and try to download messages. You have to implement the SMTP protocol (read RFC 5321) in order to receive messages sent to you. SMTP is also a protocol, so you must implement it if you want the other side to send you the data.

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

Server error when sending mail via jsp
GAE comes with it's own SMTP server, so you do not need to set your own SMTP parameters: https://developers.google.com/appengine/docs/java/mail/usingjavamail However, if you do set your own SMTP parameters then GAE will use sockets which have this limitations. These apply in your case: Sockets are available only for paid apps - this is the one producing Error. Port 25 (SMTP) is blocked Google IP ranges are blocked, except Gmail SMTPS: smtp.gmail.com port 465 and 587

Categories : Java

Using gmx smtp server with java mail
First, clean up and simplify your program by fixing these common mistakes. Then, turn on JavaMail session debugging and examine the protocol trace. It should show you which SMTP command with which address the server is complaining about. (The property "mail.smtp.debug" is not a property JavaMail understands.)

Categories : Java

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

Sending PHP mail from Windows server
In a windows environment PHP uses SMTP insted of the Linux binary sendmail (or replacement) You need to edit php.ini according to this page to be able to send e-mail via the mail() function.

Categories : Email

connection refused from mail server
Try connecting to port 25 via telnet from the box that is giving you problems Check firewall and iptable settings on the mail server View the related logs on the mail server

Categories : Java

Creating a SQL Server database on a network in C# WAF
Couple of steps: Install SQL Server 2008 on your server machine Create your database using e.g. SQL Server Management Studio and .sql scripts Set up either SQL Server logins for each user that should connect to SQL Server, or e.g. define a Windows group that has access to SQL Server; give those logins the necessary permissions in your database Then set the connection string for your application to something like server=YourServerName;database=YourDatabase;Integrated Security=SSPI; if you want to use "integrated security" (e.g. user just accesses SQL Server using this Windows credentials), or set it to: server=YourServerName;database=YourDatabase;User Id=User;Password=password if you want to use explicit SQL Server logins for each computer/user make sure the client PC's are connecte

Categories : C#

Network-related error in SQL Server
LocalDB is a feature of SQL Server Express only. You will have to install SQL Server Express on the machine or import your database to your SQL Server and change your connection strings. In production, you would probably have to move to a full SQL Server edition anyway.

Categories : Sql Server

Communication between app and server over cellular network
Make sure you're not starting the server in development mode. Generally, in development mode the server accepts by default only requests from the same machine (no network connections are accepted).

Categories : Android

How do you find the IP address of a specific mail server?
nslookup is what you're after, or dig. Since you want a mail server you'll want to add the option '-type=mx' (Mail eXchange). nslookup -type=mx gmail.com

Categories : Email

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

sending mail working locally but not in server
First thing change this <? to this <?php, some server cannot support short tags After if npt work, try to change this: mail ($mail_to,$assunto,$texto); to this: mail($mail_to,$assunto,$texto); There is a blank space between the function name and brackets UPDATE change this: $padrao = mysql_connect($servidor, $utilizador, $password) or die("Erro ao ligar a $servidor"); to this: $padrao = mysql_connect($servidor, $utilizador, $password) if (!$padrao) { die('Could not connect: ' . mysql_error()); } same thing for the variable $seleccao

Categories : PHP

Sending mail without smtp server and credentials in asp.net
SmtpClient uses MailMessage to send emails. MailMessage has From property. See the link, it has code example http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.from.aspx

Categories : Asp Net

Not able to search the email server with searchTerm using Mail API
Since you're using pop3, all the searching is done by downloading all the messages to the client and searching them there. If you want the server to do the searching, use imap. If the new message arrives while you have the pop3 folder open, you won't be able to see it. You need to close the folder and reopen it. That's a limitation of the pop3 protocol. If none of that helps with your problem, I would need to know exactly which search term you're using, exactly what value you're searching for, and exactly what value appears in the email header.

Categories : Java

How to ensure GCM server is accessible from my device's network?
I would start by restarting the phone (fixed multiple problems when I ran into this problem). I would also verify time/date is correct on the phone roughly. Be careful when looking at some GCM code online as a lot of the code contains deprecated functions. After that, I would implement retry logic as shown below on my 3G/4G Scenario. If you are on 3G/4G: Errors in the 500-599 range (such as 500 or 503) indicate that there was an internal error in the GCM server while trying to process the request, or that the server is temporarily unavailable (for example, because of timeouts). Sender must retry later, honoring any Retry-After header included in the response. Application servers must implement exponential back-off. Troubleshoot If you are on Wi-Fi: Note: If your organization has a f

Categories : Android

Creating clients of SQL Server 2008 in same network
Windows 7 64bit. Sql server 2008 R2 SQL server mangement studio 2008 First install Sql server 2008 r2 Restart PC Install SQL Server management studio 2008 as seprate instance. For network Configuration 1-Turn Off Windows Firewall 2- Make sure That the Browser service is running and set to automatic. 3- in sqlserver confuguration manager go to sqlservernetworkconfiguration > Protocls for network Enable TCP/IP. You are done. :)

Categories : Sql Server

Transfer an Image to a central server across a network
I think the best place to start if you want to use TCP in C# is here As for sending the image, you can open it and read the bytes which you can directly send over the TCP connection shown in the link above. Here is the documentation regarding file methods. This should be enough to get you started.

Categories : C#

How to make non-accessible xampp server from network?
You can make xampp only bind to localhost as opposed to all interfaces, thus making it inaccessible from the network. In the httpd.conf file (I think in ubuntu, it's actually /opt/lampp/etc/extra/httpd-xampp.conf) where it says: Listen 80 change it to: Listen 127.0.0.1:80

Categories : PHP

How can retrieve the SQL Server Protocols Network Configuration?
You can use the ServerNetworkProtocol WMI class and also connect to the correct namespace depending of the SQL Server Version. SQL Server 2005 = ComputerManagement SQL Server 2008 = ComputerManagement10 SQL Server 2012 = ComputerManagement11 Try this sample {$APPTYPE CONSOLE} uses SysUtils, ActiveX, ComObj, Variants; type TMSSQlServerType=(MSSQL2005, MSSQL2008, MSSQL2012); procedure GetServerNetworkProtocolInfo(SQlServerType: TMSSQlServerType; const InstanceName: string); const WbemUser =''; WbemPassword =''; WbemComputer ='localhost'; wbemFlagForwardOnly = $00000020; MSSQLNameSpaces : array [TMSSQlServerType] of string = ('ComputerManagement','ComputerManagement10','ComputerManagement11'); var FSWbemLocator : OLEVariant; FWMISe

Categories : Sql Server

A network-related or instance-specific error occurred while establishing a connection to SQL Server. Error Locating Server/Instance Specified)
causes this error is connectionString in webConfig Set connectionString in webConfig. name of connectionStrin in webConfig and code behind must be same. in web.config: <configuration> <connectionStrings> <add name="DSVUShort" connectionString="Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/> </connectionStrings> <system.web> <compilation debug="true" targetFramework="4.0"/> </system.web> in code: SqlConnection Connection = new SqlConnection(ConfigurationManager.ConnectionStrings["DSVUShort"].ToString()); Connection.Open();

Categories : C#

ColdFusion 10 Can't Verify Exchange 2010 Mail Server
I "solved" this. I could find little online and received no comments to this thread. No combination of settings I tried would work and I have no access to the client's mail server. The person who runs that server couldn't run a lemonade stand so no help there. Then I stumbled across this page. Nothing to do with ColdFusion but seemed like a similar issue. Recent changes in the JavaMail API has changed certain authentication defaults and sometimes will create an authentication error with some Exchange Server environments dependent on the configuration. I'd never put much thought into CFMail because it was always drop dead simple and simply worked. Focusing on this link's Resolution 2 (ie replace the mail.jar with an older version). I wondered if CF used JavaMail and if I could

Categories : Email



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