Gmail inbox shows 1 unread message, but if I click inbox it won’t show

If I search for in:inbox, it also won’t show. If I search for both in:inbox is:unread then it does show. If I search for in:spam is:unread it no longer shows, or in: (anythingelsehere) basically. What I’m trying to say is, it CLEARLY is in the inbox, and not somewhere else, but for whatever reason the only way I can find the message is to search specifically with that combo of filter, or to directly search the string of the subject. I can also see it if I just navigate down to “All Mail”

And for the record:

No, I have no filters that should be filtering this email out

No, other messages don’t seem to be encountering the issue, just one in particular

No, there are no labels applied to it, unless you count “inbox” as a label (but it won’t show if I search label:inbox)

No, it does not show up in any other left hand filter other than “All mail”

No, I don’t have any of the weird “primary” and “social” tabs enabled

No, I am not using POP or any other 3rd party tool to interface, this is using latest version of Chrome and going to gmail.com.

icloud – Move messages from Junk to Inbox automatically

I’ve read plenty of people complaining about iCloud Mail’s junk mail handling, with too many false positives. The only answers I’ve seen are “You can’t turn it off” and “You have to use icloud.com on a desktop to mark as not junk, and that might work”.

icloud.com mail is awful, and I’ll also go entire days without using my home desktop – and even if I do this, the first message from a new contact might end up in junk and get ignored – so I’m looking for an automated way of checking my junk folder without having to think about it or check manually.

Ideally, some kind of rule to either stop messages from going in, or find any messages and move them back. Is there an existing IFTTT rule, iPhone Shortcut, Apple Script, anything like that, which might do this on a regular basis?

This problem is on the iCloud server side, not junk mail handling in the Mac Mail app.

adminhtml – Message inbox missing – No notifications

The message inbox is missing in two of our shops. We can not see messages and do not have the notification bell on the top right (see screenshot).
There are entries in the admin_system_messages table and when adding new messages programmatically it just writes a database entry, but shows no notifications and the bell is still missing.

enter image description here

I want a CLEAN way of saying – this particular sender should always appear in my Gmail Inbox and never under promotions

I am amazed that there isn’t an authoritative answer to this seemingly common request. No, I DON’T want to get rid of the Promotions category, which is mostly useful, but I want a simple way of saying – don’t put mail from this sender into my “Promotions” – i.e. junk – folder. There is no obvious way to do this, either on the Gmail web page on my computer or in the Gmail app on my smartphone.

Outlook vs. Gmail inbox Tug-of-War

I’m an Outlook novice.

I’m using Win 10, Outlook and Gmail (one account; set to IMAP; POP disabled; Auto-Expunge enabled; one filter that came with Outlook: “Clear categories on mail”).

Outlook shows two inboxes. One is in Outlook’s default Personal folders. The other is under the name of the Gmail account.

Outlook’s mailbox structure

Question: Which Outlook inbox should get new Gmail messages?

Question: Without using a filter, is there a setting to direct Outlook to use the inbox I choose? If I use a filter, what’s the best way to design it?

Question: Is it normal for sent messages to appear in both Personal Sent and Gmail Sent folders?

Attachment file is not showing in email inbox php mail

i am using php mail function to send the attachment file, i want to display attachment file in inbox of email account, but my variable $data where i fetch details related to attached file, is empty.please help me to showing attachment file in email inbox.
Below is my code.

$data = chunk_split(base64_encode(file_get_contents($data)));
i fetched data in $data variable.

send_mail.php


