메일발송사용에 관하여 정보
메일발송사용에 관하여본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
제가 야후 호스팅을 쓰고 있는데 이곳에서는 자체적으로 보내는 이메일을 막고 있는 듯 합니다. 그러나 아래와 같은 문구가 들어가야만 메일을 사용할 수 있다고 하는데요. 저는 이메일인증만 사용하려고 하는데 어느부분에 어떻게 넣어야 할지 몰라서요. 부탁드리겠습니다.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
$title='mail test';
$to='MAIL ADDRESS TO SEND TO';
$from= '*** 개인정보보호를 위한 이메일주소 노출방지 ***';
$subject='Using Sendmail';
open(MAIL, "|/usr/sbin/sendmail -t");
## Mail Header
print MAIL "To: $to\n";
print MAIL "From: $from\n";
print MAIL "Subject: $subject\n\n";
## Mail Body
print MAIL "This is a test message from Yahoo! \n";
close(MAIL);
print "<html><head><title>$title<
/title></head>\n<body>\n\n";
## START HTML content
print "<h1>$title</h1>\n";
print "<p>A message has been sent from $from to $to";
## END HTML CONTENT
print "\n\n</body></html>";
오류 주소 :
제가 야후 호스팅을 쓰고 있는데 이곳에서는 자체적으로 보내는 이메일을 막고 있는 듯 합니다. 그러나 아래와 같은 문구가 들어가야만 메일을 사용할 수 있다고 하는데요. 저는 이메일인증만 사용하려고 하는데 어느부분에 어떻게 넣어야 할지 몰라서요. 부탁드리겠습니다.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
$title='mail test';
$to='MAIL ADDRESS TO SEND TO';
$from= '*** 개인정보보호를 위한 이메일주소 노출방지 ***';
$subject='Using Sendmail';
open(MAIL, "|/usr/sbin/sendmail -t");
## Mail Header
print MAIL "To: $to\n";
print MAIL "From: $from\n";
print MAIL "Subject: $subject\n\n";
## Mail Body
print MAIL "This is a test message from Yahoo! \n";
close(MAIL);
print "<html><head><title>$title<
/title></head>\n<body>\n\n";
## START HTML content
print "<h1>$title</h1>\n";
print "<p>A message has been sent from $from to $to";
## END HTML CONTENT
print "\n\n</body></html>";
댓글 전체