/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/swiftmailer/swiftmailer/tests/unit/Swift/Transport/EsmtpTransport/ |
H A D | ExtensionSupportTest.php | 84 $smtp->start(); 121 ->with($smtp); 127 ->with($smtp); 133 ->with($smtp); 137 $smtp->start(); 222 $smtp->start(); 223 $smtp->send($message); 308 $smtp->start(); 309 $smtp->send($message); 370 $smtp->start(); [all …]
|
/dports/mail/dovecot/dovecot-2.3.17/src/lib-smtp/ |
H A D | Makefile.in | 170 smtp-server-cmd-auth.lo smtp-server-cmd-mail.lo \ 171 smtp-server-cmd-rcpt.lo smtp-server-cmd-data.lo \ 172 smtp-server-cmd-rset.lo smtp-server-cmd-noop.lo \ 173 smtp-server-cmd-quit.lo smtp-server-cmd-vrfy.lo \ 175 am_libsmtp_la_OBJECTS = smtp-parser.lo smtp-syntax.lo smtp-address.lo \ 176 smtp-common.lo smtp-params.lo smtp-reply.lo \ 177 smtp-reply-parser.lo smtp-command-parser.lo \ 178 smtp-client-command.lo smtp-client-transaction.lo \ 180 smtp-server-reply.lo smtp-server-command.lo \ 182 smtp-server-connection.lo smtp-server.lo \ [all …]
|
/dports/mail/mailutils/mailutils-3.13/libproto/mailer/tests/ |
H A D | smtpsend.c | 47 mu_smtp_t smtp = data; in send_rcpt_command() local 95 mu_smtp_t smtp; in main() local 116 MU_ASSERT (mu_smtp_create (&smtp)); in main() 224 mu_smtp_set_carrier (smtp, stream); in main() 243 MU_ASSERT (mu_smtp_open (smtp)); in main() 244 MU_ASSERT (mu_smtp_ehlo (smtp)); in main() 257 status = mu_smtp_auth (smtp); in main() 261 MU_ASSERT (mu_smtp_ehlo (smtp)); in main() 323 MU_ASSERT (mu_smtp_dot (smtp)); in main() 324 MU_ASSERT (mu_smtp_quit (smtp)); in main() [all …]
|
/dports/sysutils/rsyslog8/rsyslog-8.2112.0/plugins/ommail/ |
H A D | ommail.c | 87 } smtp; member 99 } smtp; member 281 free(pData->md.smtp.pszSrv); 283 free(pData->md.smtp.pszFrom); 314 if(pWrkrData->md.smtp.iRcvBuf == pWrkrData->md.smtp.lenRcvBuf) { /* buffer empty? */ in getRcvChar() 317 lenBuf = recv(pWrkrData->md.smtp.sock, pWrkrData->md.smtp.RcvBuf, in getRcvChar() 335 *pC = pWrkrData->md.smtp.RcvBuf[pWrkrData->md.smtp.iRcvBuf++]; in getRcvChar() 353 pWrkrData->md.smtp.sock = -1; in serverDisconnect() 411 pWrkrData->md.smtp.sock = -1; in serverConnect() 609 …CHKiRet(Send(pWrkrData->md.smtp.sock, (char*)pData->md.smtp.pszFrom, strlen((char*)pData->md.smtp.… in sendSMTP() [all …]
|
/dports/mail/cone/cone-1.1/libmail/ |
H A D | smtp.C | 94 mail::smtp::Blast::Blast(mail::smtp *smtpArg) in Blast() 100 mail::smtp::Blast::~Blast() in ~Blast() 241 void mail::smtp::installHandler(void (mail::smtp::*handler)(int, in installHandler() 283 void mail::smtp::resumed() in resumed() 357 mail::smtp::smtp(string url, string passwd, in smtp() function 633 void mail::smtp::starttls() in starttls() 673 void mail::smtp::begin_auth() in begin_auth() 746 void mail::smtp::authenticate_hmac() in authenticate_hmac() 864 void mail::smtp::authenticated() in authenticated() 874 mail::smtp::~smtp() in ~smtp() [all …]
|
/dports/mail/p5-Mail-DMARC/Mail-DMARC-1.20190308/bin/ |
H A D | dmarc_send_reports | 220 my $smtp = $report->sendit->smtp->connect_smtp_tls( $to ) or do { 233 if ( ! $smtp ) { 234 $smtp = $report->sendit->smtp->connect_smtp( $to ) or do { 263 if ( ! $smtp ) { 272 return $smtp; 281 my $smtp; 306 my $err = $smtp->code ." ". $smtp->message; 314 $smtp->quit; 319 my $err = $smtp->code ." ". $smtp->message; 381 my $err = $smtp->code ." ". $smtp->message; [all …]
|
/dports/mail/mailutils/mailutils-3.13/libproto/mailer/ |
H A D | smtp_secret.c | 27 mu_smtp_set_secret (mu_smtp_t smtp, mu_secret_t secret) in mu_smtp_set_secret() argument 29 if (!smtp) in mu_smtp_set_secret() 31 if (smtp->secret) in mu_smtp_set_secret() 33 if (MU_SMTP_FISSET (smtp, _MU_SMTP_CLNPASS)) in mu_smtp_set_secret() 34 mu_secret_password_unref (smtp->secret); in mu_smtp_set_secret() 35 mu_secret_destroy (&smtp->secret); in mu_smtp_set_secret() 39 return mu_secret_dup (secret, &smtp->secret); in mu_smtp_set_secret() 45 if (!smtp) in mu_smtp_get_secret() 47 if (!smtp->secret) in mu_smtp_get_secret() 49 *secret = smtp->secret; in mu_smtp_get_secret() [all …]
|
H A D | smtp_cmd.c | 35 mu_smtp_cmd (mu_smtp_t smtp, int argc, char **argv) in mu_smtp_cmd() argument 39 if (!smtp) in mu_smtp_cmd() 41 if (MU_SMTP_FISSET (smtp, _MU_SMTP_ERR)) in mu_smtp_cmd() 43 status = mu_smtp_write (smtp, "%s", argv[0]); in mu_smtp_cmd() 44 MU_SMTP_CHECK_ERROR (smtp, status); in mu_smtp_cmd() 48 MU_SMTP_CHECK_ERROR (smtp, status); in mu_smtp_cmd() 51 status = mu_smtp_write (smtp, "\r\n"); in mu_smtp_cmd() 52 MU_SMTP_CHECK_ERROR (smtp, status); in mu_smtp_cmd() 53 status = mu_smtp_response (smtp); in mu_smtp_cmd() 54 MU_SMTP_CHECK_ERROR (smtp, status); in mu_smtp_cmd() [all …]
|
H A D | smtp.c | 119 mu_smtp_t smtp; member 170 if (smp->smtp) in _mailer_smtp_init_late() 326 mu_smtp_destroy (&smp->smtp); in smtp_destroy() 337 mu_smtp_t smtp = smp->smtp; in smtp_close() local 492 mu_smtp_t smtp; in smtp_send_message() local 504 smtp = smp->smtp; in smtp_send_message() 540 mu_smtp_rset (smtp); in smtp_send_message() 548 mu_smtp_rset (smtp); in smtp_send_message() 555 mu_smtp_rset (smtp); in smtp_send_message() 570 mu_smtp_rset (smtp); in smtp_send_message() [all …]
|
H A D | smtp_quit.c | 32 mu_smtp_quit (mu_smtp_t smtp) in mu_smtp_quit() argument 36 if (!smtp) in mu_smtp_quit() 38 if (MU_SMTP_FISSET (smtp, _MU_SMTP_ERR)) in mu_smtp_quit() 40 if (smtp->state == MU_SMTP_CLOS) in mu_smtp_quit() 42 status = mu_smtp_write (smtp, "QUIT\r\n"); in mu_smtp_quit() 43 MU_SMTP_CHECK_ERROR (smtp, status); in mu_smtp_quit() 44 status = mu_smtp_response (smtp); in mu_smtp_quit() 45 MU_SMTP_CHECK_ERROR (smtp, status); in mu_smtp_quit() 46 if (smtp->replcode[0] != '2') in mu_smtp_quit() 48 smtp->state = MU_SMTP_CLOS; in mu_smtp_quit()
|
H A D | smtp_rset.c | 32 mu_smtp_rset (mu_smtp_t smtp) in mu_smtp_rset() argument 36 if (!smtp) in mu_smtp_rset() 38 if (MU_SMTP_FISSET (smtp, _MU_SMTP_ERR)) in mu_smtp_rset() 40 status = mu_smtp_write (smtp, "RSET\r\n"); in mu_smtp_rset() 41 MU_SMTP_CHECK_ERROR (smtp, status); in mu_smtp_rset() 42 status = mu_smtp_response (smtp); in mu_smtp_rset() 43 MU_SMTP_CHECK_ERROR (smtp, status); in mu_smtp_rset() 44 if (smtp->replcode[0] != '2') in mu_smtp_rset() 47 switch (smtp->state) in mu_smtp_rset() 60 smtp->state = MU_SMTP_MAIL; in mu_smtp_rset()
|
/dports/mail/pear-Horde_Smtp/Horde_Smtp-1.9.5/test/Horde/Smtp/ |
H A D | RemoteServerTest.php | 29 private $smtp; variable in Horde_Smtp_RemoteServerTest 42 if ($this->smtp) { 43 unset($this->smtp); 51 $this->smtp->login(); 61 $this->smtp->login(); 69 $this->smtp->data_8bit 78 $this->smtp->data_binary 86 $this->smtp->queryExtension('SIZE'), 87 $this->smtp->size 94 $this->smtp->noop(); [all …]
|
/dports/games/cockatrice/Cockatrice-2021-01-26-Release-2.8.0/servatrice/src/ |
H A D | smtpclient.cpp | 10 smtp = new QxtSmtp(this); in SmtpClient() 32 if (smtp) { in ~SmtpClient() 33 delete smtp; in ~SmtpClient() 34 smtp = 0; in ~SmtpClient() 76 int id = smtp->send(message); in enqueueActivationTokenMail() 119 int id = smtp->send(message); in enqueueForgotPasswordTokenMail() 130 if (smtp->pendingMessages() == 0) in sendAllEmails() 140 smtp->setUsername(username); in sendAllEmails() 141 smtp->setPassword(password); in sendAllEmails() 149 smtp->connectToHost(host, port); in sendAllEmails() [all …]
|
/dports/security/tls-check/TLS-Check-cd2e654/lib/Net/SSL/Handshake/StartTLS/ |
H A D | SMTP.pm | 99 my $smtp; 107 unless ($smtp) 122 IO::Socket::Timeout->enable_timeouts_on($smtp); 123 $smtp->read_timeout( $self->timeout ); 124 $smtp->write_timeout( $self->timeout ); 131 unless ( $smtp->command("STARTTLS")->response() == CMD_OK ) 133 if ( $smtp->code == 421 or $smtp->code == 450 ) 135 $smtp->quit; 141 die "SMTP STARTTLS failed: " . $smtp->code . " " . $smtp->message . "\n"; 153 binmode($smtp); [all …]
|
/dports/www/fusionpbx/fusionpbx-4.4.1/secure/ |
H A D | fax_to_email.php | 369 $smtp['port'] = 0; 409 $smtp['method'] = ($smtp['method'] == '') ? 'smtp' : $smtp['method']; 410 $smtp['auth'] = ($smtp['auth'] == "true") ? true : false; 411 $smtp['password'] = ($smtp['password'] != '') ? $smtp['password'] : null; 412 $smtp['secure'] = ($smtp['secure'] != "none") ? $smtp['secure'] : null; 413 $smtp['username'] = ($smtp['username'] != '') ? $smtp['username'] : null; 580 if (isset($smtp['method'])) { 581 switch($smtp['method']) { 610 $mail->Host = $smtp['host']; 614 if (strlen($smtp['secure']) > 0 && $smtp['secure'] != 'none') { [all …]
|
/dports/security/dsniff/dsniff-2.4/ |
H A D | mailsnarf.c | 219 if (smtp->from) { in process_smtp_client() 220 free(smtp->from); in process_smtp_client() 221 smtp->from = NULL; in process_smtp_client() 301 if ((smtp = (struct smtp_info *)malloc(sizeof(*smtp))) == NULL) in sniff_smtp_client() 305 smtp->from = NULL; in sniff_smtp_client() 306 *smtp_save = smtp; in sniff_smtp_client() 310 smtp = *smtp_save; in sniff_smtp_client() 321 smtp = *smtp_save; in sniff_smtp_client() 328 if (smtp->from) in sniff_smtp_client() 329 free(smtp->from); in sniff_smtp_client() [all …]
|
/dports/mail/nullmailer/nullmailer-2.2/test/tests/ |
H A D | smtp-auth | 6 start server "tcpserver -1 ::0 0 sh $srcdir/test/authtest-smtp.sh $tmpdir/smtp-result" 9 echo 'Testing auth success with smtp' 10 echo '250 OK' > $tmpdir/smtp-result 11 protocol smtp --host=localhost --port=$port --user=example --pass=example 3<$testmail 13 echo 'Testing auth login success with smtp' 14 echo $'350 Go ahead\n250 AUTH' > $tmpdir/smtp-result 17 echo 'Testing auth temporary failure with smtp' 18 echo '450 No' > $tmpdir/smtp-result 19 error 16 protocol smtp --host=localhost --port $port --user=example --pass=example 3<$testmail 21 echo 'Testing auth permanent failure with smtp' [all …]
|
/dports/net-mgmt/smokeping/SmokePing-2.8.2/lib/Smokeping/probes/ |
H A D | SendEmail.pm | 143 next if (!$smtp); 145 $smtp->mail($from) || next; 146 $smtp->to($to, { Notify => ['NEVER'] }) || next; 147 $smtp->data() || next; 148 $smtp->datasend("From: <$from>\n"); 149 $smtp->datasend("To: <$to>\n"); 150 $smtp->datasend("Subject: $subject\n"); 151 $smtp->datasend("\n"); 157 $smtp->datasend(sprintf("%s\n", "A" x 79)); 165 $smtp->dataend() || next; [all …]
|
/dports/www/p5-HTTP-WebTest/HTTP-WebTest-2.04/lib/HTTP/WebTest/ |
H A D | ReportPlugin.pm | 294 my $smtp = Net::SMTP->new($mail_server); 296 unless defined $smtp; 300 $self->_smtp_cmd($smtp, 'mail', $from); 302 $self->_smtp_cmd($smtp, 'data'); 308 $self->_smtp_cmd($smtp, 'datasend', 310 $self->_smtp_cmd($smtp, 'datasend', "\n"); 312 $self->_smtp_cmd($smtp, 'dataend'); 313 $self->_smtp_cmd($smtp, 'quit'); 348 my $smtp = shift; 351 my $ret = $smtp->$cmd(@_); [all …]
|
/dports/security/p5-Net-SSLGlue/Net-SSLGlue-1.058/examples/ |
H A D | send-ssl-mail.pl | 5 my $smtp = Net::SMTP->new( 'mail.gmx.net', 10 die $smtp->peerhost.':'.$smtp->peerport; 11 $smtp->auth( '123456','password' ); 12 $smtp->mail( 'me@example.org' ); 13 $smtp->to( 'you@example.org' ); 14 $smtp->data; 15 $smtp->datasend( <<EOD ); 22 $smtp->dataend; 23 $smtp->quit;
|
/dports/sysutils/monit/monit-5.29.0/src/protocols/ |
H A D | smtp.c | 41 SMTP_T smtp = SMTP_new(socket); in check_smtp() local 45 SMTP_greeting(smtp); in check_smtp() 46 SMTP_helo(smtp, "localhost"); in check_smtp() 48 SMTP_starttls(smtp, &(port->target.net.ssl.options)); in check_smtp() 49 if (port->parameters.smtp.username && port->parameters.smtp.password) in check_smtp() 50 … SMTP_auth(smtp, port->parameters.smtp.username, port->parameters.smtp.password); in check_smtp() 51 SMTP_quit(smtp); in check_smtp() 55 SMTP_free(&smtp); in check_smtp()
|
/dports/devel/p5-Data-Model/Data-Model-0.00008/t/030_dbi/ |
H A D | q4m.t | 120 smtp => { 126 smtp => sub { 132 is($retval, 'smtp', 'queue running is success: smtp'); 139 smtp => { 145 smtp => sub { 155 smtp => sub { 161 is($retval, 'smtp', 'queue running is success: smtp'); 167 smtp => { 179 is($retval, 'smtp', 'queue running is success: smtp'); 199 is($row->id, 'foo: smtp', 'id: foo: smtp'); [all …]
|
/dports/mail/mailutils/mailutils-3.13/mu/libexec/ |
H A D | smtp.c | 52 static mu_smtp_t smtp; variable 90 if (smtp) in smtp_set_verbose() 102 if (smtp) in smtp_set_verbose_mask() 138 if (smtp) in com_disconnect() 141 mu_smtp_destroy (&smtp); in com_disconnect() 142 smtp = NULL; in com_disconnect() 231 mu_smtp_destroy (&smtp); in com_connect() 232 smtp = NULL; in com_connect() 334 if (smtp) in com_quit() 635 rc = mu_smtp_auth (smtp); in com_auth() [all …]
|
/dports/net/p5-Net/libnet-3.13/demos/ |
H A D | smtp.self | 55 my $smtp = Net::SMTP->new("mailhost"); 59 $smtp->mail($user) && $smtp->to($user); 60 $smtp->reset; 62 if($smtp->mail($user) && $smtp->to($user)) 64 $smtp->data(); 69 $smtp->datasend(@data); 70 $smtp->dataend; 74 warn $smtp->message; 77 $smtp->quit;
|
/dports/net/p5-Net/libnet-3.13/t/external/ |
H A D | smtp-ssl.t | 28 my $smtp = Net::SMTP->new($host, Debug => $debug) 30 skip "no STARTTLS support",1 if $smtp->message !~/STARTTLS/; 32 if (!$smtp->starttls) { 33 fail("starttls failed: ".$smtp->code." $@") 36 my $cipher = eval { $smtp->get_cipher }; 39 } elsif ( $smtp->quit ) { 42 fail("quit after starttls failed: ".$smtp->code); 48 my $smtp = Net::SMTP->new($host, SSL => 1, Debug => $debug); 50 my $cipher = eval { $smtp->get_cipher }; 53 } elsif ( $smtp->quit ) { [all …]
|