this mail going to spam. when i change email->from then it goes to inbox.    how to send email to inbox with this email id    $this->email>from("sweco@suzlon.com");           $this-&gt;email-&gt;from("sweco@suzlon.com");         $this-&gt;email-&gt;to("marmik0011@gmail.com");          $this-&gt;email-&gt;subject($subject);                $this-&gt;email-&gt;message($body);         $this-&gt;email-&gt;set_mailtype('html');          $this-&gt;email-&gt;send();   this mail going to inbox.               $this-&gt;email-&gt;from("info@gmail.com");         $this-&gt;email-&gt;to("marmik0011@gmail.com");          $this-&gt;email-&gt;subject($subject);                $this-&gt;email-&gt;message($body);         $this-&gt;email-&gt;set_mailtype('html');          $this-&gt;email-&gt;send();
This is a tricky one and I've always relied on techniques, such as permission-based emails (i.e. only sending to people you have permission to send to) and not using blatantly spamish terminology.  Of late, some of the emails I send out programmatically have started being shuffled into people's spam folder automatically and I'm wondering what I can do about it.  This is despite the fact that these particular emails are not ones that humans would mark as spam, specifically, they are emails that contain license keys that people have paid good money for, so I don't think they're going to consider them spam  I figure this is a big topic in which I am essentially an ignorant simpleton.
Does Windows 7 allow auto-login with a stored password, like TweakUI did? The TweakUI powertoy for Windows XP had an option to auto-login. It stored your password and did the login for you. This was useful, since you kept password protection, but had login programs loaded when you first booted.  When you switched users or hibernated, it would still ask for a password, which is the desired behavior.  Is there a way of doing this in Windows 7? Poll on best VNC / remote desktop software for assisting others on Windows/Mac machines from Ubuntu?    I've heard good things about TeamViewer and Fog Creek Copilot, but I'm wondering if the included GNOME Vinaigre VNC client is good enough for this.  To specify, I'm looking for best option based on:   SIMPLEST ease-of-use for client to download/use on their end. See #1. Works cross-platform I am able to control client's mouse and/or keyboard from remote machine. JSON.parse: unexpected character Order of elements in $Z_n$ I have this question:     Let $x, n$ be integers with $n \geq 2$ and $n$ not dividing $x$.  Show that the order o($\bar{x}$) of $x \in Z_n$ is   $o(\bar{x})= \frac{n}{HCF(x, n)}$   I've been thinking about it for ages but I still don't get why. A hint would be appreciated. Change \headheight for a \pagestyle I have a document class that auto generates header from some user input. The problem is the first page should have a different page header than the others and the headline can be multi line. So \headheight is too small. Here is a demonstration of the problem:  \documentclass[twoside]{scrartcl} \newcommand{\longfirstpagehead}{% \begin{minipage}{10cm} some\\long\\text\\text\\text\\text\\text\\text \end{minipage}} \newcommand{\normalhead}{normal} \usepackage{scrpage2}  \newpagestyle{firstpage}{%     {\longfirstpagehead\hfill} %twoside links     {\longfirstpagehead\hfill} %twoside rechts     {\longfirstpagehead\hfill} %oneside     (\textwidth,1pt) }{%     {\pagemark\hfill} %twoside links     {\hfill\pagemark} %twoside rechts     {\hfill\pagemark} %oneside } %  \newpagestyle{normal}{%     {\normalhead\hfill} %twoside links     {\normalhead\hfill} %twoside rechts     {\normalhead\hfill} %oneside     (\textwidth,1pt) }{%     {\pagemark\hfill} %twoside links     {\hfill\pagemark} %twoside rechts     {\hfill\pagemark} %oneside } %    \pagestyle{normal} \AtBeginDocument{     \thispagestyle{firstpage}}  \usepackage{blindtext} \begin{document}     %\vspace*{1cm}     \blindtext      \blindtext     \pagebreak \end{document}   I tried to read the height with \settototalheight and:   add a \vspace at beginning of document (unnice hack):  still the bad box warning (of cause) first section has different alignment  manually change \headheight in pagestyle  text height and page foot is wrong (can't change this because some scoping?)  use Komascript in pagestyle  \recalctypearea warning  geometry in pagestyle  pretty much the same problem like the manual attemp    So I would like to change the \headheight for the pagestyle firstpage, but the page should still have the same page margins, etc. The problem is that this has to work with \thispagestyle. (Better Ideas are also welcome) Something like \thispagegeometry in geometry would be great. ;) Standard normal distribution is truncated to the left by 2 Would you please show me how to write the pdf distributions of the following   Standard normal distribution is truncated to the left by 2  Exponential distribution is truncated to the left by 2  Cauchy distribution is truncated to the left by 2  i do not know what does mean by truncated to the left by 2 Generalized Fresnel integral $\int_0^\infty \sin x^p \, {\rm d}x$ I am stuck at this question. Find a closed form (that may actually contain the Gamma function) of the integral  $$\int_0^\infty \sin (x^p)\, {\rm d}x$$  I am interested in a Laplace approach, double integral etc. For some weird reason I cannot get it to work.   I am confident that a closed form may actually exist since for the integral:  $$\int_0^\infty \cos x^a \, {\rm d}x = \frac{\pi \csc \frac{\pi}{2a}}{2a \Gamma(1-a)}$$  there exists a closed form with $\Gamma$ and can be actually be reduced further down till it no contains no $\Gamma$. But trying to apply the method of Laplace transform that I have seen for this one , I cannot get it to work for the above integral that I am interested in.   May I have a help? How Does the Community User Set Bounties? I decided on poking around some profiles and I hit the . I knew that Community was a background process but then I noticed that it had set some bounties. What criteria does Community follow to know what questions to set bounties on? Are these questions with a lot of views or upvotes or all of the above? Datepicker returning uncaught typeError: undefined 'currentDay' Expected time to roll all 1 through 6 on a die Exit from both root and user with one command I know about "not using sudo su -" etc. But let's be honest, almost all of us do it.   So, here is the issue. We can't have root logins enabled, so we have to ssh in as our user then su to root.  Here is the process tree:       1  7897  7826  7826 ?           -1 S     1000   0:00 sshd: josh@pts/0  7897  7898  7898  7898 pts/0     8182 Ss    1000   0:00  \_ -bash  7898  7990  7990  7898 pts/0     8182 S        0   0:00      \_ sudo su -  7990  7991  7990  7898 pts/0     8182 S        0   0:00          \_ su -  7991  7992  7992  7898 pts/0     8182 S        0   0:00              \_  -su  7992  8182  8182  7898 pts/0     8182 R+       0   0:00                  \_ ps axjf   I would like to exit from root, then from my user with one command. Is there a way to do this?  BTW exit &amp;&amp; exit does not work because it exits the shell and doesnt process the rest of the command  josh@ubuntu:~$ sudo su - root@ubuntu:~# exit &amp;&amp; exit logout josh@ubuntu:~$ Can a matrix have a null space that is equal to its column space? I had a question in a recent assignment that asked if a $3\times 3$ matrix could have a null space equal to its column space... clearly no, by the rank+nullity theorem... but I have a hard time wrapping my head around the concept of such a matrix, no matter what size, even existing. How could this be possible, and does anybody have an example of such a $m\times n$ matrix? If $S$ is a nonempty subset of group $G$, then $S^{|G|}$ is a subgroup of $G$. Let $G$ be a group with $|G| = n$ and let $ \emptyset \ne S \subseteq G$.   I want to show that $S^n$ is a subgroup of $G$ where by $S^n$ I mean the set $\lbrace s_1\cdots s_n \; | \; s_i \in S\rbrace$. How to assign from a function which returns more than one value? What are these dark spots in my pictures? I've been seeing these dark spots in my pictures. They appear a lot more on some pictures than others, but they are in the same place in the image and independent of the lens being used. Is this dust? I've also heard that you can get oil spots on the sensor.  The image is from a Nikon D7000. When using divs when is it best to use a class vs id?   Is it best to use class, on say font variant or elements within the html? Then use id for the structure/containers?   This is something I've always been a little uncertain on, any help would  be great. Images are escaping from the help center privilege page Images included in the fully expanded privilege pages are escaping from the body.    This is most noticeable on the  (which I know is going away soon anyway):    But is also apparent on:       In the edit page preview, the images sit correctly within the borders.  Chrome 27, Windows 7 The new top bar is out on meta. Consider it a beta EDIT Dec 4 -  We're doing it live! Please post bugs or concerns as questions tagged [top-bar]  We have rolled out our 95% completed top bar for feedback.  Note:   We are still adding a few final features, so if you have a request for a feature that is not there you might hold off on that for a day or two Yes, the bar is black1. Also give that a day or two to sink in.   I also want to specifically address the meta/main/chat links.  I'm very aware that many of you like having the links at the top of the page and that this new version is different.  The thought process behind moving these links is that the "site switcher" should be an automatic place to go when you are on a site and want to go to another one. If you haven't already developed the muscle memory for these links, getting between them required a bit of a cognitive load: You must first decide that you want to switch sites and then you have to decide which area to go to to switch.  Also, we find that less familiar users aren't entirely clear what a standalone link that says "main" or "meta" actually does... Not to mention that it hurts my UX sensibilities that we are dynamically changing links in an element that should be fixed.  It is true that we have added a click in the process, but we have also removed a lot of clicks for other common actions that are much more frequent than switching between main and meta.  All I ask is that you give it a few days and see if the new "switch sites at the top left" paradigm grows on you.  What do you think?  1.  points out that technically it's not quite black. How to find users by name I have a whole bunch of people I would love to follow or at least check out on Stack Overflow. I know them from places like Github as well as personal friends. However I am having a really hard time finding them even though I know e.g. their Gmail address and that they use OpenID via Gmail to login and their full name.   How come this is so painful? Note that I don't want to have to fuzz around with the data explorer just to find a friend of mine on Stack Overflow. What am I missing? Is it just not there or just not working properly? I have a file with ANSI colors.  test.txt: \e[0;31mExample\e[0m  I would like to display the content of this file in a terminal, like cat does, but I would like to display the colors as well.