A Simple Guide to Send Emails from a Program
*raw_emailFrom: "Ben" <email@example.com>To: J <firstname.lastname@example.org>Cc: email@example.comDate: Tue, 15 January 2016 16:02:43 -0500Subject: Test message Hello J,This is an important message.Ben*You can modify the From and Date fields to anything you want.While you can name yourself any way you want and change the date, realize that most servers will use their own date and time and the from field domain must match the SMTP server you are using. Otherwise, you will risk your email being lost in cyberspace.Using *raw_email * with and without optionalsIf you are using *raw_email* without optionals, Juliar will use its built-in server to send emails. This is OK if you are sending an email to your computer or a computer in a local network. However, it is not recommended if you are sending an email to Gmail server for example, as most servers block requests that originated from home IP addresses or addresses that are not one of the big companies. The reason for that is simple, SPAM blocking measurement. You can thank advertisers and spammers for that...SMTP serversUsually, most SMTP servers use port 25, you can find a list of SMTP servers at https://www.arclab.com/en/kb/email/list-of-smtp-and-pop3-servers-mailserver-list.htmlor you can google for SMTP server. For MOST SMTP servers, you will need a username and password as well as SSL connection. Juliar will soon support SSL, but for now, try to find a server with no SSL connection.*raw_email * OptionalsHere are optionals for *Juliar * *raw_email * command: *raw_email=smtp server, username of smtp server, password info *An example of raw_email with optionals:
*raw_email=smtp.secureserver.net:25,rattar,mypasswordFrom: "Ben" <firstname.lastname@example.org>To: J <email@example.com>Cc: firstname.lastname@example.orgDate: Tue, 15 January 2016 16:02:43 -0500Subject: Test message Hello J,This is an important message.Ben*Thanks for all the support and remember to check out Juliar for official news at https://www.juliar.org and forums at https://www.juliar.org/forums
Do you like to write about your infosec knowledge, skills, opinions, or exploits?
Publish your original research, tutorials, articles, or other written content on Cybray's blog to be seen by thousands of infosec readers daily!