w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Emails with same domain does not go out from postfix
Check the settings in your /etc/postfix/main.cf file, specifically the setting for virtual_mailbox_domains. If your domain is in this line, but another server is the MX for your domain, then this would explain the problem - i.e. the postfix server thinks it's handling incoming mail for your domain, but the MX records say otherwise.

Categories : Email

Google Apps Engine, Sending out Emails Receiving this Error (Attempt to access a blocked recipient without permission.) Java
This is not a definitive answer ... The exception message says this: Could not connect to SMTP host: localhost, port: 25 (java.net.SocketException: Permission denied: Attempt to access a blocked recipient without permission.)) So the transport is attempting to use an SMTP service running on the same machine as the GAE. But the error message seems to indicate that it succeeding in connecting, and the SMTP service refused to accept the email for delivery to any of the recipients. So I would suggest that you do the following: Try it out with a real email addresses not "xxx@example.com" addresses. Check the configurations for your local MTA service (whatever it is) to see if it is configured to relay email to external addresses. Check the MTA log files. There should

Categories : Java

Emails not arriving on dovecot/postfix (debian)
Can you please post the output of /var/log/mail.log ? Because as far as i think the mail.log would contain something like "could not connect to /var/run/dovecot/auth-master: permission denied". If this is the case then all you have to do is change the permissions of /var/run/dovecot/auth-master so that vmail user can access it. But there's a catch to it. Whenever dovecot is restarted the permissions are reverted. You will have to give them again or you can write a script that does that for you every time dovecot or system is restarted. If this is not the case then post the log here for more clarification.

Categories : Misc

not receiving emails from php
You mentioned you are using GoDaddy. GoDaddy requires you set the sender address legitimately to match the domain of the site it is sending from or use SMTP with Authentication. There is a huge gaping hole with this method of sending email. Spammers can easily override the From: header by inserting additional recipients. I'm not sure how mail centric your application plans to be, but I would recommend using a package like PHPMailer or PEAR::Mail as it takes care of email handling for you at a much higher level. This let's you focus on more important parts of your application. The built-in PHP mail() feature is very limited in its abilities and as you try to extend your mail capabilities you'll run into many road blocks that the base mail() function just cannot handle without a lot of

Categories : PHP

Receiving bounced off emails
Mail sent from GmailApp now appears in the Sent items in Gmail. However, the messages aren't actually sent from your Gmail account, they are sent through the Apps Script service at maestro.bounces.google.com - so you don't get access to the bounces.

Categories : Google Apps Script

