send.c (77274) | send.c (78193) |
---|---|
1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 */ 33 34#ifndef lint 35#if 0 36static char sccsid[] = "@(#)send.c 8.1 (Berkeley) 6/6/93"; 37#endif 38static const char rcsid[] = | 1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 */ 33 34#ifndef lint 35#if 0 36static char sccsid[] = "@(#)send.c 8.1 (Berkeley) 6/6/93"; 37#endif 38static const char rcsid[] = |
39 "$FreeBSD: head/usr.bin/mail/send.c 77274 2001-05-27 20:26:22Z mikeh $"; | 39 "$FreeBSD: head/usr.bin/mail/send.c 78193 2001-06-14 01:08:30Z mikeh $"; |
40#endif /* not lint */ 41 42#include "rcv.h" 43#include "extern.h" 44 45/* 46 * Mail -- a mail program 47 * --- 234 unchanged lines hidden (view full) --- 282{ 283 struct header head; 284 285 head.h_to = extract(str, GTO); 286 head.h_subject = NULL; 287 head.h_cc = NULL; 288 head.h_bcc = NULL; 289 head.h_smopts = NULL; | 40#endif /* not lint */ 41 42#include "rcv.h" 43#include "extern.h" 44 45/* 46 * Mail -- a mail program 47 * --- 234 unchanged lines hidden (view full) --- 282{ 283 struct header head; 284 285 head.h_to = extract(str, GTO); 286 head.h_subject = NULL; 287 head.h_cc = NULL; 288 head.h_bcc = NULL; 289 head.h_smopts = NULL; |
290 if ((head.h_replyto = getenv("REPLYTO")) == NULL) 291 head.h_replyto = NULL; | 290 head.h_replyto = value("REPLYTO"); |
292 head.h_inreplyto = NULL; 293 mail1(&head, 0); 294 return (0); 295} 296 297/* 298 * Mail a message on standard input to the people indicated 299 * in the passed header. (Internal interface). --- 275 unchanged lines hidden --- | 291 head.h_inreplyto = NULL; 292 mail1(&head, 0); 293 return (0); 294} 295 296/* 297 * Mail a message on standard input to the people indicated 298 * in the passed header. (Internal interface). --- 275 unchanged lines hidden --- |