<?php

    if (isset($_POST('email'))) {
        $email = $_POST('email');
        $mobile = $_POST('mobile');
        
        $fname = '';
        if(isset($_POST('fname'))){
        $fname = $_POST('fname');
        }
        
        
        $lname = '';
        if(isset($_POST('lname'))){
        $lname = $_POST('lname');
        }
        
        $candidate_name = '';
        if(isset($_POST('candidate_name'))){
        $candidate_name = $_POST('candidate_name');
        }
        
        
        $questions = '';
        if(isset($_POST('questions'))){
        $questions = $_POST('questions');
        }
        
        $apply_for = '';
        if(isset($_POST('apply_for'))){
        $apply_for = $_POST('apply_for');
        }
        
        $experience = '';
        if(isset($_POST('experience'))){
        $experience = $_POST('experience');
        }
        
        $candidate_message = '';
        if(isset($_POST('candidate_message'))){
        $candidate_message = $_POST('candidate_message');
        } 
        
        $data = '';
        if(isset($_FILES)){
                $file_name = $_FILES('my_file')('name');
                $temp_name = $_FILES('my_file')('tmp_name');
                $file_type = $_FILES('my_file')('type');
                $path_parts = pathinfo($file_name);
                $ext = $path_parts('extension');
                
                    $semi_rand = md5(time());
                    $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x";
                    $file = fopen($_FILES('my_file')('tmp_name'), "rb");
                    $data = fread($file, filesize($_FILES('my_file')('tmp_name')));
                    fclose($file);
                    //$data = chunk_split(base64_encode($data));
                    $data = chunk_split(base64_encode(file_get_contents($data))); 
                    $name = $_FILES('my_file')('name');
                    
                      /*  $message .= "Content-Type: {"application/octet-stream"};n" . " name="$name"n" .
                            "Content-Disposition: attachment;n" . " filename="$name"n" .
                            "Content-Transfer-Encoding: base64nn" . $data . "nn";
                    $message .= "--{$mime_boundary}n"; */
            }
        
         $body = '<html>
                    <head>
                        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                        <title>Cross Hudson Plastic Surgery</title>
                    </head>
                    <body>
                        <div style="background: #f1f1f1 none repeat scroll 0 0; display: inline-block; min-height: 100vh; width: 100%; font-size:14px;">
                            <div style="font-family: arial;  background: #f5f5f5 none repeat scroll 0 0; border-radius: 5px; box-sizing: border-box; display: table; margin: 30px auto;max-width: 800px;min-width: 400px;  width: 100%;">
                               <div style="background: #333 none repeat scroll 0 0;border-bottom: 1px solid #dfdfdf; margin-bottom: 30px; text-align: center;">
                                    <img style=" margin: 20px 0; max-width: 267px;" src="https://www.devoint.com/images/logo.png">
                                </div>
                                <div style="margin: 0 auto; padding: 10px 50px 22px; font-size: 15px;">
                                    <p style="color: #5f5f5f; line-height: 1.6;">Details has given below :-</p>
                                    <p style="color: #5f5f5f; line-height: 1.6;">
                                            <b>Email : </b>' . $email . '
                                       </p>
                                       <p style="color: #5f5f5f; line-height: 1.6;">
                                            <b>mobile Number: </b>' . $mobile . '
                                       </p> 
                                        ';
                                        
                                        if($fname != ''){
                                            $body .= '
                                            <p style="color: #5f5f5f; line-height: 1.6;">
                                                <b>First Name : </b>' . $fname . '
                                           </p>';
                                        }
                                        if($lname != ''){
                                            $body .= '
                                            <p style="color: #5f5f5f; line-height: 1.6;">
                                                <b>Last Name : </b>' . $lname . '
                                           </p>';
                                        }
                                        
                                        if($candidate_name != ''){
                                            $body .= '
                                            <p style="color: #5f5f5f; line-height: 1.6;">
                                                <b>Candidate Name : </b>' . $candidate_name . '
                                           </p>';
                                        }
                                        
                                         if($questions != ''){
                                            $body .= '
                                            <p style="color: #5f5f5f; line-height: 1.6;">
                                                <b>Questions : </b>' . $questions . '
                                           </p>';
                                        }
                                         if($apply_for != ''){
                                            $body .= '
                                            <p style="color: #5f5f5f; line-height: 1.6;">
                                                <b>Apply For : </b>' . $apply_for . '
                                           </p>';
                                        }
                                        if($experience != ''){
                                            $body .= '
                                            <p style="color: #5f5f5f; line-height: 1.6;">
                                                <b>Experience : </b>' . $experience . '
                                           </p>';
                                        }
                                        if($candidate_message != ''){
                                            $body .= '
                                            <p style="color: #5f5f5f; line-height: 1.6;">
                                                <b> candidate_message : </b>' . $candidate_message . '
                                           </p>';
                                        } 
                                        if($data != ''){
                                            $body .= '
                                            <p style="color: #5f5f5f; line-height: 1.6;">
                                                <b> filename : </b>' . $name . '<br>
                                                <b> Attachment : </b>' . $data . '
                                           </p>';
                                        }
                                         $body .='                                   
                                </div>
                                <div style="background: #333 none repeat scroll 0 0; padding: 9px 30px;text-align: center;">
                                    <p style="color: #fff; line-height: 1.5; font-size:13px;">
                                        Copyright &copy; ' . date("Y") . ' Devoint IT Solutions
                                    </p>
                                </div>
                            </div>
                        </div>
                    </body>
                </html>';
        $to = 'email@gmail.com';
        $from = 'Contact@gmail.com';
        if(isset($_POST('userName'))){
            $subject = "Have some questions?";
        }
        else{
            $subject = "Candidature form";
        }
        
        //$subject = "New Contact Form Submitted";
        // To send HTML mail, the Content-type header must be set
        $headers = 'MIME-Version: 1.0' . "rn";
        $headers .= 'Content-type: text/html; charset=iso-8859-1' . "rn";
        $headers .= "Content-Type: multipart/mixed; boundary="" . $semi_rand . """ . "rn";
        // Additional headers
        $headers .= 'To: ' . $to . "rn";
        $headers .= 'From: ' . $from . "rn";
        // Send the email
        $page = $_SERVER('HTTP_REFERER');
        if (mail($to, $subject, $body, $headers)) {
            echo '<div class="alert alert-success alert-dismissible"><a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a><strong>Success!</strong>Your details has been submitted successfully! We will contact you soon.</div>';
            die;
        } else {
            echo '<div class="alert alert-danger alert-dismissible"><a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a><strong>Alert!</strong> Something went wrong!</div>';
            die;
        }
    }
    ?>