not receiving form emails
There are so many issues on sending PHP mails to different mail servers. For example, when I want to send email to GMail hosts I never include for new lines and I only go with . Maybe your problem is with your headers, I place my code here and see what you can get: function send($address, $subject, $content, $from = '', $html = FALSE, $encoding = 'utf-8') { if(empty($address) || empty($content)) return; $headers = ""; if($from != '') { $headers .= "From: {$from} "; $headers .= "Reply-To: {$from} "; } $headers .= "To: {$address} "; if($html) { $headers .= "MIME-Version: 1.0 "; $headers .= "Content-Type: text/html; charset={$encoding} "; $headers .= "Content-Transfer-Encoding: 8bit "; }

Categories : PHP

Why it the F postfix needed here to avoid an error?
Because floating point numbers are by default of type double. To make it a float you append an F. You are getting error in the below assignment: float f = 3.4028235E38; because a double as more precision than a float. So, there is a possible loss of precision. I would have expected just the opposite as floating point literals are by default double and should be more precise. Let's check the binary representation of your number till double precision: 0x47EFFFFFE54DAFF8 = 01000111 11101111 11111111 11111111 11100101 01001101 10101111 11111000 Now since float is a single precision 32-bit floating point value. It can't store all the double values, which are double precision 64-bit floating point values.

Categories : Java

Infix to Postfix conversion error
It looks like you're using the Shunting-yard algorithm, but there are a few things you're doing incorrectly. First of all, after the meat of the algorithm runs you still have to print out the remaining contents of the stack and check for mismatched parens. As the wiki article says: When there are no more tokens to read While there are still operator tokens in the stack: If the operator token on the top of the stack is a parenthesis, then there are mismatched parentheses. Pop the operator onto the output queue. This is easy enough to add to your code, just add something like this after the for loop: while(!isempty(&s)) { ch = pop(&s); if(ch == ')' || ch == '(') { printf(" Mismatched parens "); break; } printf("%c",ch); } B

Categories : C

infix to postfix using stack error in updating top variable
in main function add these three lines after for loop End.and remove top=POP(stack,top); inside for loop. while(top!=-1) top=POP(stack,top); printf(" "); modified main function: int main() { char string[15],ch; int top=-1,i; printf("Enter the infix operation: "); gets(string); fflush(stdin); for(i=0;string[i]!='';i++) { ch=string[i]; if( ((ch>='a') && (ch<='z'))||((ch>='A') &&(ch<='Z')) ) { printf("%c",string[i]); } else { ch=string[i]; top=PUSH(stack,top,ch); } } while(top!=-1) top=POP(stack,top); printf(" "); return 0; }

Categories : C

How to skip Invalid Email Ids in Postfix and prevent it from throwing error
You can activate/configure postfix ability of *address_verification* (see also http://www.postfix.org/ADDRESS_VERIFICATION_README.html) to block unknown sender.

Categories : Java

error in the given code for infix to postfix conversion for input containing more than 2 operands
Indent your code In the stack trace: at Test.convert(Test.java:21) Is this line: if(check(exp.charAt(i))>check(exp.charAt(i-1))) So I think you mean: if (check(exp.charAt(i)) > check(s1.peek())) Now "The method check(char) in the type Test is not applicable for the arguments (Object)" is raised, so parameterized your Stack. That is, change: Stack s1=new Stack(); To (in Java 7): Stack<Character> s1 = new Stack<>();

Categories : Java

sonataNotificationBundle, emails getting stored to database but swiftmailer consumer is not triggered and no emails are sent
Below is the working sonataNotificationBundle configuration for swiftmailer consumer. No need to make changes to any other files. sonata_notification: backend: sonata.notification.backend.doctrine queues: - { queue: mailer, routing_key: mailer } - { queue: catchall, default: true } backends: doctrine: message_manager: sonata.notification.manager.message.default max_age: 86400 # max age in second pause: 500000 # delay in microseconds states: # raising errors level in_progress: 10 error: 20 open: 100 done: 10000

Categories : PHP

Show past emails in android EditText while entering emails?
For that use Autocomplete TextView. When user enter userName in Autocomplete TextView and press login you need to store username in sharedpreferences. For sharedpreferences see This tutorial. Select entred values from sharedpreferences and display it in your Autocomplete TextView when user comes again.

Categories : Android

Programmatic delivery of emails via SendGrid from PHP (bulk emails)
There may be a better way, but if it was me I would use ParallelCurl. I've used it in the past to send bulk SMS and it worked great for me. The project hasn't been updated in a while though, but it works. Have a look: https://github.com/petewarden/ParallelCurl Good Luck.

Categories : PHP

While returning a DataContract from a WCF function, I'm getting this error: "An error occurred while receiving the HTTP response"
That's a pretty generic exception in WCF so you'll need to enable WCF tracing to get more detailed info. Just guessing but look at this MSDN forum thread where the list contained complex objects that exceeded the default internal object limits in WCF. Once you enable WCF tracing, you should have a better idea of what's going on.

Categories : C#

Oracle Error Has Occurred:ORA-20011: Execute_system: Error while receiving
Oracle has reserved the error numbers between ORA-20000 and ORA-20999 for us users. Which means that someone at your site has programmed their own user defined error. The package issues a RAISE_APPLICATION_ERROR(-20011,'Execute_system: Error while receiving.'); statement. Either directly in the package body or indirectly via a database trigger on one of the tables the package is modifying. Regards, Rob.

Categories : Oracle

Error in sending automatically emails using CDO
It's due to the line : .MDNrequested = True If it is set to false or missing, it works. I have the same problem. Excel restarts after the first .send when setting MDN to "True". The e-mail is still sent and asks for send a "reception feedback". BR

Categories : Email

USING ASP.NET receiving error: Server Error in '/' Application
You need to have this in your code-behind, there is a direct relationship between your .aspx and aspx.vb files: Namespace ANDDI1 Class WebForm1 //Event handlers and methods go here End Class End Namespace

Categories : Asp Net

Django error notification emails going to incorrect recipient(s)
ADMINS = ( ('Me', 'me@example.com'), # ^ missing comma ) Parenthesis do not create a tuple, the comma does (and empty parenthesis): >> 1 == (1) True >> a = 1, >> a == (1,) True Refer to Tuple Syntax for explanation.

Categories : Django

Using a separate email account for error emails in Django
You use the logging settings to mail 500 errors to the admin email ids. Example of a logging setup : LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'handlers': { 'mail_admins': { 'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', } }, 'loggers': { 'django.request': { 'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True, } } } This will mail all 500 errors in django to the mentioned email ids. See: Elegant setup of Python logging in Django and : https://docs.djangoproject.com/en/dev/topics/logging/#an-example If you want to use another SMTP server, then use exception middleware . http://docs.djangoproject.com/en/dev/topics/http/

Categories : Python

How to receive emails from emails from other servers?
If the code is working for one of the domains but not the other two, I'd guess that the propagation hasn't completed yet (if you have indeed changed to MX records). Remember not all the TTL's have the same time, therefore you might need to wait a little longer for the other two domains to propagate. What I would first of all do is check exactly where those domains point to. try this tool to find out where the domain is currently pointing to: http://mxtoolbox.com/

Categories : PHP

Error receiving Ad when using AdMob SDK
Have you added your INTERNET Permission to your Manifest file and made sure the device actually has Internet access? <uses-permission android:name="android.permission.INTERNET" /> Are other applications on your phone able to access the Internet? What I mean is have you tested if other apps are able to access the internet? Maybe this is not an issue of your application, but of the phone in general being unable to access the internet for whatever reason. Furthermore, what I see in your above code: You are calling "layout = findViewById(...)" before even calling "setContentView(...)". This should actually result in a Nullpointer Exception when calling layout.addView(). You could also try this code (inside your onCreate() method): setContentView(R.layout.yourlayout); AdVie

Categories : Android

Lidgren message receiving error
Way old question, but for posterity: the DiscoveryRequest does not contain any payload, there is no string to read. It's detailed here: https://code.google.com/p/lidgren-network-gen3/wiki/Discovery

Categories : C#

Receiving "syntax error, unexpected '<'" in PHP
Your problem happens in the line: echo <script type="text/javascript">document.location.href=.$lien.='/index.php';</script> ; You need to put the string in quotes - so it becomes echo "<script type="text/javascript">document.location.href=\".$lien."='/index.php';</script>" ; There may be other errors...

Categories : PHP

python comprehension and set's. receiving error
Use frozenset objects instead: {frozenset(n[word]) for word in n if word in words} Objects in a set need to be immutable to be hashable. set() objects are mutable, but frozenset() are not. They are to sets what tuples are to lists. If you were instead trying to create a union of all the sets, then just create a new, empty set and pass your generator expression to that: set().union(*(n[word] for word in n if word in words)) This builds one set with the union of all your matched sets. Demos against your test input: >>> n = {'corporal': {35}, 'moral': {34}, 'purpose': {33, 34, 14, 49}, 'simulations': {42}, 'consultant': {16, 40, 38}, 'Indies': {3}, 'murdered': {10}} >>> words = ['moral', 'Indies'] >>> {frozenset(n[word]) for word in n if word in words} set

Categories : Python

I'm receiving an error when running this code in PHP
Add spaces between the field/table names and parantheses INSERT INTO donations (name...) VALUES (...) Also, use single quotes ' ' around values. VALUES ( '" . $_POST['name'] . "' ) Also, never inject $POST data directly into your SQL queries. This is begging for SQL Injection. And by all means, go learn PDO/Prepared Statements and stop using mysql functionality. Its dead.

Categories : PHP

Receiving error for profit calculator?
%d is a decimal integer. Use %f for doubles. You can read about the format string syntax in the documentation of Formatter.

Categories : Java

PDO: Using fetchAll, still receiving General error: 2014
$pdo->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, TRUE); is the silver bullet to fix the error, which text you didn't even bothered to provide, supposing readers to know every error by numbers by heart. While just mechanically replacing all the fetch() calls to fetchAll() is not. Two things on your edited code. You have quite useless loop. As I said above, doing something mechanically, mindlessly, can bring no good. One have to have at least minimal understanding. The loop you have is useless twice: because $row you have from fetchAll() don't need any looping over (it already contain all the data) and because you are getting only one row anyway and no loop ever needed. And thus fetch() should be used not fetchAll. Despite of your feeling, not "every 'fetch' is now a 'fetchAll

Categories : PHP

Receiving "cannot find symbol error" on line 17
You forgot to add the import for java.util.Scanner. So add it on top of your class file, to look as below: import java.util.Scanner; import java.io.PrintStream; public class VetApp { /* Code omitted */ }

Categories : Java

Receiving an error when requesting members for an array
Plain old C arrays don't have members. So it has no size or erase. If you did want it to have members though, C++11 offers a class called std::array<T,N> which can be used in your case by simply doing std::array<int, 6> games = { ... }. Note however that std::array does not have an erase member function, but it has a size member function.

Categories : C++

Receiving Apache php error notices despite having 'if(isset) in use
Move the isset() check to right after the stdClass check. In other words, change ($menuItem instanceof stdClass) && $menuItem->query['view'] == $query['view'] && isset($query['id']) && $menuItem->query['id'] == (int) $query['id']) to ($menuItem instanceof stdClass) && isset($query['id']) && $menuItem->query['view'] == $query['view'] && $menuItem->query['id'] == (int) $query['id'])

Categories : PHP

Receiving Syntax Error When Adding Controller
Actually i am not familiar in this .but you can refer this links.....hope this link will helpful. Hartl Tutorial: 3.2 Error when i try and clean up my code displaying two renders in staticpage home in rails 3

Categories : Ruby On Rails

Issue with a login®ister system. Receiving and error
This error indicates that your previous statement mysql_query $query = mysql_query("SELECT COUNT(`user_id`) FROM `users` WHERE `username` = '$username'"); has returned false, if you check the documentation it states that on failure mysql_query will return false. Therefore we need to come to a conclusion that your query is failing. To find out more information on why your query is failing. Include mysql_error() at the end of the statement. $query = mysql_query("SELECT COUNT(`user_id`) FROM `users` WHERE `username` = '$username'") or die(mysql_error());

Categories : PHP

Receiving null value error when providing a value to SQL Server table
You should add the DatabaseGeneratedAttribute to RequestCategoryID since you don't want it to auto increment: [Key] [Column("Request_Cat_ID")] [DatabaseGenerated(DatabaseGeneratedOption.None)] [public int RequestCategoryID { get; set; } Entity Framework auto increment int primary keys by convention.

Categories : C#

Receiving error when trying to select object and add click event with js
Your <script> is executed when the browser sees it and that happens before #img-list is in the DOM so document.querySelector('#img-list ul.grid') doesn't find anything. Since your question is tagged with jquery, why don't you use it? $(function() { $('#img-list ul.grid').click(function(e) { console.log(e); }); }); That will delay running your JavaScript until after the DOM is ready.

Categories : Javascript

Receiving SSL error in iOS7 GM - "AddTrust External CA Root" is not trusted?
I had a similar problem except that my error was 9814 i.o 9813. Same situation, worked fine with iOS6 and no longer with iOS7. The URL I was calling was https://.... I changed it to http://... and it seems to be working fine Not sure it will work for you but definitely weird Good luck

Categories : IOS

Git push receiving "error: refusing to update checked out branch"
Isn't the long description in the message clear enough? You can do three things: make the original repo bare, and push whatever you like set the receive.denyCurrentBranch in config as suggested to allow pushing to checked-out branches, and take care of the discrepancies check out a different branch in the target repo possibly even force push would work, I don't suggest that.

Categories : GIT

Setting up localhost receiving error "You don't have permission to access /C: on this server"
Look at your Apache config file http.conf Inside that file you should find a line similar to: DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs" The DocumentRoot of your Apache server is where it looks when you request "localhost." Make sure your projects are in the DocumentRoot. For example copy your projects to, "C:/Program Files/Apache Group/Apache/htdocs/projects" then query your server at //localhost/projects/yourproject.php

Categories : PHP

Python 2.7: Variable defined in previous function, receiving undefined error
Its because the variable "much" in the function inputnfo() is local to that function alone. that is why you are getting an undefined error in the while loop. there is two solution 1. Make the variable "much" global by including the line def inputnfo(): global much try: and then removing the argument of generate function Or 2. Let the function inputnfo() return much and use this return value in the while loop and generate function do the same for variable "which" and put a line which = "" befor which = "" def inputnfo(): global much

Categories : Python

Error with Jquery Ajax Success Event and Receiving Response Message
You're attaching a new event listener to #post after the AJAX query succeeds. Basically what you're saying is, "after this query succeeds, wait for another query to succeed and then change the HTML." Since the query has already succeeded, you need to remove ajaxComplete and simply use: success: function() { alert('Deleted'); $("#post").html(msg); }

Categories : Javascript



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