
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
This is the ruby client for SMTP Locaweb product.
gem install smtp_lw
or add this line to Gemfile:
gem 'smtp_lw'
and run bundle install
from your shell.
client = SmtpLw::Client.new(api_token: 'your api token from the panel')
or
SmtpLw.configure do |c|
c.api_token = 'your api token'
c.per_page = 50
end
# instantiate the client
client = SmtpLw::Client.new
You can also authenticate setting an environment variable
SMTP_LW_API_TOKEN='your api token'
and then use the client
client = SmtpLw::Client.new
client.list_messages('all', '2015-07-01', '2015-07-30')
You can pass options as specified in the API documentation:
client.list_messages('all', '2015-07-01', '2015-07-30', {page: 1, per: 50})
client.send_message('meeting tomorrow at 11', 'this is the body of my msg', 'me@domain.com',
'you@domain.com')
Please see CONTRIBUTING.md.
smtp_lw is Copyright © 2015-2016 Locaweb. It is free software, and may be redistributed under the terms specified in the LICENSE file.
FAQs
Unknown package
We found that smtp_lw demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.