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

server to server real-time communiation
What you want to do, can be done with sockets through the HTTP protocol using POST query. For instance, there is a communication from the server A, to the server B. notice : you can make it bidirectional. HTTP QUERY (client) # the target url (without http://) or address of the remote host # if the remote address is an ipv6 she must start and end with [] like this [::1]. $http_host = "website1.com"; # api.website1.com or localhost or 13.33.33.37 # The address of the script who's give answer from the root directory "/". $script_path = "/answer.php"; # The parameters. $http_params = "cost=156&product=" . urlencode("string must be url encoded"); $http_query = "POST " . $script_path . " HTTP/1.0" . " "; $http_query .= "Host: " . $http_host . " "; $http_query .= "Content-Type: appli

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

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

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

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

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

how to get real ip of server behind nginx
You can refer to nginx manual upstream section. $upstream_addr variable may be what you want. And another method is to add trace code to the request. You can refer to this 3-rd module.

Categories : Nginx

iis and apache combination on real server for 403
The fact that you can get to the sites locally tells me both servers are setup correctly and listening on respective ports. Upon further questions, the OP indicated that the Servername Directive, is pointing to localhost and it should be changed as. ServerName localhost:8082 To ServerName example.com:8082 # or add "ServerAlias example.com:8082" to your existing. Where as example.com is your site DNS. Then in your [System32driversetchosts] point that DNS to the ip of your Remote host. 403 is happening because the request from the remote is not matched against any Servername or ServerAlias and it falls to the default handler which normally has stricket permissions. If you look closely in logs(/logs/apache/access.log), there should be something about "access denied by server configura

Categories : Apache

CodeIgniter redirect not working on a real Server
if you are defining .html in the config.php as the file ext. you do not need to postfix the route with it. $route['articles'] //instead of $route['articles.html'] Also you need to remove the base_url() from the redirect cos that is not needed. redirect('articles'); //should sort it Hope this sorts ur problems. EDIT If this is still not working after attempting these changes, it will most likely be a problem in the controllers. If this is the case you may need to turn on error reporting in your index.php file to find out exactly where the problem is occurring.

Categories : Codeigniter

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

High performance real time project .NET, SQL Server
I’d start of by making estimates based on following data with the goal of estimation number of requests per minute or second. Average number of moving markers at any time. If you have 200 vehicles to track how many do you expect to be moving simultaneously? Does time of the day matter? If it does make sure you make calculations based on the peak hours. How many simultaneous requests from users do you expect? If you have 800 users are they going to be using the application throughout the whole day or only several times a day or once a week? Once you get the data multiply it by at least 3. This will accommodate for all false assumptions you may have made in the calculations and allow for future growth. Once you get the final number it will be a lot easier to decide whether you need

Categories : C#

Correct way to receive UDP stream from server in real-time with C#?
UDP is connectionless oriented protocol, that means that the packets received may not be in the order they were sent; also packets may be lost without any information or hints of that fact. If you need to make sure you receive all packets you have 2 main options: TCP: Use TCP as the protocol to use, if the connection is one (server) to one (client) then it's a better choice. TCP offers all the necessary security, CRC and hand-shake to keep the data integrity, it is like a stream and when no more data could be sent it blocks the sender side until the reader side reads the buffered data. UDP: is better suited when more than one sender is sending data to the receiver thru the same port. If packets integrity is crucial then the receiver should send an ACK (acknowledge) packet for every packe

Categories : C#

read and store server logs in real tine
You need to read each file in a separate thread, and ensure that the code to write to database is thread safe. Edit: I put this in a comment, but actually it's part of the answer: from Java 7 you can get the filesystem to call you back when a file changes http://docs.oracle.com/javase/7/docs/api/java/nio/file/WatchService.html That way you don't need to poll the file size like you're doing... but you do still need 1 thread per file. Tutorial for WatchService is here: http://docs.oracle.com/javase/tutorial/essential/io/notification.html

Categories : Java

Sending audio in real time from iphone to server?
Nate is right. A lot of legitimate apps do that. So, you don't even need to have a jailbroken device. Take a look at this question: Live streaming audio from iPhone You may be interested to look into open source SIP clients for iOS: https://code.google.com/p/siphon/ http://www.pjsip.org http://www.linphone.org/eng/linphone/news/linphone-for-iphone.html

Categories : Iphone

