Skip to content

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

remove `expect` errors messages

h@di8e30d3345ab5
diff --git a/checkEmail.sh b/checkEmail.sh
index df732781..5a0c27d2 100755
--- a/checkEmail.sh
+++ b/checkEmail.sh
@@ -15,7 +15,7 @@ fi
for HOST in ${MX_HOSTS[@]}; do
for PORT in ${PORTS[@]}; do
- OUTPUT=`expect expectTelnet.tcl $EMAIL $HOST $PORT $SENDER`;
+ OUTPUT=`expect expectTelnet.tcl $EMAIL $HOST $PORT $SENDER 2>/dev/null`;
if [[ `echo $OUTPUT | grep "2.1.5"` ]]; then # 2.1.5 means address exists
echo true;
exit 0;