Compare commits
1 Commits
master
...
am/try-out
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ce254c7ad |
@ -37,8 +37,8 @@ USER reacher
|
||||
ENV RUST_LOG=reacher=info
|
||||
ENV RCH_HTTP_HOST=0.0.0.0
|
||||
ENV PORT=8080
|
||||
# Using a headless navigator to verify Hotmail emails is disabled. Set to 1 to enable it.
|
||||
ENV RCH_HOTMAIL_USE_HEADLESS=0
|
||||
# Use a headless navigator to verify Hotmail emails is disabled. Set to 0 to disable it.
|
||||
ENV RCH_HOTMAIL_USE_HEADLESS=1
|
||||
# Bulk verification is disabled by default. Set to 1 to enable it.
|
||||
ENV RCH_ENABLE_BULK=0
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use async_smtp::EmailAddress;
|
||||
use headless_chrome::Browser;
|
||||
use headless_chrome::{Browser, LaunchOptionsBuilder};
|
||||
use serde::Serialize;
|
||||
|
||||
use super::SmtpDetails;
|
||||
@ -40,7 +40,12 @@ pub fn check_password_recovery(to_email: &EmailAddress) -> Result<SmtpDetails, H
|
||||
"[email={}] Using Hotmail password recovery in headless navigator",
|
||||
to_email,
|
||||
);
|
||||
let browser = Browser::default()?;
|
||||
let options = LaunchOptionsBuilder::default()
|
||||
.window_size(Some((1800, 1500)))
|
||||
.sandbox(false)
|
||||
.build()
|
||||
.unwrap();
|
||||
let browser = Browser::new(options)?;
|
||||
let tab = browser.wait_for_initial_tab()?;
|
||||
let to_email = to_email.to_string();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user