Just a line to debug.
The app have to take a picture with the camera and then send it by email.
camera is working, email is working
picture in email attachment must be fixed!
thanks
void sendemail(var F) async {
String username = 'X';
String password = 'X';
final smtpServer = gmail(username, password);
final message = Message()
..from = Address(username, 'Your name')
..[login to view URL]('X')
..subject = 'Test Dart Mailer library :: ? :: ${[login to view URL]()}'
..text = 'This is the plain text.\nThis is line 2 of the text part.'
..html = "<h1>Test</h1>\n<p>Hey! Here's some HTML content</p>"
..attachments = [
FileAttachment(File(F))
..location = [login to view URL]
..cid = '<myimg3.141>']
;
try {
final sendReport = await send(message, smtpServer);
print('Message sent: ' + [login to view URL]());
} on MailerException catch (e) {
print('Message not sent.');
for (var p in [login to view URL]) {
print('Problem: ${[login to view URL]}: ${[login to view URL]}');
}
}
}
Hello,
I hope this finds you well. I have just seen your project requiring;
Mobile App Development
Software Architecture
Flutter
I believe that my 10-year experience in this field is what you need right away. Avoid the headache of looking further.
Let's save time and focus on the real task. My proposed timelines and budget are just placeholder and an open for negotiation to increase or decrease as per the full requirements at hand.
Allow me to prove how better my review can be. Smile all the way! Click the message button, so initiate the conversation.
Regards,
Fridah