gmail labels – Removing labelled email from inbox

I have emails in my inbox which I have been labelled under different label names. I now want to remove these emails from the inbox so that they only appear under their individual labels. So far, I can only remove the emails from the inbox by opening each email and removing the ‘inbox’ label, which is a time consuming task. Is there a simpler method to remove multiple labelled emails already in the inbox from the inbox?

email – Why doesn’t outlook.com sync the inbox regularly?

I have an old Hotmail email account that I browse using the Outlook.com web interface.

For a very long time now, the web interface no longer syncs with the server to check for new incoming emails. I need to either refresh the tab or change email folders from- and back to- Inbox for new emails to show up.

Hotmail emails do show up on my two Android phones using the provided email client apps (Google’s).

I tried using Chrome and Firefox, with and without ad blocker, with and without my Gmail account also configured on the Outlook.com settings, and also tried switching from POP settings to IMAP settings, but the result is the same. Outlook.com refuses to check the server unless forced to manually.

I assumed the problem was with network settings on my computer, but I just changed to a new computer and see the same problem (both PCs are corporate machines).

How can I make Outlook.com sync with the server on a regular basis?

email – Why doesn’t outlook.com sync the inbox regularly?

I have an old Hotmail email account that I browse using the Outlook.com web interface.

For a very long time now, the web interface no longer syncs with the server to check for new incoming emails. I need to either refresh the tab or change email folders from- and back to- Inbox for new emails to show up.

Hotmail emails do show up on my two Android phones using the provided email client apps (Google’s).

I tried using Chrome and Firefox, with and without ad blocker, with and without my Gmail account also configured on the Outlook.com settings, and also tried switching from POP settings to IMAP settings, but the result is the same. Outlook.com refuses to check the server unless forced to manually.

I assumed the problem was with network settings on my computer, but I just changed to a new computer and see the same problem (both PCs are corporate machines).

How can I make Outlook.com sync with the server on a regular basis?