title: laravel4 hyperlink is not showing in yahoo,outlook but in gmail hyperlink is working
body: <p>i am new in laravel4,i am developing a website and create an user registration functionality successfully.After a registration,the certain user will get an email for account activation,which is absolutely working fine in my web app.</p>
  
  <p><strong>but the problem is , the verification code which should be appear as a hyperlink,not appearing as a hyperlink except Gmail,that is,in other email service provider like yahoo,outlook,GMX... that verification code is not appearing as hyperlink.. only appearing as a plain text.</strong></p>
  
  <p>now here is my mail.php file</p>
  
  <pre><code>&lt;?php
  
  return array(
  
  /*
  |--------------------------------------------------------------------------
  | Mail Driver
  |--------------------------------------------------------------------------
  |
  | Laravel supports both SMTP and PHP's "mail" function as drivers for the
  | sending of e-mail. You may specify which one you're using throughout
  | your application here. By default, Laravel is setup for SMTP mail.
  |
  | Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill", "log"
  |
  */
  
  'driver' =&gt; 'smtp',
  
  /*
  |--------------------------------------------------------------------------
  | SMTP Host Address
  |--------------------------------------------------------------------------
  |
  | Here you may provide the host address of the SMTP server used by your
  | applications. A default option is provided that is compatible with
  | the Mailgun mail service which will provide reliable deliveries.
  |
  */
  
  'host' =&gt; 'mail.forgroup.com',
  
  /*
  |--------------------------------------------------------------------------
  | SMTP Host Port
  |--------------------------------------------------------------------------
  |
  | This is the SMTP port used by your application to deliver e-mails to
  | users of the application. Like the host we have set this value to
  | stay compatible with the Mailgun e-mail application by default.
  |
  */
  
  'port' =&gt; 465,
  
  /*
  |--------------------------------------------------------------------------
  | Global "From" Address
  |--------------------------------------------------------------------------
  |
  | You may wish for all e-mails sent by your application to be sent from
  | the same address. Here, you may specify a name and address that is
  | used globally for all e-mails that are sent by your application.
  |
  */
  
  'from' =&gt; array('address' =&gt; '******@*******.com', 'name' =&gt; '*******'),
  
  /*
  |--------------------------------------------------------------------------
  | E-Mail Encryption Protocol
  |--------------------------------------------------------------------------
  |
  | Here you may specify the encryption protocol that should be used when
  | the application send e-mail messages. A sensible default using the
  | transport layer security protocol should provide great security.
  |
  */
  
  'encryption' =&gt; 'ssl',
  
  /*
  |--------------------------------------------------------------------------
  | SMTP Server Username
  |--------------------------------------------------------------------------
  |
  | If your SMTP server requires a username for authentication, you should
  | set it here. This will get used to authenticate with your server on
  | connection. You may also set the "password" value below this one.
  |
  */
  
  'username' =&gt; '******',
  
  /*
  |--------------------------------------------------------------------------
  | SMTP Server Password
  |--------------------------------------------------------------------------
  |
  | Here you may set the password required by your SMTP server to send out
  | messages from your application. This will be given to the server on
  | connection so that the application will be able to send messages.
  |
  */
  
  'password' =&gt; '*******',
  
  /*
  |--------------------------------------------------------------------------
  | Sendmail System Path
  |--------------------------------------------------------------------------
  |
  | When using the "sendmail" driver to send e-mails, we will need to know
  | the path to where Sendmail lives on this server. A default path has
  | been provided here, which will work well on most of your systems.
  |
  */
  
  'sendmail' =&gt; '/usr/sbin/sendmail',
  
  /*
  |--------------------------------------------------------------------------
  | Mail "Pretend"
  |--------------------------------------------------------------------------
  |
  | When this option is enabled, e-mail will not actually be sent over the
  | web and will instead be written to your application's logs files so
  | you may inspect the message. This is great for local development.
  |
  */
  
  'pretend' =&gt; false,
  
  );
  </code></pre>
  
  <p>though i have no idea,whats the  reason for this error,i have tried to change the port in my mail.php file.Previously my port value was 465,after changing it to 25,i am getting the following error,so i have get back to my previous port which is 465</p>
  
  <pre><code>Swift_TransportException
  Connection could not be established with host mail.foragroup.com [ #0]
  </code></pre>
  
  <p>after that i have tried the another encryption "tls" instead of "ssl",but after that i am facing the following error</p>
  
  <pre><code>Swift_TransportException
  Connection to tcp://mail.forgroup.com:465 Timed Out
  </code></pre>
  
  <p>now though i have no clear idea,i am giving you my controller by which actually i am sending the verification mail,here is the controller</p>
  
  <pre><code>public function signupPost()
  {
      $validator = Validator::make(Input::all(), array(
  
          'email'             =&gt; 'required|max:255|email|unique:users',
          'username'          =&gt; 'required|min:4|unique:users',
          'password'          =&gt; 'required|min:8',
          'password_again'    =&gt;  'required|same:password'
  
          )
      );
  
      if($validator-&gt;fails())
      {
          return Redirect::route('signup')
              -&gt;withErrors($validator)
              -&gt;withInput();
      }else
      {
          $email          = Input::get('email');
          $username       = Input::get('username');
          $password       = Input::get('password');
  
          //Activation Code
          $code = str_random(60);
  
          $user = User::create(array(
                      'email'     =&gt; $email,
                      'username'  =&gt; $username,
                      'password'  =&gt; Hash::make($password),
                      'code'      =&gt; $code,
                      'active'    =&gt; 0                
                      )
          );
  
          if($user){
              //User Activation Code Creation
              Mail::send('emails.auth.activate', array('link' =&gt; URL::route('activate-account',$code), 'username' =&gt; $username),function($message) use ($user)
                  {
                      $message-&gt;to($user-&gt;email,$user-&gt;username)-&gt;subject('Activate Your Account');
                  });
  
              return Redirect::route('signup')
                              -&gt;with('global','Your Account has been created! We have sent you an email to activate your account.Please Check the both the Inbox and Spam Folder.');
  
          }
  
      }
  
  
  
  }
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>This is the my activate HTML file</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt;
    &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h3&gt;Hello &lt;strong&gt;&lt;h1 style="color:#1B438D"&gt;{{$username}}&lt;/h1&gt;&lt;/strong&gt;&lt;/h3&gt; &lt;br&gt;&lt;br&gt;
      Please Activate Your Account Using The Following Link &lt;br&gt;&lt;br&gt;
  
  &lt;b&gt;NOTE&lt;/b&gt;&lt;h3 style="color:red;"&gt;If the following code is not a link or clickable,then please              &lt;b&gt;COPY&lt;/b&gt;&lt;br/&gt;
  the whole code and &lt;b&gt;PASTE&lt;/b&gt; it in NEW TAB of your browser.&lt;/h3&gt; 
  
  
  ----
  {{$link}}
  ----
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>