Sending Email Using SMTP in Golang

Akhil Sharma
Updated on 03-May-2023 11:38:16

1K+ Views

In this golang article, we can send email using SMTP’s SendMail method, as well as using SMTP with go mail method, SMTP stands for simple mail transfer protocol. This protocol is used to send messages between the servers. The net/smtp package provides a medium to send messages hence it must be imported in the program. Syntax smtp.PlainAuth() This function belongs to the smtp and is primarily used to authenticate with the SMTP server using plain authentication. smtp.SendMail() This function is present in the SMTP package. It is used to send the message from the SMTP server. smtpClient.Auth() ... Read More

Difference Between BSS and ESS

Pranavnath
Updated on 03-May-2023 11:37:55

3K+ Views

BSS and ESS are terms used in wireless networking to describe different types of wireless networks and their functions. A BSS is a wireless network made up of a group of devices within range of an access point and its AP, while an ESS is a network made up of multiple BSSs connected through a distributed system. Key differences between BSS and ESS include coverage, scalability, roaming, and definition. BSS has limited coverage, scalability, and roaming, while ESS provides better scalability, coverage, and roaming capabilities. Understanding these differences is important in choosing the right wireless network for your particular application. ... Read More

Golang Program to Implement Recursive Anonymous Function

Akhil Sharma
Updated on 03-May-2023 11:36:18

455 Views

In this Go language article, we will write programs to implement recursive anonymous function by generating fibonacci numbers, by using cache, as well as factorial of a number. An anonymous function is the function which does not have its name and it calls itself within its own body and when repeated calls are made, it called as recursive functions. Method 1 In this Example, we will generate Fibonacci numbers recursively by using an anonymous function. Here, fibo is assigned to the anonymous function with func and an input parameter. Algorithm Step 1 − Create a package main and declare ... Read More

Overview of Testing Package in Golang

Akhil Sharma
Updated on 03-May-2023 11:34:44

207 Views

In this golang article, we will learn the overview testing package using two test functions as well as using iteration. Testing is of two types: manual testing and automated testing, manual testing is done manually with defined set of test cases whereas in automated testing a program is created with code to test the software. Here we will use two test function as well as iteration method to show the importance of testing package. Algorithm Step 1 −Import the required packages in the program Step 2 − Create a test function in which the function will be called which ... Read More

Encryption: Its Algorithms and Future

Pranavnath
Updated on 03-May-2023 11:34:11

412 Views

Encryption is a method to protect the incoming message by coding the plain text into an encoded one called the cipher text. The main ideology behind encryption is to protect the data transmitted to be secured from any type of attack. There are typically two types of encryptions namely symmetric and asymmetric encryption methods. In this, the encryption algorithm comes under the components of encryption. Decryption is a process of getting the plain text from the encoded text using an encryption key. Encryption Cryptography involves both encryption and decryption, to prevent the data from unauthorized access. The Components of Encryption ... Read More

Golang Program to Depict Short Variable Declaration Operator

Akhil Sharma
Updated on 03-May-2023 11:33:03

148 Views

In this golang article, we will write Go language programs to depict short variable declaration operator using var keyword and variable declaration. In shorthand variable, initialization is done at the time of declaration where it’s not necessary in var keyword. Here, we will use a string method, as well as a count variable method to depict short variable declaration. Algorithm Step 1 − Import the required packages in the program Step 2 − Create a main function Step 3 − In the main use short variable declaration to create strings Step 4 − Print the strings created via shorthand ... Read More

Evolution of Cloud Computing

Pranavnath
Updated on 03-May-2023 11:31:44

29K+ Views

Cloud Computing provides the facility to a wide range of services stored in the cloud or Internet. The Services provided by cloud computing are computer resources, data storage, applications, servers, developmental tools, and networking protocols. It is most popularly used by IT firms and for business requirements. The term “Cloud Computing” was proposed in the year 1950s that gives internet-related services and it emerged from distributed computing to the current technology called cloud computing. Amazon, Google, and Microsoft are some examples of cloud services. Cloud Computing Cloud computing is the services provided on the Internet to store a vast amount ... Read More

Create an Empty File in Go

Akhil Sharma
Updated on 03-May-2023 11:31:20

698 Views

In Golang, os and io packages are used for performing various file-r operations like editing, copying, creating, and deleting. In this article, we are going to see three different Examples to create an empty file. In the first Example we will use os.Create from the os package, in the second Example we will use WriteFile function from ioutil package is used and in the third Example we will use NewWriter function from bufio package is used. Syntax os.Create() This function comes from the os package. It helps in the creation of a new file. The filename is given as ... Read More

GPRS Architecture in Wireless Communication

Pranavnath
Updated on 03-May-2023 11:23:42

2K+ Views

Wireless Communication Wireless communication is the process of sending voice and other forms of data without the installation of cables and wires. Radio communication systems are used at earlier stages of wireless transmitters, later then modulation is used within transmitters that use electromagnetic signals to send voice, data files, video, or other media signals over the network. Wireless networks connect the network devices to a laptop, tablets, mobile phones, and other support devices to access the internet connection thereby eliminating the physical cabling of wires. After the invention of 4G standards in cellular networking, wireless applications are mostly by the ... Read More

Efficiency of CSMA/CD

Pranavnath
Updated on 03-May-2023 11:17:53

2K+ Views

CSMA/CD (Carrier Sense Multiple Access/ Collision Detection) is a networking protocol more precisely it is an Access protocol its standard is IEEE802.3 and used to broadcast links, widely used in Ethernet network systems. It is very effective and easy the implement. But the efficiency of CSMA/CD is an important factor that decides its usage for different types of network topologies and environments. In this article, we will explore the efficiency of CSMA/CD in terms of its capability to handle network congestion and minimize the number of collisions. Working(Basics) of CSMA/CD CSMA/CD works by detecting whether the broadcast channel is idle ... Read More

Advertisements