Result:
found more than 726 distributions - search limited to the first 2001 files matching your query ( run in 0.580 )


Mail-Sender

 view release on metacpan or  search on metacpan

lib/Mail/Sender.pm  view on Meta::CPAN

Sends a file as a separate part of the mail message. Only in multi-part mode.

=head2 Body

    # set parameters in an ordered list
    # -- charset, encoding, content-type
    $sender = $sender->Body('US-ASCII', '7BIT', 'text/plain');
    # OR use a hashref
    $sender = $sender->Body({
        charset => 'US-ASCII', # default
        encoding => '7BIT', # default

 view all matches for this distribution


Mail-SpamAssassin-Contrib-Plugin-IPFilter

 view release on metacpan or  search on metacpan

doc/index.html  view on Meta::CPAN

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mail::SpamAssassin::Contrib::Plugin::IPFilter - Blocks bad MTA behavior using IPTables and Redis/MySQL.</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<style type="text/css">
body{font-size:1.1em;}
hr {color:#999;margin-top:20px;}
h1{margin: 20px 0 10px 0;}
pre {

 view all matches for this distribution


Mail-SpamAssassin-Plugin-AttachmentPresent

 view release on metacpan or  search on metacpan

lib/Mail/SpamAssassin/Plugin/AttachmentPresent.pm  view on Meta::CPAN

    # we ignore all parts which are part of the text body
    
    # For zipfiles, find out whats in them
    # Content-Type: application/zip;
    # Content-Transfer-Encoding: base64
    my $ctt = $part->get_header('content-type') || '';
    # Mail::SpamAssassin::Message::Node has _decode_header() method, but it doesnt decode 
    # Content-* headers and thus the filename in the Content-Type header is not decoded :(
    $ctt=Encode::decode('MIME-Header', $ctt);
    # $ctt might contain wide characters now

    my $cte = lc($part->get_header('content-transfer-encoding') || '');
    
    l('_build_attachment_tree->part: content-type: '.$ctt);
    
    # consider the attachment a file if it has a name
    my $attachment_filename='';
    if($ctt =~ m/name\s*=\s*"?([^";]*)"?/is){
      $attachment_filename=$1;

 view all matches for this distribution


Mail-SpamAssassin

 view release on metacpan or  search on metacpan

lib/Mail/SpamAssassin/Message.pm  view on Meta::CPAN

    }
  }

  # Figure out the boundary
  my ($boundary);
  ($self->{'type'}, $boundary) = Mail::SpamAssassin::Util::parse_content_type($self->header('content-type'));
  dbg("message: main message type: ".$self->{'type'});

#  dbg("message: \$message[0]: \"" . $message[0] . "\"");

  # bug 6845: if main message type is multipart and the message body does not begin with

lib/Mail/SpamAssassin/Message.pm  view on Meta::CPAN

Used to search the tree for specific MIME parts.  See
I<Mail::SpamAssassin::Message::Node> for more details.

=cut

# Used to find any MIME parts whose simple content-type matches a given regexp
# Searches it's own and any children parts.  Returns an array of MIME
# objects which match.
#
sub find_parts {
  my $self = shift;

lib/Mail/SpamAssassin/Message.pm  view on Meta::CPAN

	# in that case.
        $part_array = [];
      }

      ($part_msg->{'type'}, my $p_boundary, undef, undef, my $ct_was_missing) =
          Mail::SpamAssassin::Util::parse_content_type($part_msg->header('content-type'));

      # bug 5741: if ct was missing and parent == multipart/digest, then
      # type should be set as message/rfc822
      if ($ct_was_missing) {
        if ($msg->{'type'} eq 'multipart/digest') {

lib/Mail/SpamAssassin/Message.pm  view on Meta::CPAN

      }
      else {
        if ($header) {
          my ( $key, $value ) = split ( /:\s*/, $header, 2 );
          $part_msg->header( $key, $value );
          if (defined $boundary && lc $key eq 'content-type') {
	    my (undef, $nested_bound) = Mail::SpamAssassin::Util::parse_content_type($part_msg->header('content-type'));
            if (defined $nested_bound && $nested_bound eq $boundary) {
       	      $nested_boundary = 1;
            }
          }
        }

lib/Mail/SpamAssassin/Message.pm  view on Meta::CPAN


  my ($msg, $boundary, $body) = @{$toparse};

  dbg("message: parsing normal part");

  # 0: content-type, 1: boundary, 2: charset, 3: filename 4: ct_missing
  my @ct = Mail::SpamAssassin::Util::parse_content_type($msg->header('content-type'));

  # multipart sections are required to have a boundary set ...  If this
  # one doesn't, assume it's malformed and revert to text/plain
  # bug 5741: don't overwrite the default type assigned by _parse_multipart()
  if (!$ct[4]) {

lib/Mail/SpamAssassin/Message.pm  view on Meta::CPAN

    $disp = Mail::SpamAssassin::Header::ParameterHeader->new($disp);
    $msg->{'disposition'} = $disp->value();
    $msg->{'name'} = $disp->parameter('filename');
  }
  # if the content-disposition header doesn't have a filename, try to get
  # the filename from the content-type header
  $msg->{'name'} = $ct[3] unless defined $msg->{'name'};

  $msg->{'boundary'} = $boundary;

  # If the part type is not one that we're likely to want to use, go

 view all matches for this distribution


Mail-TLSRPT

 view release on metacpan or  search on metacpan

t/data/email.eml  view on Meta::CPAN

    NYDKGeQSf+QGDbi6MsJZQyG5hsGC2QI1g1EWDcS1iksWr8kt6bsbI1JG6by/wjIz
    K3ajP8coGzmRz/CyOHn3NqtjwHOh2U3jvf5kpZL+BjG/otf6qnOt7YriMETuTyJp
    U8zUsCig/bWrms5706fSrcIcvp9N3EK1ej4w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=
    messagingengine.com; h=mime-version:date:message-id:subject:from
    :to:content-type; s=fm2; t=1583231081; bh=F5ENAj8ENPKQchrYB3O08n
    5DMjCTbaMYq78SLUP9EhQ=; b=1vm06cKEQaiO1nEOlLEMKkSnBQJxFgVKONhCbp
    842Amd0FTAFIc39iNL3GvXC0AwXlM0z1VOQv5nMp4tLqexfbmtEKqiSKoeCctRm1
    xIDaa/INzeIaItngb78aPR97vbEUFGadaDOqSozLdQeofLNeC4a27gc7Jhgv11Hg
    LIiZfyhK74kBxD65gUEE4O1xfaZpOheH2gxT25ANmppDv41qRYtvy+PFsJJad/bk
    6eQK43UXGeIjpENEe04/iozVl4K8IxhNtXLTzHvcPiNwHn4QFVA4RdV47R4NYhXX

 view all matches for this distribution


Mail-Toaster

 view release on metacpan or  search on metacpan

contrib/swaks  view on Meta::CPAN


=item --body [body-specification]

Specify the body of the email.  The default is "This is a test mailing".  If no argument to --body is given, prompt to supply one interactively.  If '-' is supplied, the body will be read from standard input.  If any other text is provided and the te...

If the message is forced to MIME format (see --attach) the argument to this option will be included unencoded as the first MIME part.  Its content-type will always be text/plain.

=item --attach [attachment-specification]

When one or more --attach option is supplied, the message is changed into a multipart/mixed MIME message.  The arguments to --attach are processed the same as --body with regard to stdin, file contents, etc.  --attach can be supplied multiple times t...

 view all matches for this distribution


( run in 0.580 second using v1.01-cache-2.11-cpan-39bf76dae61 )