Explain working of Email. Explain difference between Absolute and Relative URL.
SOLUTION
Email is a system to send and receive messages through the internet. When a user writes an email, it is sent via SMTP to mail servers. The recipient’s server stores the message, and the user can read it using POP3 or IMAP through an email application.
Email is a method of sending digital messages online.
A message is written in an email client.
It is sent via SMTP to mail servers.
The recipient’s server stores it.
The recipient accesses it using POP3 or IMAP.
Absolute vs. Relative URL
A URL (Uniform Resource Locator) tells a browser where to find a resource (like a web page, image, or file).
Aspect | Absolute URL | Relative URL |
---|---|---|
Definition | A complete URL that includes the protocol, domain, and path to the resource. | A partial URL that provides the path relative to the current page’s URL. |
Example | https://www.example.com/images/logo.png |
images/logo.png |
Usage | Used when linking to resources from another website or outside the current path. | Used for resources within the same website or project folder. |
Portability | Less portable (depends on the exact domain). | More portable (works if the folder structure remains the same). |