Unit testing real server data exchange?
For instance: I can't find a way to instantiate a view model that would need this interfaces: IChatService, IMvxMessenger, IDataService, ISettingsService Generally this would be done using Mock implementations and then calling the ViewModel constructor directly with those Mocks. I'm having a really hard time figuring out how I can initialize the MMVMCross framework In order to initialise the IoC part of the framework you can use the MvxIoCSupportingTest helper class -https://github.com/slodge/MvvmCross/blob/v3/Cirrious/Test/Cirrious.MvvmCross.Test.Core/MvxIoCSupportingTest.cs If you then need additional parts of the framework, then generally you should mock these in some way. For example, see how navigation is mocked in these two articles: http://blog.fire-development.co

Categories : Unit Testing

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++

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

Architecture recommendation using SQL Server for real-time aggregation and denormalization
Service Broker technology is good for serving your task although there are maybe potential drawback depending on your particular system configuration. The most valuable feature IMO is ability to decouple two kind of processing - writing and aggregation. You will be able to do this even using different databases/SQL Server instances/physical servers in very reliable way. Of course you need to spend some time designing message exchange process - specifying message formats, planning conversations, etc., because this has huge influence on satisfaction from resulting system. I've used SSBS for my task that was more or less similar - near real-time creation of analytic data warehouse based on regular data flow.

Categories : Sql Server

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

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

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

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

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

mysql_real_escape_string() [function.mysql-real-escape-string] is preventing server connection
According to the documentation http://www.php.net/manual/en/function.mysql-real-escape-string.php A MySQL connection is required before using mysql_real_escape_string() otherwise an error of level E_WARNING is generated, and FALSE is returned. If link_identifier isn't defined, the last MySQL connection is used. therefore, I bet that you're not connected to your database.

Categories : PHP

GCM Demo Application's failure to register to tomcat server when tested on real Device
Try to check availability of your PC(with tomcat server) from your device browser. Just type 192.1.2.101:8080 in url field. It should show you default tomcat welcome page. If it does not, find your PC(server) ip address in local network. Your problem is that your device cannot find ip address in your network.

Categories : Java

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

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

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

Kinda-mass emailing from Rails, but with own mail server
You should decouple your Rails App from the mail sending so that you don't have to wait in your view for the mails to be sent (assuming that you click on something that triggers the start of your mail sending). Use something like delayed_job or another queueing mechanism that Rails offers and only queue up the sending job of the e-mails. Then when the queue comes to execute the particular job you can customize the message with an HTML part and a text part or whatever else you need and pass them on individually to your MTA.

Categories : Ruby On Rails

Java SendMail sends mail after server is stopped
A couple of problems: >> is shell redirection. You are running the subprocess directly, so it probably got ignored. Also, you never handled the output written from the process, so it likely got buffered and blocked the process until the UI ended.

Categories : Java

SQL server variable to SSIS and mail formatting issue
I am not sure what exactly you are looking for and don't know whether the below snippet would serve the purpose DECLARE @mail_Body NVARCHAR(max) DECLARE @CRLF NCHAR(2)= CHAR(13) + CHAR(10) SET @mail_Body = 'Here is one line of text ' +@CRLF+ 'Some Text : ' --space not matching ":" in 4th line +@CRLF+ -- Not working +@CRLF+ N'Below is some data: ' + N' ' + N' ' + ISNULL(ERROR_MESSAGE(),'') PRINT @mail_Body

Categories : Sql Server

Timeout Error in SQL Server Database Mail Feature
First, have a look on SQL Server Database Mail log (Management -> SQL Server Logs -> Current, check Database Mail). It contains more detailed error explanation message. However, most often the reason is in security configuration of Windows Server where SQL Server located. Look at firewall configuration on mail protocols and ports. To check if everything is good run your Thunderbird on the server where Database Mail profile is configured.

Categories : Sql Server

Download attachment from mail using ContextIO and upload it on server
I don't don't know context.io, but I took a look at the api quickly and found this to download an attachment: http://context.io/docs/2.0/accounts/files/content Thus, to download the attachment, just try something like this in plain ruby: require 'net/http' account_id = 12345 file_id = 45678 Net::HTTP.start("https://api.context.io") do |http| resp = http.get("/2.0/accounts/#{account_id}/files/#{file_id}/content") open("attachment.extension", "wb") do |file| file.write(resp.body) end end

Categories : Ruby On Rails



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