Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
fix:public key exposed for @punitkr03 to play with
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhaev26 committed Feb 27, 2024
1 parent e2a4894 commit 878738a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mail/internal/mailrequest_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ import (
"encoding/json"
"fmt"
"net/http"
"os"

"github.com/p-society/gc-server/mail/internal/models"
)

func MailRequestHandler(w http.ResponseWriter, r *http.Request) {
var paramInstance models.MailingParams

senderName := os.Getenv("EMAIL_SENDER_NAME")
senderAddress := os.Getenv("EMAIL_SENDER_ADDRESS")
senderPassword := os.Getenv("EMAIL_SENDER_PASSWORD")
senderName := "Programming Society IIIT-Bh"
senderAddress := "[email protected]"
senderPassword := "jppxywoiaflvneue"

sender := NewGmailSender(senderName, senderAddress, senderPassword)

Expand Down

0 comments on commit 878738a

Please sign in to comment.