<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>email Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/email/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/email/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Tue, 29 Jun 2021 11:08:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Customer review email template</title>
		<link>https://www.scmgalaxy.com/tutorials/customer-review-email-template/</link>
					<comments>https://www.scmgalaxy.com/tutorials/customer-review-email-template/#respond</comments>
		
		<dc:creator><![CDATA[Mantosh Singh]]></dc:creator>
		<pubDate>Tue, 29 Jun 2021 11:06:46 +0000</pubDate>
				<category><![CDATA[Client]]></category>
		<category><![CDATA[customer]]></category>
		<category><![CDATA[digital marketing]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exmaples]]></category>
		<category><![CDATA[message]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[whatsapp]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6590</guid>

					<description><![CDATA[<p>Subject line: Your feedback is important to us BODY Dear/Hi &#60;&#60;Customer/Client name&#62;&#62; It was our sincere pleasure to provide our [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/customer-review-email-template/">Customer review email template</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Subject line: Your feedback is important to us</strong></p>



<p class="wp-block-paragraph"><strong>BODY</strong></p>



<p class="wp-block-paragraph">Dear/Hi &lt;&lt;Customer/Client name&gt;&gt;</p>



<p class="wp-block-paragraph">It was our sincere pleasure to provide our service for you recently. We truly appreciate your business, support and more specifically your feedback.</p>



<p class="wp-block-paragraph">We take feedback from our customers very seriously as it allows us to continuously improve upon our services.</p>



<p class="wp-block-paragraph">As a local business, we rely enormously on positive word of mouth and would be grateful if you could take a minute or two of your time to write a quick Google and Facebook review for our business.</p>



<p class="wp-block-paragraph">We would be grateful if you could share your experience by submitting a review using the link below:</p>



<p class="wp-block-paragraph">Google:- &lt;&lt;<a rel="noreferrer noopener" href="https://bit.ly/3x8vfgH" target="_blank">https://bit.ly/3x8vfgH</a>&gt;&gt;</p>



<p class="wp-block-paragraph">Facebook:- &lt;&lt;<a href="https://bit.ly/2UJCj4Z" target="_blank" rel="noreferrer noopener">https://bit.ly/2UJCj4Z</a>&gt;&gt;</p>



<p class="wp-block-paragraph"><strong>Not sure about what to write?</strong></p>



<p class="wp-block-paragraph">Below are a few suggestions that may help you with your creative flow.</p>



<ul class="wp-block-list"><li>What service did we provide to you and what did you like best about it?</li><li>Which trainer looked after your training program? (feel free to mention their name, they will be very flattered)</li><li>Which service do you think makes us different from our competitors?</li><li>What would you tell your friends or colleagues about us?</li><li>Is there any way we can improve some of our services/courses? if so which ones and how?</li></ul>



<p class="wp-block-paragraph">We appreciate your time and look forward to seeing you at your next visit.</p>



<p class="wp-block-paragraph">Thanks again for choosing &lt;&lt;Name of your business&gt;&gt;</p>



<p class="wp-block-paragraph">Warmest Regards,</p>



<p class="wp-block-paragraph">&lt;&lt;Email Signature&gt;&gt;</p>



<p class="wp-block-paragraph">================================</p>



<p class="wp-block-paragraph">Short Text message or whatsapp message template for Review:-</p>



<p class="wp-block-paragraph">We’d like your feedback!</p>



<p class="wp-block-paragraph">We value your opinion, would you be willing to take a few minutes to leave us a review?</p>



<p class="wp-block-paragraph">That will help others to learn about us.</p>



<p class="wp-block-paragraph">Google reviews:- &lt;&lt;<a rel="noreferrer noopener" href="https://bit.ly/3x8vfgH" target="_blank">https://bit.ly/3x8vfgH</a>&gt;&gt;</p>



<p class="wp-block-paragraph">Facebook reviews:- &lt;&lt;<a href="https://bit.ly/2UJCj4Z" target="_blank" rel="noreferrer noopener">https://bit.ly/2UJCj4Z</a>&gt;&gt;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/customer-review-email-template/">Customer review email template</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/customer-review-email-template/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to upload image in the database and send mail image</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Fri, 19 Mar 2021 12:47:09 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[upload image]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5657</guid>

					<description><![CDATA[<p>1st step:- Open command prompt in C:\xampp\htdocs. 2nd step:- Write the code given below in the opened command prompt to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/">How to upload image in the database and send mail image</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>1<sup>st</sup> step</strong>:- Open command prompt in C:\xampp\htdocs.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img fetchpriority="high" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-1024x576.png" alt="" class="wp-image-5658" width="474" height="266" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2.png 1920w" sizes="(max-width: 474px) 100vw, 474px" /></figure></div>



<p class="wp-block-paragraph"><strong>2<sup>nd</sup> step:-</strong> Write the code given below in the opened command prompt to make laravel project.</p>



<pre class="wp-block-preformatted">&nbsp;&nbsp; composer create-project --prefer-dist laravel/laravel ImageUpload "5.8.*"</pre>



<pre class="wp-block-preformatted"></pre>



<p class="wp-block-paragraph"><strong>3<sup>rd</sup> step:-</strong> After the project is created, open the folder in any code editor.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-1024x576.png" alt="" class="wp-image-5659" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>4<sup>th</sup> step:-</strong> Now open xampp. And make a database.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-1024x576.png" alt="" class="wp-image-5660" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>5<sup>th</sup> step:-</strong> Open the .env file of the project and change the name of the database same as defined in phpmyadmin.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-1024x576.png" alt="" class="wp-image-5661" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>6<sup>th</sup> step:-</strong> Write the code given below in command prompt to make controller.</p>



<p class="wp-block-paragraph"><strong>php artisan make:controller</strong><strong> </strong>ImageUpload</p>



<p class="wp-block-paragraph"><strong>7<sup>th</sup> step:-</strong> Write the code given below in command prompt to make model.</p>



<p class="wp-block-paragraph">&nbsp; <strong>php artisan make:model</strong><strong> </strong>ImageUpload<strong> </strong><strong>–m</strong></p>



<p class="wp-block-paragraph"><strong>8<sup>th</sup> step:-</strong> write the name of the column of the databse in</p>



<p class="wp-block-paragraph"><strong>database\migrations\2020_10_23_070450_create_ images _</strong><strong> </strong><strong>upload _table.php</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-1024x576.png" alt="" class="wp-image-5662" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>9<sup>th</sup> step:-</strong> Write the code given below in command prompt to migrate the table to the database.</p>



<p class="wp-block-paragraph"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>php artisan migrate</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-1024x576.png" alt="" class="wp-image-5663" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>10<sup>th</sup> step:-</strong>Then make view page in resource\views</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-1024x576.png" alt="" class="wp-image-5664" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Code of <strong>imageupload.blade.php</strong></p>



<script src="https://gist.github.com/shashank969/66502b1755eb7d1c9a48566b1d1d0b67.js"></script>



<p class="wp-block-paragraph"><strong>11<sup>th</sup> step:-</strong> Make one blade file <strong>resources/view/dynamic_email_template.blade.php</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-1024x576.png" alt="" class="wp-image-5665" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>And paste the code given below:-</strong></p>



<p class="wp-block-paragraph">&lt;p&nbsp;style=&#8221;margin-left:10%;&#8221;&gt;First&nbsp;Name&nbsp;&#8211;&nbsp;&lt;b&gt;{{&nbsp;$data[&#8216;name&#8217;]&nbsp;}}&nbsp;&lt;/b&gt;&lt;/p&gt;</p>



<p class="wp-block-paragraph">&lt;p&nbsp;style=&#8221;margin-left:10%;&#8221;&gt;last&nbsp;Name&nbsp;&#8211;&nbsp;&lt;b&gt;{{&nbsp;$data[&#8217;email&#8217;]&nbsp;}}&nbsp;&nbsp;&lt;/b&gt;&lt;/p&gt;</p>



<p class="wp-block-paragraph">&lt;p&gt;It&nbsp;would&nbsp;be&nbsp;appriciative,&nbsp;if&nbsp;you&nbsp;gone&nbsp;through&nbsp;this&nbsp;feedback.&lt;/p&gt;</p>



<p class="wp-block-paragraph"><strong>12<sup>th</sup> step:-</strong> Go to <strong>web.php</strong> and make routes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-1024x576.png" alt="" class="wp-image-5666" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">The code is given below:-</p>



<p class="wp-block-paragraph">Route::get(&#8216;sendemail&#8217;,&#8217;SendEmailController@index&#8217;);</p>



<p class="wp-block-paragraph">Route::post(&#8216;sendemail.store&#8217;,&#8217;SendEmailController@store&#8217;)-&gt;name(&#8216;sendemail.store&#8217;);</p>



<p class="wp-block-paragraph"><strong>13<sup>th</sup> step:-</strong> Go to controller and call model class</p>



<p class="wp-block-paragraph">Paste the code given below below </p>



<script src="https://gist.github.com/shashank969/164b6f563be83821fa9d242c5b493166.js"></script>



<p class="wp-block-paragraph"><strong>14<sup>th</sup> step:-</strong> Now make the mail. Write the code given below in command prompt:-</p>



<p class="wp-block-paragraph"><strong>php artisan make:mail SendMail</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-1024x576.png" alt="" class="wp-image-5667" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>15<sup>th</sup> step:-</strong> Paste the code given below in the file made by the above command:-</p>



<script src="https://gist.github.com/shashank969/a13b3a70e424fa8d939949f5bfa61dfd.js"></script>



<p class="wp-block-paragraph"><strong>16<sup>th</sup> step:-</strong> Make an account in mailtrap. 17<sup>th</sup> step.</p>



<p class="wp-block-paragraph"><strong>17<sup>th</sup> step:-</strong> copy host, port, Username and password.</p>



<p class="wp-block-paragraph"><strong>18<sup>th</sup> step:-</strong>configure <strong>.env</strong> file with the details copied by the mailtrap id.</p>



<p class="wp-block-paragraph"><strong>19<sup>th</sup> step:-</strong> Now run the command given below in the terminal.</p>



<p class="wp-block-paragraph"><strong>php artisan c:cache</strong></p>



<p class="wp-block-paragraph"><strong>php artisan serve</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/">How to upload image in the database and send mail image</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Crontab condition, if a file size is more than 5000K than send an email</title>
		<link>https://www.scmgalaxy.com/tutorials/crontab-condition-if-a-file-size-is-more-than-5000k-than-send-an-email/</link>
					<comments>https://www.scmgalaxy.com/tutorials/crontab-condition-if-a-file-size-is-more-than-5000k-than-send-an-email/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 06:06:04 +0000</pubDate>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[email]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2266</guid>

					<description><![CDATA[<p>scmuser created the topic: crontab condition, if a file size is more than 5000K than send an email find /var/www/vhosts/domain/folder/ [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crontab-condition-if-a-file-size-is-more-than-5000k-than-send-an-email/">Crontab condition, if a file size is more than 5000K than send an email</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: crontab condition, if a file size is more than 5000K than send an email</strong></p>
<p>find /var/www/vhosts/domain/folder/ -name &#8216;*.flv&#8217; -size +5000k | grep flv &#038;&#038; /bin/mail -s &#8220;The file is available!&#8221; &#8220;my@address.com&#8221; > /dev/null</p>
<p>If grep detects a line containing the string flv in the output of find it returns 0, otherwise 1. The mail command will only be executed on exit code 0 of grep.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crontab-condition-if-a-file-size-is-more-than-5000k-than-send-an-email/">Crontab condition, if a file size is more than 5000K than send an email</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/crontab-condition-if-a-file-size-is-more-than-5000k-than-send-an-email/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to attach the jenkins build log as part of the email body?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 11 Sep 2015 16:29:12 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Attach]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Email body]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to attach jenkins build log]]></category>
		<category><![CDATA[Jenkins build log]]></category>
		<category><![CDATA[Jenkins build log in email body]]></category>
		<category><![CDATA[Log]]></category>
		<category><![CDATA[Part]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ways]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/09/11/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/</guid>

					<description><![CDATA[<p>Way 1 &#8211;  Put following lines as part of Default Content text box ${BUILD_LOG, maxLines=9999, escapeHtml=false} this works for free [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/">How to attach the jenkins build log as part of the email body?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3363 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/jenkins-build-log-as-part-o.png" alt="jenkins-build-log-as-part-of-the-email-body" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/jenkins-build-log-as-part-o.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/jenkins-build-log-as-part-o-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Way 1 &#8211; </strong></p>
<p>Put following lines as part of Default Content text box</p>
<p>${BUILD_LOG, maxLines=9999, escapeHtml=false}</p>
<p>this works for free style projects</p>
<p><strong>Way 2 &#8211; If you want send only specific line using regex</strong></p>
<p>${BUILD_LOG_REGEX, regex=&#8221;\\b(Buildfile|BUILD)\\b&#8221;, linesAfter=1}</p>
<p>${BUILD_LOG_REGEX, regex=&#8221;^.*?BUILD FAILED.*?$&#8221;, linesBefore=0, linesAfter=10, maxMatches=5, showTruncatedLines=false, escapeHtml=true}</p>
<p>${BUILD_LOG_REGEX, regex=&#8221;\\b(FC0)\\b&#8221;, linesAfter=1}</p>
<p>${BUILD_LOG_REGEX, regex=&#8221;^.*?BUILD FAILED.*?$&#8221;, linesBefore=0, linesAfter=10, maxMatches=5, showTruncatedLines=false, escapeHtml=true}</p>
<p>${BUILD_LOG_REGEX, regex=&#8221;^.*?FC0.*?$&#8221;, maxMatches=95, showTruncatedLines=false, escapeHtml=false, matchedLineHtmlStyle=true}</p>
<p>This will show exactly which is expected lines as part of the regEx.</p>
<p>More Info</p>
<p><a href="http://wiki.hudson-ci.org/display/HUDSON/Email-ext+plugin" target="_blank" rel="noopener">http://wiki.hudson-ci.org/display/HUDSON/Email-ext+plugin</a></p>
<p><a href="http://stackoverflow.com/questions/9439450/how-will-i-filter-out-only-errors-in-jenkins-email-ext-build-log-regex" target="_blank" rel="noopener">http://stackoverflow.com/questions/9439450/how-will-i-filter-out-only-errors-in-jenkins-email-ext-build-log-regex</a></p>
<p><a href="http://champasoft.blogspot.nl/2012/11/jenkins-pattern-for-e-mailing-log.html" target="_blank" rel="noopener">http://champasoft.blogspot.nl/2012/11/jenkins-pattern-for-e-mailing-log.html</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/">How to attach the jenkins build log as part of the email body?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
